Is Java 8 support dropped because of JGraphT?

339 views
Skip to first unread message

juha.t...@gmail.com

unread,
Aug 14, 2020, 11:10:40 AM8/14/20
to choco-solver
Choco 4.10.3 includes JGraphT 1.5.0.
"JGraphT requires JDK 11 or later to build starting with version 1.5.0." says JGraphT page.

I tried using choco-solver-4.10.3-jar-with-dependencies.jar. I got an error:
java.lang.UnsupportedClassVersionError: org/jgrapht/Graph has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0 (unable to load class [org.jgrapht.Graph])

Java 8 uses major version 52
Java 11 uses major version 55

So, is Java 8 support now ending? I am using a 32 bit JAVA runtime to run IBEX under windows. A fast check seems that the latest 32-bit runtimes are for Java 8. And there is no 64-bit IBEX for Windows, if I understand correctly.

Best,
Juha Tiihonen

cpru...@gmail.com

unread,
Aug 17, 2020, 6:57:47 AM8/17/20
to choco-solver
dear Juha, 

I thought my release script was OK, but it appears to contain error, mixing Java 8 and Java 11.
I will try to fix it in that in the near future.

Best, 
Charles

cpru...@gmail.com

unread,
Aug 17, 2020, 9:29:21 AM8/17/20
to choco-solver
I based my work on this instructions:
I will double-check it does what I expected.

cpru...@gmail.com

unread,
Aug 17, 2020, 9:47:05 AM8/17/20
to choco-solver
Can you confirm that you are using a Regular constraint?

juha.t...@gmail.com

unread,
Aug 17, 2020, 5:03:20 PM8/17/20
to choco-solver
Hi Charles!

Thank you for your efforts!
No, I am not using the regular constraint (regular, costRegular or multiCostRegular)

Best regards,
Juha
Reply all
Reply to author
Forward
0 new messages