Alice Community  

Go Back   Alice Community > General Discussion > Questions and Comments

Reply
 
Thread Tools Display Modes
Works great in Ubuntu 7.04
Old
kmax
Guest
 
Status:
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
Old
jdeisenberg
Guest
 
Status:
Posts: n/a
Default Alas, not on my version of Ubuntu 7.04 - 09-12-2007, 07:35 PM

Using this version of Java:

Code:
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:

Code:
instructor@linux46:~/Alice/Required$ ./run-alice
attempting to register mp3 capability... 
Registered succesfully
java.lang.IndexOutOfBoundsException: Invalid index
        at javax.swing.DefaultRowSorter.convertRowIndexToModel(DefaultRowSorter.java:497)
        at sun.swing.FilePane$SortableListModel.getElementAt(FilePane.java:525)
        at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1337)
        at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1288)
        at javax.swing.plaf.basic.BasicListUI.getCellBounds(BasicListUI.java:929)
        at javax.swing.JList.getCellBounds(JList.java:1600)
        at javax.swing.JList.ensureIndexIsVisible(JList.java:1116)
        at sun.swing.FilePane.ensureIndexIsVisible(FilePane.java:1514)
        at sun.swing.FilePane.doDirectoryChanged(FilePane.java:1440)
        at sun.swing.FilePane.propertyChange(FilePane.java:1487)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
        at java.awt.Component.firePropertyChange(Component.java:7865)
        at javax.swing.JFileChooser.setCurrentDirectory(JFileChooser.java:568)
        at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.worldsDirectoryChanged(AuthoringTool.java:478)
        at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.dialogInit(AuthoringTool.java:631)
        at edu.cmu.cs.stage3.alice.authoringtool.AuthoringTool.<init>(AuthoringTool.java:413)
        at edu.cmu.cs.stage3.alice.authoringtool.JAlice.main(JAlice.java:131)
   
Reply With Quote
Old
lanceA
Guest
 
Status:
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
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 ©2022, Carnegie Mellon University
Alice 2.x © 1999-2012, Alice 3.x © 2008-2012, Carnegie Mellon University. All rights reserved.