I get the following error in the log…
[2012-08-01 16:32:23.093]: executing command: C:Program FilesJavajre6binunpack200.exe C:Program Filesjmonkeyplatformjmonkeyplatformmoduleslocaleorg-netbeans-modules-autoupdate-services_jmonkeyplatform.jar.pack.gz C:Program Filesjmonkeyplatformjmonkeyplatformmoduleslocaleorg-netbeans-modules-autoupdate-services_jmonkeyplatform.jar, in directory: .
[2012-08-01 16:32:23.109]: org.netbeans.installer.utils.exceptions.InstallationException: Cannot extract installation data for jMonkeyEngine SDK
[2012-08-01 16:32:23.109]: at org.netbeans.installer.product.components.Product.install(Product.java:305)
[2012-08-01 16:32:23.109]: at org.netbeans.installer.wizard.components.actions.InstallAction.execute(InstallAction.java:155)
[2012-08-01 16:32:23.109]: at org.netbeans.installer.wizard.components.WizardAction$1.run(WizardAction.java:123)
[2012-08-01 16:32:23.109]: Caused by: java.io.IOException: Cannot run program “C:Program FilesJavajre6binunpack200.exe” (in directory “.”): CreateProcess error=5, Access is denied
[2012-08-01 16:32:23.109]: at java.lang.ProcessBuilder.start(Unknown Source)
[2012-08-01 16:32:23.109]: at org.netbeans.installer.utils.SystemUtils.executeCommand(SystemUtils.java:232)
[2012-08-01 16:32:23.109]: at org.netbeans.installer.utils.SystemUtils.executeCommand(SystemUtils.java:206)
[2012-08-01 16:32:23.109]: at org.netbeans.installer.utils.FileUtils.unpack(FileUtils.java:1218)
[2012-08-01 16:32:23.109]: at org.netbeans.installer.utils.FileUtils.extractByList(FileUtils.java:1776)
[2012-08-01 16:32:23.109]: at org.netbeans.installer.utils.FileUtils.extractAll(FileUtils.java:1696)
[2012-08-01 16:32:23.109]: at org.netbeans.installer.utils.FileUtils.unjar(FileUtils.java:1063)
[2012-08-01 16:32:23.109]: at org.netbeans.installer.product.components.Product.install(Product.java:295)
[2012-08-01 16:32:23.109]: … 2 more
[2012-08-01 16:32:23.109]: Caused by: java.io.IOException: CreateProcess error=5, Access is denied
[2012-08-01 16:32:23.109]: at java.lang.ProcessImpl.create(Native Method)
[2012-08-01 16:32:23.109]: at java.lang.ProcessImpl.(Unknown Source)
[2012-08-01 16:32:23.109]: at java.lang.ProcessImpl.start(Unknown Source)
[2012-08-01 16:32:23.109]: … 10 more
[2012-08-01 16:32:23.109]: Start rollback of jMonkeyEngine SDK(jmonkeyplatform/0.8.0.0.0)
[2012-08-01 16:32:23.109]: … deleting installed files
[2012-08-01 16:32:23.109]: … finished rollbacking of jMonkeyEngine SDK(jmonkeyplatform/0.8.0.0.0)
[2012-08-01 16:32:23.109]: org.netbeans.installer.utils.exceptions.InstallationException: Cannot extract installation data for jMonkeyEngine SDK
[2012-08-01 16:32:23.109]: at org.netbeans.installer.product.components.Product.install(Product.java:305)
[2012-08-01 16:32:23.109]: at org.netbeans.installer.wizard.components.actions.InstallAction.execute(InstallAction.java:155)
[2012-08-01 16:32:23.109]: at org.netbeans.installer.wizard.components.WizardAction$1.run(WizardAction.java:123)
[2012-08-01 16:32:23.109]: Caused by: java.io.IOException: Cannot run program “C:Program FilesJavajre6binunpack200.exe” (in directory “.”): CreateProcess error=5, Access is denied
[2012-08-01 16:32:23.109]: at java.lang.ProcessBuilder.start(Unknown Source)
[2012-08-01 16:32:23.109]: at org.netbeans.installer.utils.SystemUtils.executeCommand(SystemUtils.java:232)
[2012-08-01 16:32:23.109]: at org.netbeans.installer.utils.SystemUtils.executeCommand(SystemUtils.java:206)
[2012-08-01 16:32:23.109]: at org.netbeans.installer.utils.FileUtils.unpack(FileUtils.java:1218)
[2012-08-01 16:32:23.109]: at org.netbeans.installer.utils.FileUtils.extractByList(FileUtils.java:1776)
[2012-08-01 16:32:23.109]: at org.netbeans.installer.utils.FileUtils.extractAll(FileUtils.java:1696)
[2012-08-01 16:32:23.109]: at org.netbeans.installer.utils.FileUtils.unjar(FileUtils.java:1063)
[2012-08-01 16:32:23.109]: at org.netbeans.installer.product.components.Product.install(Product.java:295)
[2012-08-01 16:32:23.109]: … 2 more
[2012-08-01 16:32:23.109]: Caused by: java.io.IOException: CreateProcess error=5, Access is denied
[2012-08-01 16:32:23.109]: at java.lang.ProcessImpl.create(Native Method)
[2012-08-01 16:32:23.109]: at java.lang.ProcessImpl.(Unknown Source)
[2012-08-01 16:32:23.109]: at java.lang.ProcessImpl.start(Unknown Source)
[2012-08-01 16:32:23.109]: … 10 more
[2012-08-01 16:32:23.109]: … finished products installation
[2012-08-01 16:33:12.140]: entering – org.netbeans.installer.wizard.components.actions.FinalizeRegistryAction.execute():66
[2012-08-01 16:33:12.140]: finalizing product registry
[2012-08-01 16:33:12.140]: … removing remaining installation data for all the products
[2012-08-01 16:33:12.140]: deleting file: C:Documents and Settingspaul.jmonkeyplatform-installertmpdata,1.jar
[2012-08-01 16:33:12.156]: … save local registry if necessary
[2012-08-01 16:33:12.156]: … save registry to file C:Documents and Settingspaul.jmonkeyplatform-installerregistry.xml
[2012-08-01 16:33:12.156]: entering – org.netbeans.installer.product.Registry.finalizeRegistry():349
[2012-08-01 16:33:12.156]: saving product registry file
[2012-08-01 16:33:12.156]: … getting registry document
[2012-08-01 16:33:12.171]: … saving registry document to file C:Documents and Settingspaul.jmonkeyplatform-installerregistry.xml
[2012-08-01 16:33:12.171]: entering – org.netbeans.installer.product.Registry.saveProductRegistry():1013
[2012-08-01 16:33:12.171]: saving document to xml file : C:Documents and Settingspaul.jmonkeyplatform-installerregistry.xml
[2012-08-01 16:33:12.265]: … document saved
[2012-08-01 16:33:12.265]: exiting – org.netbeans.installer.product.Registry.saveProductRegistry():1013
[2012-08-01 16:33:12.265]: … saving XML file succesfully finished
[2012-08-01 16:33:12.265]: … saving product registry done
[2012-08-01 16:33:12.265]: exiting – org.netbeans.installer.product.Registry.finalizeRegistry():349
[2012-08-01 16:33:12.265]: … save state file if necessary
[2012-08-01 16:33:12.265]: finalizing product registry
[2012-08-01 16:33:12.265]: exiting – org.netbeans.installer.wizard.components.actions.FinalizeRegistryAction.execute():66
Looks like you have some sort of permissions problem. Have you tried running the installer as administrator?
Yeah it looks like your JDK is installed with admin rights and the SDK with user rights.
Thank you for the quick responses.
I’m running Win XP, so doubt it is a permissions issues.
Regardless, I ran the installer exe as Administrator and got the same error.
I also logged in as Administrator, run the installer and got the same error.
I’m developing and running a range of java apps, so don’t believe it’s a Java installation issue.
So you sure this is a JDK? It seems to run the unpack200 from the jre…
Thanks for your response Normen.
Not sure I understand the question. I am simply running the JMonkeyEngine installer and letting it do it’s thing.
I have JDK 1.6.0_21 and JDK 1.6.0_25 installed, along with JRE 1.6.0_25-b06.
Is there enough free disk space on the drive the installer tries to extract (temp dir)?
@paulkinnane said:
Thanks for your response Normen.
Not sure I understand the question. I am simply running the JMonkeyEngine installer and letting it do it's thing.
I have JDK 1.6.0_21 and JDK 1.6.0_25 installed, along with JRE 1.6.0_25-b06.
Yes but which one is first in the path? Make sure it is a JDK and not the JRE that is being used.
http://docs.oracle.com/javase/tutorial/essential/environment/paths.html
20 Gigs free space - I assume that is enough.
I followed the Oracle link and set the path. I get the same error.
Going in to DOS and typing “path” gives me…
C:>path
PATH=C:Program FilesNVIDIA CorporationPhysXCommon;C:Program FilesPython25
;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32wbem;C:Program FilesSamsun
gSamsung PC Studio 3;C:Program FilesQuickTimeQTSystem;C:Program FilesIVI F
oundationVISAWinNTBin;C:Program FilesIVI FoundationVISAWinNTBin;C:Prog
ram FilesGooglegoogle_appengine; C:Program FilesJavajdk1.6.0_25
Also, my CLASSPATH variable is “.;C:Program FilesJavajre6libextQTJava.zip”
QTJAVA = C:Program FilesJavajre6libextQTJava.zip
The log file has the following info.
dumping target system information
[2012-08-02 20:58:49.687]: system properties:
[2012-08-02 20:58:49.687]: awt.toolkit => sun.awt.windows.WToolkit
[2012-08-02 20:58:49.687]: file.encoding => Cp1252
[2012-08-02 20:58:49.687]: file.encoding.pkg => sun.io
[2012-08-02 20:58:49.687]: file.separator =>
[2012-08-02 20:58:49.687]: java.awt.graphicsenv => sun.awt.Win32GraphicsEnvironment
[2012-08-02 20:58:49.687]: java.awt.printerjob => sun.awt.windows.WPrinterJob
[2012-08-02 20:58:49.687]: java.class.path => C:DOCUME~1paulLOCALS~1Temp\NBI86407.tmpbundle.jar
[2012-08-02 20:58:49.687]: java.class.version => 50.0
[2012-08-02 20:58:49.687]: java.endorsed.dirs => C:Program FilesJavajre6libendorsed
[2012-08-02 20:58:49.687]: java.ext.dirs => C:Program FilesJavajre6libext;C:WINDOWSSunJavalibext
[2012-08-02 20:58:49.687]: java.home => C:Program FilesJavajre6
[2012-08-02 20:58:49.687]: java.io.tmpdir => C:DOCUME~1paulLOCALS~1Temp
[2012-08-02 20:58:49.687]: java.library.path => C:Program FilesJavajre6bin;.;C:WINDOWSSunJavabin;C:WINDOWSsystem32;C:WINDOWS;C:Program FilesNVIDIA CorporationPhysXCommon;C:Program FilesPython25;C:WINDOWSsystem32;C:WINDOWS;C:WINDOWSsystem32wbem;C:Program FilesSamsungSamsung PC Studio 3;C:Program FilesQuickTimeQTSystem;C:Program FilesIVI FoundationVISAWinNTBin;C:Program FilesIVI FoundationVISAWinNTBin;C:Program FilesGooglegoogle_appengine; C:Program FilesJavajdk1.6.0_25
[2012-08-02 20:58:49.687]: java.runtime.name => Java™ SE Runtime Environment
[2012-08-02 20:58:49.687]: java.runtime.version => 1.6.0_25-b06
[2012-08-02 20:58:49.687]: java.specification.name => Java Platform API Specification
[2012-08-02 20:58:49.687]: java.specification.vendor => Sun Microsystems Inc.
[2012-08-02 20:58:49.687]: java.specification.version => 1.6
[2012-08-02 20:58:49.687]: java.vendor => Sun Microsystems Inc.
[2012-08-02 20:58:49.687]: java.vendor.url => http://java.sun.com/
[2012-08-02 20:58:49.687]: java.vendor.url.bug => http://java.sun.com/cgi-bin/bugreport.cgi
[2012-08-02 20:58:49.687]: java.version => 1.6.0_25
Just wondering if anyone has any ideas how to fix this? I would absolutely love to try out JMonkeyEngine, but being able to uninstall it is a bit of a shop-stopper.
Change your path variable to have the JDK (C:Program FilesJavajdk1.6.0_25) first. I don’t use windows but I think that the JRE installs a java.exe-wrapper in the windows directory and that confuses the issue. Look at your java.library.path, it definitely lists your JRE first, another indicator that this might be the case.
Installing the latest JDK (1.7.0_05) has resolved the installation error. Thank you all for your assistance and patience.
Time to bundle the JDK… People mess this part up too often.
Mmmmm, I’m not sure I messed anything up! https://wiki.jmonkeyengine.org/legacy/doku.php makes no mention of any of the JRE/JDK path requirements.
Yes your install was messed up somehow else the installer would have found the JDK in the first place. The JDK sets the path correctly on install (if it can) and the manual does mention that a JDK is needed, still some people even ignore that. No need to take anything personal.