Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

Thread Tools Display Modes
Works great in Ubuntu 7.04
Posts: n/a
Default Works great in Ubuntu 7.04 - 05-18-2007, 04:21 PM

I just wanted to post that I have gotten Alice working under Ubuntu 7.04 (32 bit) without any significant problems. There were a couple of things to watch out for, so I thought I would post those for users to be aware of:

-- By default Ubuntu 7.04 is using the Blackdown JVM. In a default 7.04 installation I found that this actually mostly runs Alice without problems. I say mostly because I did find that the tutorials will not work as the blue overlay becomes opaque and you cannot see anything under it, which basically makes the tutorials unusable. All other functions I tested worked however, even when running under Beryl.

-- I installed the Sun Java (tried both 1.5 and 1.6) from the Ubuntu repositories. In order to get Ubuntu to use one of these you have to run the following command:
update-java-alternatives -s [java-1.5.0-sun|java-6-sun]
**note, pick the appropriate of the two java's that you installed and only use that as the option.
Once you run that you can start Alice in the same manner and it will use the new jvm and these work completely as far as I can tell, including the tutorials.

-- One side note to using the Sun Java, I did find that it will not run properly if you are currently using Beryl/Compiz. This could possibly by environment/system/video card related only so your mileage may vary, but on my system running Alice with Sun Java and Beryl on resulted in only the preview world window showing and nothing else. Switching to metacity and restarting Alice allows it to run without problems.

Hope this helps someone else out there and thanks to all of those that put Alice together, it really is a great teaching tool and my daughter is extremely excited to start learning!
Reply With Quote
Alas, not on my version of Ubuntu 7.04
Posts: n/a
Default Alas, not on my version of Ubuntu 7.04 - 09-12-2007, 07:35 PM

Using this version of Java:

instructor@linux46:~/Alice/Required$ java -version
java version "1.6.0"
Java(TM) SE Runtime Environment (build 1.6.0-b105)
Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
I get this:

instructor@linux46:~/Alice/Required$ ./run-alice
attempting to register mp3 capability... 
Registered succesfully
java.lang.IndexOutOfBoundsException: Invalid index
        at javax.swing.DefaultRowSorter.convertRowIndexToModel(
        at sun.swing.FilePane$SortableListModel.getElementAt(
        at javax.swing.plaf.basic.BasicListUI.updateLayoutState(
        at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(
        at javax.swing.plaf.basic.BasicListUI.getCellBounds(
        at javax.swing.JList.getCellBounds(
        at javax.swing.JList.ensureIndexIsVisible(
        at sun.swing.FilePane.ensureIndexIsVisible(
        at sun.swing.FilePane.doDirectoryChanged(
        at sun.swing.FilePane.propertyChange(
        at java.beans.PropertyChangeSupport.firePropertyChange(
        at java.beans.PropertyChangeSupport.firePropertyChange(
        at java.awt.Component.firePropertyChange(
        at javax.swing.JFileChooser.setCurrentDirectory(
        at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.worldsDirectoryChanged(
        at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.dialogInit(
        at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.<init>(
        at edu.cmu.cs.stage3.alice.authoringtool.JAlice.main(
Reply With Quote
Posts: n/a
Default 09-12-2007, 09:01 PM

Great information!! Thanks for posting it.

I have to use Java 1.6.0_02 as a result of 'on-line' textbook interactvie material, etc. This has also been causing me grief as Apple's MAC is only up to Java 1.5 (Java 5.0)
Reply With Quote

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 ©2022, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.