jMonkeyEngine / sdk

The jMonkeyEngine3 Software Development Kit based on Netbeans
BSD 3-Clause "New" or "Revised" License
314 stars 101 forks source link

Installer fails on Windows (x64) #491

Closed neph1 closed 1 year ago

neph1 commented 1 year ago

https://hub.jmonkeyengine.org/t/error-installing-jmonkeysdk/46659/9

I’m trying to install the new version of the SDK Release 3.6 [pre] sdk and I get the following error:

Cannot prepare bundled JVM to run the installer

my device: 11th Gen Intel(R) Core™ i5-1135G7 @ 2.40GHz 2.42 GHz 64bit processor windows 11 :frowning:

(Reproduced. No logs)

tsatatwer commented 1 year ago

I have the same exact problem windows 10 64bit and jdk 17 64bit

tonihele commented 1 year ago

I created a bug ticket for Netbeans itself https://github.com/apache/netbeans/issues/5783. The installer is here: https://github.com/apache/netbeans-native-installers. If it helps to decipher what is going on.

tsatatwer commented 1 year ago

There is workaround (BUT missing JME libraries) on windows 10: open windows powershell or CMD change directory where the installer jmonkeyplatform-windows-x64.exe jmonkeyplatform-windows-x64.exe --extract java -jar bundle.jar It will install BUT missing JME libraries

MeFisto94 commented 1 year ago

Another workaround would be to use the platform independent zip and run it's jar like that (java -jar jMonkeyPlatform.jar or something)

tonihele commented 1 year ago

We now insert a fake unpack200.exe to the bundled Windows JDKs. This is to satisfy Netbeans Installer (NBI) check for a valid JDK. Also all pack200 should now be disabled from the project.

MeFisto94 commented 1 year ago

Sorry, thought we have a jar, but still:

wget https://github.com/jMonkeyEngine/sdk/releases/download/v3.6-stable-sdk3/jmonkeyplatform.zip
unzip jmonkeyplatform
./jmonkeyplatform/bin/jmonkeyplatform (or the .exe variants)

can always be used as a workaround.