Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer fails on Windows (x64) #491

Closed
neph1 opened this issue Apr 6, 2023 · 6 comments · Fixed by #492
Closed

Installer fails on Windows (x64) #491

neph1 opened this issue Apr 6, 2023 · 6 comments · Fixed by #492

Comments

@neph1
Copy link
Contributor

neph1 commented Apr 6, 2023

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 😦

(Reproduced. No logs)

@neph1 neph1 added the installer label Apr 6, 2023
@tsatatwer
Copy link

tsatatwer commented Apr 6, 2023

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

@tonihele
Copy link
Contributor

tonihele commented Apr 6, 2023

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

@tsatatwer
Copy link

tsatatwer commented Apr 6, 2023

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
Copy link
Member

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

@tonihele tonihele linked a pull request Apr 9, 2023 that will close this issue
@tonihele
Copy link
Contributor

tonihele commented Apr 9, 2023

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants