One I've found this morning; if you have Java 1.6 installed on Leopard, then NotMac fails silently when it loads up. I got an error in the Console about instantiating a JVM.
To fix it, open Java Preferences in Utilities/Java, and ensure that you have J2SE 5.0 as the default version for Java Applications. It seems to fix the issue.
Cheers
Simon
22/10/08 11:21:30 AM [0x0-0x4f04f].NotMac[845] -[NSJavaVirtualMachine initWithClassPath:] cannot instantiate a Java virtual machine
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: Don't know how to load JNI library: AuthKit
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at glguerin.util.LibLoader.load(LibLoader.java:204)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at glguerin.util.LibLoader.loadLibrary(LibLoader.java:177)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at glguerin.authkit.imp.macosx.MacOSXAuthorization.<clinit>(MacOSXAuthorization.java:168)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at java.lang.Class.forName0(Native Method)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at java.lang.Class.forName(Class.java:169)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at com.notmacchallenge.NMCommon.OSXPermissionsGrant(NMCommon.java:128)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at com.notmacchallenge.NMCommon.testAdmin(NMCommon.java:116)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at com.notmacchallenge.ClientSetup.<init>(ClientSetup.java:29)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at com.notmacchallenge.ClientSetup.launch(ClientSetup.java:60)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at NotMac.run(NotMac.java:50)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at java.lang.Thread.run(Thread.java:637)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hey guys,
One I've found this morning; if you have Java 1.6 installed on Leopard, then NotMac fails silently when it loads up. I got an error in the Console about instantiating a JVM.
To fix it, open Java Preferences in Utilities/Java, and ensure that you have J2SE 5.0 as the default version for Java Applications. It seems to fix the issue.
Cheers
Simon
22/10/08 11:21:30 AM [0x0-0x4f04f].NotMac[845] -[NSJavaVirtualMachine initWithClassPath:] cannot instantiate a Java virtual machine
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] Exception in thread "Thread-0" java.lang.UnsatisfiedLinkError: Don't know how to load JNI library: AuthKit
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at glguerin.util.LibLoader.load(LibLoader.java:204)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at glguerin.util.LibLoader.loadLibrary(LibLoader.java:177)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at glguerin.authkit.imp.macosx.MacOSXAuthorization.<clinit>(MacOSXAuthorization.java:168)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at java.lang.Class.forName0(Native Method)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at java.lang.Class.forName(Class.java:169)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at com.notmacchallenge.NMCommon.OSXPermissionsGrant(NMCommon.java:128)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at com.notmacchallenge.NMCommon.testAdmin(NMCommon.java:116)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at com.notmacchallenge.ClientSetup.<init>(ClientSetup.java:29)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at com.notmacchallenge.ClientSetup.launch(ClientSetup.java:60)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at NotMac.run(NotMac.java:50)
22/10/08 11:21:31 AM [0x0-0x4f04f].NotMac[845] at java.lang.Thread.run(Thread.java:637)