LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-05-2010, 07:33 PM   #1
Maestro01
Member
 
Registered: Jan 2009
Posts: 35

Rep: Reputation: 15
Question Alice animation program and Ubuntu


I have been trying to install Alice on the latest version of Ubuntu
but keep getting java and or Alice errors. Have not yet found a version
set up for Ubuntu and nothing shows up in the repositories.
Any suggestions, help greatly appreciated.
 
Old 04-05-2010, 08:37 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 4
Posts: 4,305

Rep: Reputation: 205Reputation: 205Reputation: 205
This may help: https://lists.ubuntu.com/archives/ub...er/000116.html

Also this: http://www.alice.org/community/showthread.php?t=1538

Last edited by {BBI}Nexus{BBI}; 04-05-2010 at 08:43 PM. Reason: Extra info added
 
Old 04-06-2010, 01:15 PM   #3
Maestro01
Member
 
Registered: Jan 2009
Posts: 35

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by {BBI}Nexus{BBI} View Post
Thought that replacing the Java-jre with the java-jdk might do it as
suggested here but to no avail. This is what I get from Alice:
./run-alice
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/xawt/libmawt.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646)
at java.lang.Runtime.load0(Runtime.java:787)
at java.lang.System.load(System.java:1022)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1747)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1664)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1614)
at java.awt.Toolkit.<clinit>(Toolkit.java:1636)
at java.awt.Color.<clinit>(Color.java:279)
at edu.cmu.cs.stage3.alice.scenegraph.Color.<clinit>(Color.java:31)
at edu.cmu.cs.stage3.alice.authoringtool.JAlice.<clinit>(JAlice.java:32)
Could not find the main class: edu.cmu.cs.stage3.alice.authoringtool.JAlice. Program will exit.
 
Old 04-07-2010, 07:23 PM   #4
Maestro01
Member
 
Registered: Jan 2009
Posts: 35

Original Poster
Rep: Reputation: 15
Smile

Quote:
Originally Posted by Maestro01 View Post
Thought that replacing the Java-jre with the java-jdk might do it as
suggested here but to no avail. This is what I get from Alice:
./run-alice
Exception in thread "main" java.lang.UnsatisfiedLinkError: Can't load library: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/xawt/libmawt.so
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1646)
at java.lang.Runtime.load0(Runtime.java:787)
at java.lang.System.load(System.java:1022)
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1747)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1664)
at java.lang.Runtime.loadLibrary0(Runtime.java:840)
at java.lang.System.loadLibrary(System.java:1047)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:67)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:47)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.loadLibraries(Toolkit.java:1614)
at java.awt.Toolkit.<clinit>(Toolkit.java:1636)
at java.awt.Color.<clinit>(Color.java:279)
at edu.cmu.cs.stage3.alice.scenegraph.Color.<clinit>(Color.java:31)
at edu.cmu.cs.stage3.alice.authoringtool.JAlice.<clinit>(JAlice.java:32)
Could not find the main class: edu.cmu.cs.stage3.alice.authoringtool.JAlice. Program will exit.
*****************************************************
OK. I find that the link: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/xawt/libmawt.so is incorrect for my system, perhaps Ubuntu generally.
Should be: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/headless/libmawt.so
as that is where the .so file is located. Wonder how many other
changes have occurred and if there is a better version I could
install to get Alice running.
 
Old 04-11-2010, 05:41 PM   #5
Maestro01
Member
 
Registered: Jan 2009
Posts: 35

Original Poster
Rep: Reputation: 15
Smile Alice and Ubuntu. Problem solved

Quote:
Originally Posted by Maestro01 View Post
*****************************************************
OK. I find that the link: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/xawt/libmawt.so is incorrect for my system, perhaps Ubuntu generally.
Should be: /usr/lib/jvm/java-6-openjdk/jre/lib/i386/headless/libmawt.so
as that is where the .so file is located. Wonder how many other
changes have occurred and if there is a better version I could
install to get Alice running.
Finally got Alice to run using the info on this page:
https://help.ubuntu.com/community/Java
It takes more than just installing Java; it also takes making
the program aware of Java. Note the lines at the bottom of the page.
Thanks to everyone.
 
  


Reply

Tags
java, ubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Alice or other IRC Chat Bot neenee Linux - General 5 12-27-2012 05:06 PM
What is the best 3d modelling and animation program for linux(preferably free) cowboy45 Linux - Software 4 01-09-2012 02:37 AM
Stop Motion Animation Program for openSUSE 11.2 wagscat123 Linux - Software 1 02-20-2010 08:04 PM
LXer: Alice in Business LXer Syndicated Linux News 0 01-09-2007 07:21 PM
LXer: Synfig 2D vector animation program opens source LXer Syndicated Linux News 0 01-24-2006 03:16 PM


All times are GMT -5. The time now is 04:09 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration