Java 10 does not support compiling to Java 5
Closed this issue · 3 comments
PaulXiCao commented
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 commented
I solved the problem by downgrading from jdk10 to jdk8...
mangstadt commented
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?