It looks like jME3 may be trying to extract the native libraries to silly directories (specifically the read-only Program Files directory) when deploying using WebStart under Webstart/Firefox on Windows 7.
Shouldn’t the last choice should be the java temp.dir, which is pretty much guaranteed to be writeable?
Report from user follows. Same user has no problem under Chrome/7.
Java Web Start 1.6.0_24
Using JRE version 1.6.0_24-b07 Java HotSpot(TM) Client VM
User home directory = C:\Users\Nick_2
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to
Loaded resource ICON_256x256 -> BufferedImage@1afae45: type = 6 ColorModel: #pixelBits = 32 numComponents = 4 color space = java.awt.color.ICC_ColorSpace@da4b71 transparency = 3 has alpha = true isAlphaPre = false ByteInterleavedRaster: width = 256 height = 256 #numDataElements 4 dataOff[0] = 3
Loaded resource ICON_128x128 -> BufferedImage@55e55f: type = 6 ColorModel: #pixelBits = 32 numComponents = 4 color space = java.awt.color.ICC_ColorSpace@da4b71 transparency = 3 has alpha = true isAlphaPre = false ByteInterleavedRaster: width = 128 height = 128 #numDataElements 4 dataOff[0] = 3
Loaded resource ICON_32x32 -> BufferedImage@2c1e6b: type = 6 ColorModel: #pixelBits = 32 numComponents = 4 color space = java.awt.color.ICC_ColorSpace@da4b71 transparency = 3 has alpha = true isAlphaPre = false ByteInterleavedRaster: width = 32 height = 32 #numDataElements 4 dataOff[0] = 3
Loaded resource ICON_16x16 -> BufferedImage@3bc257: type = 6 ColorModel: #pixelBits = 32 numComponents = 4 color space = java.awt.color.ICC_ColorSpace@da4b71 transparency = 3 has alpha = true isAlphaPre = false ByteInterleavedRaster: width = 16 height = 16 #numDataElements 4 dataOff[0] = 3
Feb 27, 2011 4:18:33 PM com.jme3.system.JmeSystem initialize
INFO: Running on jMonkey Engine 3 Alpha 0.6
Feb 27, 2011 4:18:33 PM com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory #1: http://www.davidc.net/sites/default/wiseup/
Feb 27, 2011 4:18:33 PM com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory #2: C:\Program Files\Mozilla Firefox
Feb 27, 2011 4:18:33 PM com.jme3.system.Natives extractNativeLibs
INFO: Extraction Directory #3: C:\Program Files\Mozilla Firefox
Feb 27, 2011 4:18:33 PM com.jme3.system.JmeSystem initialize
SEVERE: Error while copying native libraries
java.io.FileNotFoundException: C:\Program Files\Mozilla Firefox\lwjgl.dll (Access is denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(Unknown Source)
at java.io.FileOutputStream.(Unknown Source)
at com.jme3.system.Natives.extractNativeLib(Natives.java:74)
at com.jme3.system.Natives.extractNativeLibs(Natives.java:175)
at com.jme3.system.JmeSystem.initialize(JmeSystem.java:385)
at com.jme3.system.JmeSystem.newContext(JmeSystem.java:301)
at com.jme3.app.Application.start(Application.java:321)
at com.jme3.app.Application.start(Application.java:304)
at com.jme3.app.SimpleApplication.start(SimpleApplication.java:126)
at net.davidc.egp.wiseup.WiseUpMain.main(WiseUpMain.java:470)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.sun.javaws.Launcher.executeApplication(Unknown Source)
at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
at com.sun.javaws.Launcher.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Exception in thread "LWJGL Renderer Thread" java.lang.UnsatisfiedLinkError: Can't load library: C:\Program Files\Mozilla Firefox\lwjgl.dll
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at org.lwjgl.Sys$1.run(Sys.java:69)
at java.security.AccessController.doPrivileged(Native Method)
at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
at org.lwjgl.Sys.loadLibrary(Sys.java:81)
at org.lwjgl.Sys.(Sys.java:98)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:192)
at java.lang.Thread.run(Unknown Source)
-davidc