RouteConverter Forum

Full Version: Problems with Java
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I got a Message JAVA 18.2 contains breaking changes. please install Java 8 or 11.
Before that I installed JAVA: jre-8u341-windows-x64.exe

What is wrong?

What means Version 18.2. ? Sad 

No Problems to run version 2.30 Sept 2021.

regards DJ15[attachment=2576]
(25.07.2022, 15:33)DJ15 Wrote: [ -> ]What is wrong?

What means Version 18.2. ? Sad 

You have a Java 18.0.2 installed on your machine and RouteConverter won't run with it since I want to keep it compatible with Java 8.
Hello Christian!
OK, I installed both version, so I thought, but only one is active?.

Do I have to uninstall the sdk 18 ( because sdk overwrites the sre ) or is there any possibility to switch to sre version 8?
cmd java -Version shows my 18.02, that is what you mean. I also got to directories named Java, one in Programs and one in program (x86). they are not filled snychron, sometimes the one is used other times the other.

What about the Java-path? both pathes are listed in Env.-Path variable, shall I delete one of them?

Regards Dietmar!
(28.07.2022, 15:19)DJ15 Wrote: [ -> ]Hello Christian!
OK, I installed both version, so I thought, but only one is active?.

No, since I'm using launch4j to search and launch the Java runtime it's a bit more complicated.
I've configured it like this:
  • Prefer JRE over JDK
  • Prefer 32 bits over 64 bits
  • Minimum version: 8

It's not possible to be compatible with Java 8, and with Java 15 or later, but a lot of users install Java 17 since it's the latest LTS release. Since problems with that setup occur more frequently, I've added another configuration to the latest prerelease:
  • Maximum version: 14

(28.07.2022, 15:19)DJ15 Wrote: [ -> ]Do I have to uninstall the sdk 18 ( because sdk overwrites the sre ) or is there any possibility to switch to sre version 8? 

Please try the latest prelease. It should disregard your JDK 18 and use the JRE 8 on your machine – but I haven't tested that behaviour.
Hello Christian!

I changed nothing and the Version 2.32 SNAPSHOT 343 from 29. Juli 2022 works well.
Thank you so much!
Thank you for the fast reply!