Alice Community  

Go Back   Alice Community > Alice 2 > How do I...?

Reply
 
Thread Tools Display Modes
OS X 10.7.1 Alice 2.2b hangs on splash screen
Old
jcypher
Junior Member
 
Status: Offline
Posts: 4
Join Date: Sep 2011
Default OS X 10.7.1 Alice 2.2b hangs on splash screen - 09-03-2011, 07:04 PM

$ ./run-alice
java.lang.reflect.InvocationTargetException
Registered succesfully
*sys-package-mgr*: processing modified jar, '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/classes.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/ui.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/jsse.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/jce.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/jce.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Classes/charsets.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/Extensions/AppleScriptEngine.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/Extensions/AppleScriptEngine.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/Extensions/MRJToolkit.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/Extensions/MRJToolkit.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/Extensions/QTJava.zip'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/Extensions/QTJava.zip'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/Extensions/dns_sd.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/Extensions/dns_sd.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/Extensions/j3daudio.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/Extensions/j3daudio.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/Extensions/j3dcore.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/Extensions/j3dcore.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/Extensions/j3dutils.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/Extensions/j3dutils.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/Extensions/jai_codec.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/Extensions/jai_codec.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/Extensions/jai_core.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/Extensions/jai_core.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/Extensions/mlibwrapper_jai.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/Extensions/mlibwrapper_jai.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/Extensions/vecmath.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/Extensions/vecmath.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext/apple_provider.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext/apple_provider.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext/dnsns.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext/dnsns.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext/localedata.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext/localedata.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext/sunjce_provider.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext/sunjce_provider.jar'
*sys-package-mgr*: processing modified jar, '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext/sunpkcs11.jar'
*sys-package-mgr*: can't write cache file for '/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext/sunpkcs11.jar'
java.lang.NoClassDefFoundError: com/sun/gluegen/runtime/DynamicLookupHelper
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader. java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java :615)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:283)
at java.net.URLClassLoader.access$000(URLClassLoader. java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 47)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader. java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java :615)
at java.security.SecureClassLoader.defineClass(Secure ClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader .java:283)
at java.net.URLClassLoader.access$000(URLClassLoader. java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java: 197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 47)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:169)
at javax.media.opengl.GLDrawableFactory.getFactory(GL DrawableFactory.java:108)
at javax.media.opengl.GLCanvas.chooseGraphicsConfigur ation(GLCanvas.java:520)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:1 31)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:9 0)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:8 3)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.joglre nderer.OnscreenRenderTarget.getAWTComponent(Onscre enRenderTarget.java:58)
at edu.cmu.cs.stage3.alice.authoringtool.util.RenderT argetPickManipulator.setRenderTarget(RenderTargetP ickManipulator.java:74)
at edu.cmu.cs.stage3.alice.authoringtool.util.RenderT argetPickManipulator.<init>(RenderTargetPickManipu lator.java:45)
at edu.cmu.cs.stage3.alice.authoringtool.util.RenderT argetMultiManipulator.<init>(RenderTargetMultiMani pulator.java:33)
at edu.cmu.cs.stage3.alice.authoringtool.editors.scen eeditor.CameraViewPanel.renderInit(CameraViewPanel .java:880)
at edu.cmu.cs.stage3.alice.authoringtool.editors.scen eeditor.SceneEditor.setAuthoringTool(SceneEditor.j ava:219)
at edu.cmu.cs.stage3.alice.authoringtool.JAliceFrame. guiInit(JAliceFrame.java:157)
at edu.cmu.cs.stage3.alice.authoringtool.JAliceFrame. <init>(JAliceFrame.java:72)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.mainInit(AuthoringTool.java:449)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.<init>(AuthoringTool.java:399)
at edu.cmu.cs.stage3.alice.authoringtool.JAlice.main( JAlice.java:141)
Caused by: java.lang.ClassNotFoundException: com.sun.gluegen.runtime.DynamicLookupHelper
at java.net.URLClassLoader$1.run(URLClassLoader.java: 202)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.j ava:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:2 47)
   
Reply With Quote
Old
Dj Tech42
Senior Member
 
Dj Tech42's Avatar
 
Status: Offline
Posts: 202
Join Date: Feb 2011
Default 09-03-2011, 08:13 PM

You need to install Java first


Flight Simulator with Dogfight Modes:
http://www.alice.org/community/showthread.php?t=6840
   
Reply With Quote
my Java version info
Old
jcypher
Junior Member
 
Status: Offline
Posts: 4
Join Date: Sep 2011
Default my Java version info - 09-03-2011, 08:29 PM

Java is installed. I have uninstalled the Alice program and the hidden ~/.alice2 directory, and reinstalled a couple times, but no love.

$ java -version
java version "1.6.0_26"

$ which java
/usr/bin/java

$ uname -a
Darwin bug 11.1.0 Darwin Kernel Version 11.1.0: Tue Jul 26 16:07:11 PDT 2011; root:xnu-1699.22.81~1/RELEASE_X86_64 x86_64
   
Reply With Quote
Other OS X 10.7.1 machines run Alice 2.2b fine
Old
jcypher
Junior Member
 
Status: Offline
Posts: 4
Join Date: Sep 2011
Default Other OS X 10.7.1 machines run Alice 2.2b fine - 09-03-2011, 08:34 PM

I have an iMac (2007) and a newer macbook pro (2011) both running OS X 10.7.1, that run Alice 2.2b just fine.

It's just one macbook pro (2009) that seems to be a problem, but I thought they all were about the same software-wise. They all have the same default java class path.

Any more ideas?
   
Reply With Quote
Old
Dj Tech42
Senior Member
 
Dj Tech42's Avatar
 
Status: Offline
Posts: 202
Join Date: Feb 2011
Default 09-03-2011, 10:34 PM

That's strange. It works fine for me on OS X 10.7.1. I would see if there are any updates specific to the 2009 macbook pro (sometimes there are device-specific updates)


Flight Simulator with Dogfight Modes:
http://www.alice.org/community/showthread.php?t=6840
   
Reply With Quote
Old
Dj Tech42
Senior Member
 
Dj Tech42's Avatar
 
Status: Offline
Posts: 202
Join Date: Feb 2011
Default 09-10-2011, 10:16 PM

Also, check your permissions to see if you can write to the Java location. Try running Disk Utility to repair permissions.


Flight Simulator with Dogfight Modes:
http://www.alice.org/community/showthread.php?t=6840
   
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Copyright ©2019, Carnegie Mellon University
Alice 2.x 1999-2012, Alice 3.x 2008-2012, Carnegie Mellon University. All rights reserved.