kenyapcomau, thanks!
Java - what a mess! I don’t use it as a developer, but it “rides along” with other environments.
When I run java -version from a prompt in an empty folder (using the system path), I get:
c:\temp>java -version
java version "1.8.0_181"
Java(TM) SE Runtime Environment (build 1.8.0_181-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.181-b13, mixed mode)
Searching for java*.exe, I find executables in Arduino, TI CCS, Oracle, jre7, Microchip, jre1.8, javapath, and Windows\Syswow64.
I need to update, so off I go…
Java.com downloads wants to install a browser plugin, with the caveat “We have detected you are using the 64-bit version of Firefox which will not run the Java plugin from this browser.”
Follow a little link at the bottom to " Java Downloads for All Operating Systems"
Here I find a link for jre-8u251-windows-x64.exe, but still has the caveat about browsers.
Over on the left, there is a small link " Looking for the JDK?" and embedded in that page another link to JDK downloads.
At the top of that page is " Java SE 14 Java SE 14.0.1 is the latest release for the Java SE Platform"
Below that I find " Java SE 11 (LTS) Java SE 11.0.7 is the latest release for the Java SE 11 Platform". Getting warmer? There I can download jdk-11.0.7_windows-x64_bin.exe, after legal agreements and signing into an Oracle account.
But your version says “openjdk”. Searching on that, I find https://openjdk.java.net/
The link for Windows binary takes me back to the Oracle page a above. The GPL release takes me to JDK 14.0.1 General-Availability Release.
Hmm, is there a LTS vs beta distinction for the GPL version too? Unclear.
Over on the left there is a link to Java Platform, Standard Edition 11 Reference Implementations. From there I can download openjdk-11+28_windows-x64_bin.zip.
That is just a ZIP with no installer, so I extract to a folder.
With explicit path, I now get:
c:\Data\DEV>C:\Data\DEV\OpenJDK11\bin\java.exe --version
openjdk 11 2018-09-25
OpenJDK Runtime Environment 18.9 (build 11+28)
OpenJDK 64-Bit Server VM 18.9 (build 11+28, mixed mode)
Hmm - that looks different than yours! You have openjdk version “11.0.7” 2020-04-14
Why is my OpenJDK version 11 dated 2018 and yours is dated 2020?
Let’s give it a try anyway. Creating a directory for freerouting-1.4.4-executable.jar, and running that version of Java from there:
Directory of c:\Data\DEV\freeRouting
07/02/2020 07:58 AM <DIR> .
07/02/2020 07:58 AM <DIR> ..
07/01/2020 01:02 PM 4,212,871 freerouting-1.4.4-executable.jar
1 File(s) 4,212,871 bytes
2 Dir(s) 292,603,842,560 bytes free
c:\Data\DEV\freeRouting>C:\Data\DEV\OpenJDK11\bin\java.exe -jar freerouting-1.4.4-executable.jar
2020-07-02 07:59:10.397 [main] INFO eu.mihosoft.freerouting.FreeRouting - Freerouting application is started.
2020-07-02 07:59:34.942 [AWT-EventQueue-0] INFO eu.mihosoft.freerouting.FreeRouting - Opening 'Green14SegLED.dsn'...
2020-07-02 07:59:35.542 [AWT-EventQueue-0] INFO eu.mihosoft.freerouting.FreeRouting - Opening 'Green14SegLED.rules'...
2020-07-02 07:59:35.544 [AWT-EventQueue-0] ERROR eu.mihosoft.freerouting.FreeRouting - File 'Green14SegLED.rules' was not found.
Exact same result - empty window with blue rectangle.
I also tried starting from in the JDK bin directory (in case there were path dependencies) with explicit path to freerouting jar, but it still made no difference:
c:\Data\DEV\OpenJDK11\bin>java -jar c:\data\dev\freeRouting\freerouting-1.4.4-executable.jar