Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java 10 does not support compiling to Java 5 #90

Closed
PaulXiCao opened this issue Aug 28, 2018 · 3 comments
Closed

Java 10 does not support compiling to Java 5 #90

PaulXiCao opened this issue Aug 28, 2018 · 3 comments

Comments

@PaulXiCao
Copy link

While compiling with maven

$ mvn compile

I get the following error

[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] error: Source option 5 is no longer supported. Use 6 or later.
[ERROR] error: Target option 1.5 is no longer supported. Use 1.6 or later.

I found a similar discussion here: spring-attic/gs-maven#21
But I dont know how to fix it though..

@PaulXiCao
Copy link
Author

I solved the problem by downgrading from jdk10 to jdk8...

@mangstadt mangstadt changed the title Maven compile error Java 10 does not support targetting Java 5 Aug 29, 2018
@mangstadt
Copy link
Owner

mangstadt commented Aug 29, 2018

Oh dear. I didn't know support for Java 5 was being cut off! I may have to upgrade ez-vcard to Java 6. I've edited the title of this issue and reopened it.

Can you tell me what JDK you have?

@mangstadt mangstadt reopened this Aug 29, 2018
@mangstadt mangstadt changed the title Java 10 does not support targetting Java 5 Java 10 does not support compiling to Java 5 Aug 29, 2018
@mangstadt
Copy link
Owner

Target Java version increased to 6.

4c4893c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants