JME3 Mac Os X installation problem (6 posts)

  • Profile picture of qstatix qstatix said 3 months, 3 weeks ago:

    Hello!

    when I try to run the installer on Mac Os X it crashes

     $ open /Users/qstatix/Desktop/jMonkeyEngine SDK Installer.app
    LSOpenURLsWithRole() failed with error -10810 for the file /Users/qstatix/Desktop/jMonkeyEngine SDK Installer.app.
    $ cd /Users/qstatix/Desktop/jMonkeyEngine SDK Installer.app
    localhost:jMonkeyEngine SDK Installer.app qstatix$ cd /Users/qstatix/Desktop/jMonkeyEngine SDK Installer.app/Contents/MacOS
    localhost:MacOS qstatix$ ./executable Configuring the installer...
    Searching for JVM on the system...
    Extracting installation data...
    Running the installer wizard...
    Exception in thread "main" java.lang.NoClassDefFoundError: org/netbeans/installer/Installer
    Caused by: java.lang.ClassNotFoundException: org.netbeans.installer.Installer
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    

    Mac Os X 10.6.8 JDK 1.6 path –javahome /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home

  • Profile picture of normen normen1290p said 3 months, 3 weeks ago:

    Try running the installer from the downloads or applications folder, its a security issue: http://www.google.de/search?rls=en&q=LSOpenURLsWithRole%2010810
    Edit: Or did you move the application via an USB stick or the network after unzipping it? Then chmod +x the executable.

  • Profile picture of qstatix qstatix said 3 months, 3 weeks ago:

    thank you normen
    it really was a problem with permissions
    I have never seen installer.app on Mac Os X
    confused :)

  • Profile picture of normen normen1290p said 3 months, 3 weeks ago:

    So, to make this thread useful, how did you solve it?

  • Profile picture of qstatix qstatix said 3 months, 3 weeks ago:

    ok
    I’m using iZip archiver by default
    I just unpacked the archive with BetterZip and it solves :D

    p.s. Mac Os X requires a .dmg containing .app with link to Applications folder or pkg/mpkg for installer. There will be no problems with permissions.

    thanks again, sorry my english :)

  • Profile picture of normen normen1290p said 3 months, 3 weeks ago:

    Thanks. The unzip utility that comes with MacOSX preserves the attributes too.