PDA

View Full Version : Alice 2.3 stalls on Ubuntu 12.04. What to do?


alicecub
10-21-2013, 12:27 PM
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=downloads/download_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/58034183/Download%20Alice%202_3#Linux.

first, run-alice, without sudo, in a terminal
************************************************
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.jav a: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.loadLibrar yInternal(NativeLibLoader.java:102)
at com.sun.gluegen.runtime.NativeLibLoader.access$000 (NativeLibLoader.java:51)
at com.sun.gluegen.runtime.NativeLibLoader$1.run(Nati veLibLoader.java:70)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.gluegen.runtime.NativeLibLoader.loadGlueGe nRT(NativeLibLoader.java:68)
at com.sun.gluegen.runtime.NativeLibrary.ensureNative LibLoaded(NativeLibrary.java:399)
at com.sun.gluegen.runtime.NativeLibrary.open(NativeL ibrary.java:163)
at com.sun.gluegen.runtime.NativeLibrary.open(NativeL ibrary.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(GL DrawableFactory.java:111)
at javax.media.opengl.GLCanvas.chooseGraphicsConfigur ation(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.joglre nderer.OnscreenRenderTarget.getAWTComponent(Onscre enRenderTarget.java:60)
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>(RenderTargetPickManipulator.java:45)
at edu.cmu.cs.stage3.alice.authoringtool.util.RenderT argetMultiManipulator.<init>(RenderTargetMultiManipulator.java:33)
at edu.cmu.cs.stage3.alice.authoringtool.editors.scen eeditor.CameraViewPanel.renderInit(CameraViewPanel .java:875)
at edu.cmu.cs.stage3.alice.authoringtool.editors.scen eeditor.SceneEditor.setAuthoringTool(SceneEditor.j ava: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.AuthoringToo l.mainInit(AuthoringTool.java:463)
at edu.cmu.cs.stage3.alice.authoringtool.AuthoringToo l.<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
*****************
:~/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.SplashS creen$1.paint(SplashScreen.java:58)
at sun.awt.RepaintArea.paintComponent(RepaintArea.jav a:264)
at sun.awt.X11.XRepaintArea.paintComponent(XRepaintAr ea.java:73)
at sun.awt.RepaintArea.paint(RepaintArea.java:240)
at sun.awt.X11.XComponentPeer.handleEvent(XComponentP eer.java:694)
at java.awt.Component.dispatchEventImpl(Component.jav a:4725)
at java.awt.Container.dispatchEventImpl(Container.jav a:2103)
at java.awt.Window.dispatchEventImpl(Window.java:2587 )
at java.awt.Component.dispatchEvent(Component.java:44 75)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.j ava: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.doIntersectio nPrivilege(AccessControlContext.java:108)
at java.security.AccessControlContext$1.doIntersectio nPrivilege(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.doIntersectio nPrivilege(AccessControlContext.java:108)
at java.awt.EventQueue.dispatchEvent(EventQueue.java: 645)
at java.awt.EventDispatchThread.pumpOneEventForFilter s(EventDispatchThread.java:275)
at java.awt.EventDispatchThread.pumpEventsForFilter(E ventDispatchThread.java:200)
at java.awt.EventDispatchThread.pumpEventsForHierarch y(EventDispatchThread.java:190)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:185)
at java.awt.EventDispatchThread.pumpEvents(EventDispa tchThread.java:177)
at java.awt.EventDispatchThread.run(EventDispatchThre ad.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.AuthoringToo lResources.<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:131)

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.

MrMoke
10-27-2013, 02:23 PM
Use the title as a google search, to find the answer to your problem with not knowing how to manage Linux. There are lot's of sites that help new/inexperienced users learn the ropes.
:)

alicecub
10-31-2013, 12:50 PM
Thanks for this very helpful reply ;)

I think I'll stick to Scratch which works out of the box, without me having to compromise my Iced Tea :D