Posted by
1marc1 on
Jun 16, 2018; 3:35pm
URL: https://discuss.asciidoctor.org/asciidoctor-fopub-on-Windows-10-tp6381p6394.html
...well I don't know what to do anymore. I downloaded and installed Java JDK, the latest version 10.0.1 (64-bit) from the Oracle website. I installed that, made sure that JAVA_HOME was set to C:\Program Files\java\jdk_10.0.1 (or whatever the exact name was). I made sure that I added the "bin" directory to the path. I could run "java -version" as well as "javac -version", but I am getting the same results as before.
I then thought that perhaps the latest JDK was too new, so I downloaded JDK 8u172 in 32-bit flavour. Installed that, did the whole environment variable thing and I am still getting the same issue as before.
What I did notice is that the example output on the fopub Github site shows this:
$ java -version
java version "1.7.0_25"
OpenJDK Runtime Environment (fedora-2.3.10.3.fc17-x86_64)
OpenJDK 64-Bit Server VM (build 23.7-b01, mixed mode)
...whereas my Windows output is:
C:\> java -version
java version "1.8.0_172"
Java(TM) SE Runtime Environment (build 1.8.0_172-b11)
Java HotSpot(TM) Client VM (build 25.172-b11, mixed mode, sharing)
...having said that, the output on my Linux machine is:
$ java -version
java version "1.8.0_171"
Java(TM) SE Runtime Environment (build 1.8.0_171-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.171-b11, mixed mode)
So it would seem that on Windows I am somehow running a "Client VM" but on Linux I am running a "Server VM", like in the Linux example output from the Github page.
I went back to the Oracle site but couldn't find an option to download a "Server VM".
Any suggestions are welcome.
Thank you.
Marc.