mangstadt / ez-vcard

A vCard parser library for Java
Other
401 stars 92 forks source link

Java 10 does not support compiling to Java 5 #90

Closed PaulXiCao closed 4 years ago

PaulXiCao commented 6 years ago

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: https://github.com/spring-guides/gs-maven/issues/21 But I dont know how to fix it though..

PaulXiCao commented 6 years ago

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

mangstadt commented 6 years ago

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 commented 4 years ago

Target Java version increased to 6.

4c4893ccd41aa02cd2d55a71dd4fe20ffa53132f