Hi,
I am new to Alice, am a tad elderly but eager to learn how to teach my grandkids some exciting stuff!
Problem: I downloaded Alice 2.3 for Linux, followed the instructions, but except for the nice greeter screen Alice stalls, nothing happens. Here are the details:
* 1 *
From:
http://www.alice.org/index.php?page=...nload_alice2.3, then: Alice 2.3 for Linux with textbook worlds (389MB) I downloaded Alice2.3b.tar.gz onto my Desktop, i. e., Ubuntu 12.04,2 64bit
* 2 *
Unpacked to $HOME/Alice2. So I get in $HOME/Alice2/Alice2.3b/Required/ the following files/folders:
Alice2.3_LICENSE.pdf lgpl.txt
DISCLAIMER.txt lib sounds
etc mp3register templateWorlds
exampleWorlds README.txt textbookExampleWorlds
externalLib resources textureMap
gallery run-alice tutorial
jython-2.1 tutorialWorlds
jythonLicense.txt
* 3 *
Now I followed the instructions on:
http://help.alice.org/w/page/5803418...ce%202_3#Linux.
first, run-alice, without sudo, in a terminal
************************************************
Code:
Code:
Registered succesfully
*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-6-openjdk-common/jre/lib/resources.jar'
*sys-package-mgr*: can't write cache file for '/usr/lib/jvm/java-6-openjdk-common/jre/lib/resources.jar'
*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-6-openjdk-common/jre/lib/ext/sunjce_provider.jar'
*sys-package-mgr*: can't write cache file for '/usr/lib/jvm/java-6-openjdk-common/jre/lib/ext/sunjce_provider.jar'
*sys-package-mgr*: processing modified jar, '/usr/share/java/java-atk-wrapper.jar'
*sys-package-mgr*: can't write cache file for '/usr/share/java/java-atk-wrapper.jar'
*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-6-openjdk-common/jre/lib/ext/pulse-java.jar'
*sys-package-mgr*: can't write cache file for '/usr/lib/jvm/java-6-openjdk-common/jre/lib/ext/pulse-java.jar'
*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-6-openjdk-common/jre/lib/ext/sunpkcs11.jar'
*sys-package-mgr*: can't write cache file for '/usr/lib/jvm/java-6-openjdk-common/jre/lib/ext/sunpkcs11.jar'
*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-6-openjdk-common/jre/lib/ext/dnsns.jar'
*sys-package-mgr*: can't write cache file for '/usr/lib/jvm/java-6-openjdk-common/jre/lib/ext/dnsns.jar'
*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-6-openjdk-common/jre/lib/ext/localedata.jar'
*sys-package-mgr*: can't write cache file for '/usr/lib/jvm/java-6-openjdk-common/jre/lib/ext/localedata.jar'
java.lang.UnsatisfiedLinkError: /home/michael/Alice2/Alice2.3b/Required/lib/linux-i586/libgluegen-rt.so: /home/michael/Alice2/Alice2.3b/Required/lib/linux-i586/libgluegen-rt.so: wrong ELF class: ELFCLASS32 (Possible cause: architecture word width mismatch)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1750)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1675)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at com.sun.gluegen.runtime.NativeLibLoader.loadLibraryInternal(NativeLibLoader.java:102)
at com.sun.gluegen.runtime.NativeLibLoader.access$000(NativeLibLoader.java:51)
at com.sun.gluegen.runtime.NativeLibLoader$1.run(NativeLibLoader.java:70)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.gluegen.runtime.NativeLibLoader.loadGlueGenRT(NativeLibLoader.java:68)
at com.sun.gluegen.runtime.NativeLibrary.ensureNativeLibLoaded(NativeLibrary.java:399)
at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:163)
at com.sun.gluegen.runtime.NativeLibrary.open(NativeLibrary.java:129)
at com.sun.opengl.impl.x11.DRIHack.begin(DRIHack.java:109)
at com.sun.opengl.impl.x11.X11GLDrawableFactory.<clinit>(X11GLDrawableFactory.java:99)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:188)
at javax.media.opengl.GLDrawableFactory.getFactory(GLDrawableFactory.java:111)
at javax.media.opengl.GLCanvas.chooseGraphicsConfiguration(GLCanvas.java:520)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:131)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:90)
at javax.media.opengl.GLCanvas.<init>(GLCanvas.java:83)
at edu.cmu.cs.stage3.alice.scenegraph.renderer.joglrenderer.OnscreenRenderTarget.getAWTComponent(OnscreenRenderTarget.java:60)
at edu.cmu.cs.stage3.alice.authoringtool.util.RenderTargetPickManipulator.setRenderTarget(RenderTargetPickManipulator.java:74)
at edu.cmu.cs.stage3.alice.authoringtool.util.RenderTargetPickManipulator.<init>(RenderTargetPickManipulator.java:45)
at edu.cmu.cs.stage3.alice.authoringtool.util.RenderTargetMultiManipulator.<init>(RenderTargetMultiManipulator.java:33)
at edu.cmu.cs.stage3.alice.authoringtool.editors.sceneeditor.CameraViewPanel.renderInit(CameraViewPanel.java:875)
at edu.cmu.cs.stage3.alice.authoringtool.editors.sceneeditor.SceneEditor.setAuthoringTool(SceneEditor.java:238)
at edu.cmu.cs.stage3.alice.authoringtool.JAliceFrame.guiInit(JAliceFrame.java:176)
at edu.cmu.cs.stage3.alice.authoringtool.JAliceFrame.<init>(JAliceFrame.java:87)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.mainInit(AuthoringTool.java:463)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.<init>(AuthoringTool.java:413)
at edu.cmu.cs.stage3.alice.authoringtool.JAlice.main(JAlice.java:138)
From now on, nothing new happens, except that I have a nice greeter screen.
Ok, some of the error messages made me suspicious, so I used sudo:
sudo run-alice
*****************
Code:
:~/Alice2/Alice2.3b/Required$ sudo /home/<user>/Alice2/Alice2.3b/Required/run-alice
Registered succesfully
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at edu.cmu.cs.stage3.alice.authoringtool.util.SplashScreen$1.paint(SplashScreen.java:58)
at sun.awt.RepaintArea.paintComponent(RepaintArea.java:264)
at sun.awt.X11.XRepaintArea.paintComponent(XRepaintArea.java:73)
at sun.awt.RepaintArea.paint(RepaintArea.java:240)
at sun.awt.X11.XComponentPeer.handleEvent(XComponentPeer.java:694)
at java.awt.Component.dispatchEventImpl(Component.java:4725)
at java.awt.Container.dispatchEventImpl(Container.java:2103)
at java.awt.Window.dispatchEventImpl(Window.java:2587)
at java.awt.Component.dispatchEvent(Component.java:4475)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:675)
at java.awt.EventQueue.access$300(EventQueue.java:96)
at java.awt.EventQueue$2.run(EventQueue.java:634)
at java.awt.EventQueue$2.run(EventQueue.java:632)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:119)
at java.awt.EventQueue$3.run(EventQueue.java:648)
at java.awt.EventQueue$3.run(EventQueue.java:646)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:108)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:645)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)
Caused by: java.lang.NullPointerException
at edu.cmu.cs.stage3.lang.Messages.<clinit>(Messages.java:19)
... 27 more
java.lang.NoClassDefFoundError: Could not initialize class edu.cmu.cs.stage3.lang.Messages
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToolResources.<clinit>(AuthoringToolResources.java:33)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:188)
at edu.cmu.cs.stage3.alice.authoringtool.JAlice.main(JAlice.java:13
1)
From now on, nothing new happens, as above.
What shall I do? I am completely lost with your remark "If Alice does not start, you may need to reset the classpath for the Java location on your machine.". What on earth does that mean, let alone what shall I do exactly?
Thank you for your help,
alicecub
P.S. I was able to install the windows version of Alice 2.3 on a 64bit Windows 8 system; it did nor run on the destop, but since I moved the Alice files/folders to C:\Programs (32 bit)\ it works fine.