Page 1 of 1

Error in GoWrite Launcher, No usable JVM found

Posted: Mon Feb 13, 2012 11:15 am
by spook
Dear,

Some problems while launching the application:
"Error in GoWrite Launcher, No usable JVM found" appears in a messagebox at startup.

I have a JRE as well as a JDK installed on my system:
  • C:\Java\jdk1.6.0_24
    C:\Java\jre6
I tried
  • Searching the register (regedit) but didn't find a place to declare the javapath for GoWrite
    Also searched in the GoWrite folder for configuration files, but didn't find any
    Finally I tried adding the java jdk bin folder to the PATH system environment constant, but made no difference
Anything else I can try? or am I simply using an unsupported Java version?

I noticed the same problem was mentioned in a previous thread, however I do not get the error message of the missing DLL file.


Using Windows7, 64bit system, Downloaded GoWrite2 just last friday.

Re: Error in GoWrite Launcher, No usable JVM found

Posted: Mon Feb 13, 2012 11:59 am
by lpaatero
Hi,

In 64 bit Windows GOWrite requires 64 bit Java. So please install 64-bit Java JRE.

- Lauri

Re: Error in GoWrite Launcher, No usable JVM found

Posted: Wed Feb 22, 2012 2:27 pm
by spook
Thanks,

I first looked up if 64bit and 32bit java can be installed on the same computer. Seems to be no problem.
Downloaded and installed it, works fine. :-)

Thanks !

Re: Error in GoWrite Launcher, No usable JVM found

Posted: Sat Sep 01, 2018 1:57 pm
by rayw
I have come to really hate Java. Always have problems with it and never easy to resolve, just a time wasting kludge IMHO. I have a 64 bit Windows 10 machine and have boith 32bit and 64 bit latest JAVA REs installed and it confirms they are there and running okay as you can see below from this screen shot I captured. Hmm cannot paste it in here ??? Never mind but both 32 and 64 bit JRE are running

I have installed - uninstalled - reinstalled GoWrite2 latest version 3.x.x and the previous version 2.x.x but always I get the same error meeaage when I try to run it. " Error in GoWrite launcher. No usable JVM found"

I see lots of people complaining about this bloodyu frustrating error, so can you not use something other than bloodyh Java for future editions. Cannot do anymore as have even reinstalled both 32 and 64 bit latest JREs as well and still get this same error. It is so incredibly annoying I am sure you will appreicate. Just wasted nearly 2 hours as I simply wanted to just run up GoWrite2 to re-examine a Go Game SGF file I have saved. So a big GRRRRRR

Do I give up or have you an easy non time consumming answer ??

Cheers
RayW

Re: Error in GoWrite Launcher, No usable JVM found

Posted: Sat Sep 01, 2018 2:20 pm
by lpaatero
Java 8 is the LTS (long-term support) version of java. It should work with all recent gowrite versions.

Java 9 and Java 10 changed the way they are identified. Only 3.0.17 version work with Java 9 or Java 10.
If there are issues with 3.0.17 and java 9 or 10, please try to report specific versions not working with other. Without specific versions I cannot help in solving the issues.

regards
Lauri

Re: Error in GoWrite Launcher, No usable JVM found

Posted: Sat Sep 01, 2018 6:15 pm
by rayw
Thank you so much Ipaatero. I uninstalled GoWrite2 V2.x.x and downloaded and installed V3.0.17 as you suggested/ Bingo it now works straight away. I had used 3.0.14 before which as youj said would not have worked with Jave 10 64 bit. My Java 8 is of course only 32 bit version.

Anyway many thanks indeed. Great speedy help and now I can enjoy using this very useful program.

Cheers
RayW

Re: Error in GoWrite Launcher, No usable JVM found

Posted: Thu Sep 02, 2021 8:51 pm
by efeustel
I have installed the latest Oracle Java JDK 16 and altered the path for system.
I get the above error message when trying to invoke GoWrite2 3.0.19
I then tried using OpenJDK 11. After fixing the PATH, I still get the error.
I don't know what I am doing incorrectly!

Ed

Re: Error in GoWrite Launcher, No usable JVM found

Posted: Mon Sep 06, 2021 8:45 am
by lpaatero
Hi,

I assume you installed 64-bit Java?
Other than that, I have no idea what the problem could be.
GOWrite uses registry settings to find the Java, so setting PATH is not needed for GOWrite.

Can you try in installation directory (using command line)
java -jar GOWrite.jar
It is not good way to use GOWrite, but it should validate that Java is ok.

/Lauri

Re: Error in GoWrite Launcher, No usable JVM found

Posted: Sun Sep 26, 2021 10:10 pm
by psygo
I'm also getting this error on a new Windows machine (in a previous machine from less than a month ago it was working fine). I've tried installing Java 8, 11 and 17, both solo and together, all the same (I've also tried to install Java 11 from the link in the Go Write website).

This is the error log I'm getting when running

Code: Select all

java -jar 'C:\Program Files\GOWrite2\GOWrite.jar'
:

Code: Select all

Exception in thread "main" java.lang.NoClassDefFoundError: net/gowrite/sgf/SGFUtil
        at GOWrite2.main(GOWrite2.java:326)
Caused by: java.lang.ClassNotFoundException: net.gowrite.sgf.SGFUtil
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
        ... 1 more

Re: Error in GoWrite Launcher, No usable JVM found

Posted: Mon Sep 27, 2021 10:10 am
by lpaatero
It seems openjdk has changed their stuff.
In order to get needed JRE, one should go to page https://adoptopenjdk.net/releases.html and select windows / X64.
Then download MSI package for JRE.
It seems during install one must select "Install Oracle compatible registry keys" (or something like this) in order to get needed registry keys.

If

Code: Select all

java -jar 'C:\Program Files\GOWrite2\GOWrite.jar'
does not work, there is likely some other problem.
If so, please post full output of GOWrite.

/Lauri

Re: Error in GoWrite Launcher, No usable JVM found

Posted: Mon Sep 27, 2021 4:29 pm
by psygo
Thank you again, @lpaatero. After enabling the registry keys during install (they were marked with red crosses), GoWrite2 seems to works as usual, albeit only with:

Code: Select all

java -jar 'C:\Program Files\GOWrite2\GOWrite.jar'

Re: Error in GoWrite Launcher, No usable JVM found

Posted: Mon Sep 27, 2021 6:40 pm
by lpaatero
After JRE install and setting the registry keys gowrite should already work ok. It seems these JRE/JDK issues are getting only worse.

I will be looking at combining Java into gowrite install. This should remove the whole mess.

/Lauri

Re: Error in GoWrite Launcher, No usable JVM found

Posted: Tue Sep 28, 2021 9:16 am
by lpaatero
There is now a test version of Windows GOWrite with java embedded (https://gowrite.net/download/gowrite2_3_0_23.exe).
This installation does not require any java version installed. Internally this uses latest java (version 17).

Let me know if this works!
I have made only very limited testing.

Update: New installation package to add support for game database.

/Lauri

Re: Error in GoWrite Launcher, No usable JVM found

Posted: Fri Apr 28, 2023 1:57 pm
by Alonee021
I have solved my issue by installing the correct version of <removed>.


Moderator edit: removed link to unrelated pages.