Alice Community  

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

Reply
 
Thread Tools Display Modes
Using Alice un Ubuntu
Old
lbarmen
Guest
 
Status:
Posts: n/a
Default Using Alice un Ubuntu - 07-20-2008, 04:42 PM

Hi!

I'm a new Linux user, and also a new Alice user, i really want to start learning Alice, but i can't use it in my Ubuntu 8.04... i downloaded the Linux installation but don't know what to do next.

Thanks for any possible help!!!
   
Reply With Quote
Old
tullygray
Guest
 
Status:
Posts: n/a
Default 07-24-2008, 08:45 AM

You have to type commands in a terminal. Open a terminal and find the directory where you placed the file 'Alice-2.0.0.tar.bz2'. Now 'cd' (change directory) to this location and type:

"tar -xvfz Alice-2.0.0.tar.bz2".

That should decompress the file. Now you should be able to use the program called 'run-alice' in the directory called 'Required'.
   
Reply With Quote
Old
linux1
Guest
 
Status:
Posts: n/a
Default 07-26-2008, 06:47 AM

I am stuck too. I am running Mint. I do not know where the dircetory is? what it is called? and what to type. can you clarify please. I am new to linux and know zero re: command line. I also noticed another command on their download page that I do not think that you mentioned.

Please help - I would love to get this working...
   
Reply With Quote
Old
linux1
Guest
 
Status:
Posts: n/a
Default 07-26-2008, 02:18 PM

help! Any ideas please? I would greatly appreciate it very much.
   
Reply With Quote
Old
thebigbug
Guest
 
Status:
Posts: n/a
Default 07-28-2008, 04:45 AM

Quote:
Originally Posted by lbarmen View Post
Hi!
I'm a new Linux user, and also a new Alice user, i really want to start learning Alice, but i can't use it in my Ubuntu 8.04... i downloaded the Linux installation but don't know what to do next.
Hi,
I have the same problem.
When to launch: ~/Alice/Required/run-alice (it is executable) nothing is show

My SYstem: Ubuntu 8.04 with Sun Java 6 (OpenJDK Java 6)

P.S: excuse me for bad english
   
Reply With Quote
Works for me
Old
carlosc
Guest
 
Status:
Posts: n/a
Default Works for me - 09-19-2008, 03:52 PM

@ thebigbug, linux1, and Ibarmen

Go to the directory where the file run-alice is located, for me it was:

cd Documents/Programming/Alice/Required/

cd is the command to change directories, you can go one directory at a time
or all at once (easy since the terminal autocompletes entries)

then type the following line followed by a carriage return:

./run-alice

(the above characters are dot slash, which is a common way to start executables
in linux)

You'll then see a bunch of lines of text scroll up on your terminal,
after which the Alice window will appear on your screen.
That's as far as I've gotten.

FYI, I'm running PCLinuxOS fully upgraded

@Linux1
the directory is wherever your browser saves downloads to or wherever
you uncompressed it to.
   
Reply With Quote
Old
dz0
Guest
 
Status:
Posts: n/a
Default 12-01-2008, 10:26 PM

I also have problems with Alice on ubunt (8.10)
Alice starts and seems ok, but when in tutorial or loaded world I press "Play" -- I see empty grey frame -- and no fun :/

jurgis@baltix:/home/opt/programavimo-mokymas/Alice/Required$ ./run-alice
attempting to register mp3 capability...
Registered succesfully
*sys-package-mgr*: processing new jar, '/home/opt/programavimo-mokymas/Alice/Required/gnu/getopt-1.0.7.jar'
*sys-package-mgr*: processing new jar, '/home/opt/programavimo-mokymas/Alice/Required/jython-2.1/jython.jar'
*sys-package-mgr*: processing new jar, '/home/opt/programavimo-mokymas/Alice/Required/lib/alice.jar'
*sys-package-mgr*: processing new jar, '/home/opt/programavimo-mokymas/Alice/Required/jogl/lib/jogl.jar'
*sys-package-mgr*: processing new jar, '/home/opt/programavimo-mokymas/Alice/Required/xerces-2_6_2/resolver.jar'
*sys-package-mgr*: processing new jar, '/home/opt/programavimo-mokymas/Alice/Required/vecmath/lib/ext/vecmath.jar'
*sys-package-mgr*: processing new jar, '/home/opt/programavimo-mokymas/Alice/Required/xerces-2_6_2/xercesImpl.jar'
*sys-package-mgr*: processing new jar, '/home/opt/programavimo-mokymas/Alice/Required/xerces-2_6_2/xml-apis.jar'
*sys-package-mgr*: processing new jar, '/home/opt/programavimo-mokymas/Alice/Required/xerces-2_6_2/xmlParserAPIs.jar'
*sys-package-mgr*: processing new jar, '/home/opt/programavimo-mokymas/Alice/Required/JMF-2.1.1e/lib/customizer.jar'
*sys-package-mgr*: processing new jar, '/home/opt/programavimo-mokymas/Alice/Required/JMF-2.1.1e/lib/jmf.jar'
*sys-package-mgr*: processing new jar, '/home/opt/programavimo-mokymas/Alice/Required/JMF-2.1.1e/lib/mediaplayer.jar'
*sys-package-mgr*: processing new jar, '/home/opt/programavimo-mokymas/Alice/Required/JMF-2.1.1e/lib/multiplayer.jar'
*sys-package-mgr*: processing new jar, '/home/opt/programavimo-mokymas/Alice/Required/mp3/lib/ext/mp3plugin.jar'
*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-6-openjdk/jre/lib/resources.jar'
*sys-package-mgr*: can't write cache file for '/usr/lib/jvm/java-6-openjdk/jre/lib/resources.jar'
*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar'
*sys-package-mgr*: can't write cache file for '/usr/lib/jvm/java-6-openjdk/jre/lib/rt.jar'
*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-6-openjdk/jre/lib/jsse.jar'
*sys-package-mgr*: can't write cache file for '/usr/lib/jvm/java-6-openjdk/jre/lib/jsse.jar'
*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-6-openjdk/jre/lib/jce.jar'
*sys-package-mgr*: can't write cache file for '/usr/lib/jvm/java-6-openjdk/jre/lib/jce.jar'
*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-6-openjdk/jre/lib/charsets.jar'
*sys-package-mgr*: can't write cache file for '/usr/lib/jvm/java-6-openjdk/jre/lib/charsets.jar'
*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-6-openjdk/jre/lib/rhino.jar'
*sys-package-mgr*: can't write cache file for '/usr/lib/jvm/java-6-openjdk/jre/lib/rhino.jar'
*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-6-openjdk/jre/lib/ext/localedata.jar'
*sys-package-mgr*: can't write cache file for '/usr/lib/jvm/java-6-openjdk/jre/lib/ext/localedata.jar'
*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-6-openjdk/jre/lib/ext/dnsns.jar'
*sys-package-mgr*: can't write cache file for '/usr/lib/jvm/java-6-openjdk/jre/lib/ext/dnsns.jar'
*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-6-openjdk/jre/lib/ext/sunpkcs11.jar'
*sys-package-mgr*: can't write cache file for '/usr/lib/jvm/java-6-openjdk/jre/lib/ext/sunpkcs11.jar'
*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-6-openjdk/jre/lib/ext/gnome-java-bridge.jar'
*sys-package-mgr*: can't write cache file for '/usr/lib/jvm/java-6-openjdk/jre/lib/ext/gnome-java-bridge.jar'
*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-6-openjdk/jre/lib/ext/sunjce_provider.jar'
*sys-package-mgr*: can't write cache file for '/usr/lib/jvm/java-6-openjdk/jre/lib/ext/sunjce_provider.jar'
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x8f5377c7]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_unlock+0x31) [0x8f537891]
#2 /usr/lib/libX11.so.6(_XReply+0x254) [0x8f589494]
#3 /home/opt/programavimo-mokymas/Alice/Required/jogl/lib/linux-i586/libjogl.so(XineramaQueryScreens+0xd1) [0x8ec91487]
#4 /home/opt/programavimo-mokymas/Alice/Required/jogl/lib/linux-i586/libjogl.so(XineramaEnabled+0x5f) [0x8ecd86b3]
#5 /home/opt/programavimo-mokymas/Alice/Required/jogl/lib/linux-i586/libjogl.so(Java_com_sun_opengl_impl_x11_GLX_Xinera maEnabled__J+0x2a) [0x8ec937c9]
#6 [0xb5639e9d]
#7 [0xb5632edd]
#8 [0xb5632edd]
#9 [0xb5632e17]
#10 [0xb5632cb1]
#11 [0xb5632cb1]
#12 [0xb5632cb1]
#13 [0xb56332f3]
#14 [0xb5632cb1]
#15 [0xb5632cb1]
#16 [0xb5632cb1]
#17 [0xb5632cb1]
#18 [0xb5632cb1]
#19 [0xb5632cb1]
Locking assertion failure. Backtrace:
#0 /usr/lib/libxcb-xlib.so.0 [0x8f5377c7]
#1 /usr/lib/libxcb-xlib.so.0(xcb_xlib_lock+0x2e) [0x8f53796e]
#2 /usr/lib/libX11.so.6 [0x8f588619]
#3 /usr/lib/libX11.so.6(XQueryExtension+0x26) [0x8f576196]
#4 /usr/lib/libX11.so.6(XInitExtension+0x41) [0x8f56a771]
#5 /usr/lib/libXext.so.6(XextAddDisplay+0x52) [0x8f642692]
#6 /usr/lib/libGL.so.1 [0x8ed236ad]
#7 /usr/lib/libGL.so.1 [0x8ed1eeea]
#8 /usr/lib/libGL.so.1(glXChooseVisual+0x36) [0x8ed1fc86]
#9 /home/opt/programavimo-mokymas/Alice/Required/jogl/lib/linux-i586/libjogl.so(Java_com_sun_opengl_impl_x11_GLX_glXCho oseVisual1__JILjava_lang_Object_2I+0x5e) [0x8ec93c92]
#10 [0xb5639e9d]
#11 [0xb5632e17]
#12 [0xb5632e17]
#13 [0xb5632e17]
#14 [0xb5632cb1]
#15 [0xb5632cb1]
#16 [0xb5632cb1]
#17 [0xb56332f3]
#18 [0xb5632cb1]
#19 [0xb5632cb1]
   
Reply With Quote
Alice on Ubuntu
Old
RichSkyline
Guest
 
Status:
Posts: n/a
Default Alice on Ubuntu - 12-10-2008, 08:46 PM

I wish I had more specific help for you, but I run Alice on Ubuntu and have been doing so for a half year or so. On Ubuntu you can start Alice from the command line, but clicking on the run-alice file and then choosing "run in terminal" is faster.

I have found that setting desktop effects to NONE in Ubuntu helps when trying to run some Java programs. Also, make sure you have all the necessary Java files installed. You may want to try Sun's JDK instead of using Open JDK.

I really hope Linux compatibility is a focus for Alice 3.0...
   
Reply With Quote
Old
andyman
Guest
 
Status:
Posts: n/a
Default 02-16-2009, 01:12 AM

Installing Sun JDK 6 is what did it for me.

Get it through Synaptic or do sudo apt-get install sun-java6-jdk or something like that.
   
Reply With Quote
Reply

Tags
alice, starting, ubuntu

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