LWJGL Mac-OS Webstart Applications : Broken

Started by 667eoh, November 10, 2006, 14:59:37

Previous topic - Next topic

667eoh

Every single lwjgl webstart application I've tried to run crashes instantly, with a failure message like this :


java.lang.UnsatisfiedLinkError: /Users/rb/Library/Caches/Java/cache/javaws/http/Dwww.gagaplay.com/P80/DMcosmictrip/RNlwjgl_mac.jar/liblwjgl.jnilib: 
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1660)
	at java.lang.Runtime.loadLibrary0(Runtime.java:822)
	at java.lang.System.loadLibrary(System.java:992)
	at org.lwjgl.Sys.<clinit>(Sys.java:69)
	at net.movegaga.BaseWindow.start(BaseWindow.java:213)
	at net.movegaga.GameWindow.main(GameWindow.java:341)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.sun.javaws.Launcher.executeApplication(Launcher.java:1154)
	at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1101)
	at com.sun.javaws.Launcher.continueLaunch(Launcher.java:944)
	at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:515)
	at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
	at com.sun.javaws.Launcher.run(Launcher.java:165)
	at java.lang.Thread.run(Thread.java:613)
#### Java Web Start Error:
#### null



or


java.lang.reflect.InvocationTargetException
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:585)
	at com.sun.javaws.Launcher.executeApplication(Launcher.java:1154)
	at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1101)
	at com.sun.javaws.Launcher.continueLaunch(Launcher.java:944)
	at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:515)
	at com.sun.javaws.Launcher.handleLaunchFile(Launcher.java:218)
	at com.sun.javaws.Launcher.run(Launcher.java:165)
	at java.lang.Thread.run(Thread.java:613)
Caused by: java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1682)
	at java.lang.Runtime.loadLibrary0(Runtime.java:822)
	at java.lang.System.loadLibrary(System.java:992)
	at org.lwjgl.Sys$1.run(Sys.java:75)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.lwjgl.Sys.doLoadLibrary(Sys.java:68)
	at org.lwjgl.Sys.loadLibrary(Sys.java:84)
	at org.lwjgl.Sys.<clinit>(Sys.java:101)
	at org.lwjgl.opengl.Display.<clinit>(Display.java:103)
	at org.lwjgl.test.opengl.Gears.init(Gears.java:156)
	at org.lwjgl.test.opengl.Gears.execute(Gears.java:82)
	at org.lwjgl.test.opengl.Gears.main(Gears.java:73)
	... 11 more




This is a more or less vanilla MacBook Pro, Tiger (Apple) 10.4.8, Tiger (Java) 5.0, latest addons and patches.

Does anyone know what to do - as I would like to try some LWJGL games or demos ?

Thanks !
-ralf

elias4444

It could be that the demos don't have the updated LWJGL jars included for the Intel Macs. I develop my games on a MacBook Pro, and my own stuff works just fine. Try:

//www.tommytwisters.com/spaceops/spaceops.jnlp

and see if that one works for you.
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com