Unable to use custom JVM

75 views
Skip to first unread message

Tomáš Růžička

unread,
Dec 9, 2019, 3:02:06 AM12/9/19
to OOO Libs
Hi,
I'm running getdown for some time without problems. Now I tried to implement custom JVM (JRE from AdoptOpenJDK) feature but I'm unable to make it works. When I configured it for the first time getdown downloaded .zip file for that architecture but nothing happend then. He was still using system java and not the downloaded one. He didn't even unzipped it. I renamed .zip to .jar but it was the same. After some configuration and testing situation changed. Now I'm even unable to succesfully download that .zip or .jar file. Getdown fails with: "We were unable to download the necessary files after five attempts. You can try running the application again, but if it fails you may need to uninstall and reinstall". So now maybe antivirus / Windows protection is blocking it.

launcher.log:
2019/12/09 08:47:48:688 INFO Downloading resource [url=http://192.168.10.4/desktop/vyvojgetdown/commonFiles/jvm/OpenJDK11U-jre_x64_windows_hotspot_11.0.5_10.zip, size=41538547]
2019/12/09 08:47:49:690 WARNING Pants! We couldn't get the job done.
2019/12/09 08:47:49:690 WARNING getdown() failed.
java.io.IOException: m.unable_to_repair
at com.threerings.getdown.launcher.Getdown.getdown(Unknown Source)
at com.threerings.getdown.launcher.Getdown.run(Unknown Source)
at com.threerings.getdown.launcher.a.run(Unknown Source)
2019/12/09 08:47:49:690 INFO Releasing lock

In the folder I can ses only this: "OpenJDK11U-jre_x64_windows_hotspot_11.0.5_10.zip_new". Interesting is that during download the file has correct size then 0 and this repeats five times. During first attempts getdown was able to download that file. Now it fails.

getdown.txt config for custom JVM:
java_local_dir = jre
resource= [windows-amd64] ../commonFiles/jvm/OpenJDK11U-jre_x64_windows_hotspot_11.0.5_10.zip

Is there any other confing to be made for getdown to unzip that file?

Thank you

Tomáš Růžička

unread,
Dec 12, 2019, 6:06:22 AM12/12/19
to OOO Libs
I have also tested custom JVM from getdown wiki page: https://download.threerings.net/yoclient/java_windows.jar but it is still using system Java:
2019/12/12 12:01:14:573 INFO Running c:\Program Files\AdoptOpenJDK\jdk-12.0.1.12-hotspot\bin\javaw.exe
 
-classpath .......

Jar is downloaded and jarv is also created. But it is not unpacked. I don't even see failed attempt or something:
2019/12/12 12:01:13:143 INFO Downloading resource [url=http://192.168.10.4/desktop/vyvojgetdown/hash/java_windows.jar, size=27943686]
2019/12/12 12:01:13:893 INFO Verifying application: http://192.168.10.4/desktop/vyvojgetdown/hash/
.....
2019/12/12 12:01:14:557 INFO Installing 1 downloaded resources:
2019/12/12 12:01:14:573 INFO - hash\java_windows.jar_new
2019/12/12 12:01:14:573 INFO Install completed.



Any advice?
Thank you
Reply all
Reply to author
Forward
0 new messages