Posts: 3
Threads: 1
Joined: Jul 2022
25.07.2022, 15:33
(This post was last modified: 25.07.2022, 15:42 by DJ15.)
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. ?
No Problems to run version 2.30 Sept 2021.
regards DJ15
25-07-2022_16-28-23.pdf (Size: 6.1 KB / Downloads: 149)
Posts: 7,512
Threads: 226
Joined: Aug 2007
(25.07.2022, 15:33)DJ15 Wrote: What is wrong?
What means Version 18.2. ?
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.
--
Christian
Posts: 3
Threads: 1
Joined: Jul 2022
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!
Posts: 7,512
Threads: 226
Joined: Aug 2007
29.07.2022, 11:24
(This post was last modified: 29.07.2022, 11:26 by routeconverter.)
(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:
(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.
--
Christian
Posts: 3
Threads: 1
Joined: Jul 2022
Hello Christian!
I changed nothing and the Version 2.32 SNAPSHOT 343 from 29. Juli 2022 works well.
Thank you so much!
Posts: 7,512
Threads: 226
Joined: Aug 2007
Thank you for the fast reply!
--
Christian