LWJGL tutorial ( 2D Shoot 'Em Up)

Started by nicolasbol, February 21, 2008, 05:58:59

Previous topic - Next topic

kappa

Good Job, did you also update the Java Web Start?

elias4444

On my Mac, I still get this:
Exception in thread "javawsApplicationMain" java.lang.UnsatisfiedLinkError: /Users/eli/Library/Caches/Java/cache/javaws/http/Dfabiensanglard.net/P80/DMPrototyp/RNMON_native_mac.jar/liblwjgl.jnilib: 
	at java.lang.ClassLoader$NativeLibrary.load(Native Method)
	at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1822)
	at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1715)
	at java.lang.Runtime.loadLibrary0(Runtime.java:822)
	at java.lang.System.loadLibrary(System.java:993)
	at org.lwjgl.Sys$1.run(Sys.java:67)
	at java.security.AccessController.doPrivileged(Native Method)
	at org.lwjgl.Sys.<clinit>(Sys.java:65)
	at org.lwjgl.util.Timer.<clinit>(Timer.java:50)
	at rtype.Prototyp.<clinit>(Prototyp.java:112)
	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:1187)
	at com.sun.javaws.Launcher.executeMainClass(Launcher.java:1125)
	at com.sun.javaws.Launcher.continueLaunch(Launcher.java:968)
	at com.sun.javaws.Launcher.handleApplicationDesc(Launcher.java:522)
	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)


Looks like something is setup wrong with your Mac natives jar or jnlp file.
=-=-=-=-=-======-=-=-=-=-=-
http://www.tommytwisters.com

nicolasbol

Yes, i've changed:
<property name="org.lwjgl.opengl.Window.undecorated" value="true" />

to
<property name="org.lwjgl.opengl.Window.undecorated" value="false" />

Still don't know why the mac version is crashing:
<resources os="Mac OS X">
	<nativelib href="MON_native_mac.jar" />
 </resources>


I cannot get a mac to test....maybe it's going to be a cheap pretext to treat myself ;) !