Menu

#3 no start under Ubuntu Linux

open
nobody
None
5
2008-10-27
2008-10-27
Anonymous
No

Ubuntu 8.04, what my terminal says:

x@y:~/Programme/j-Algo$ '~/Programme/j-Algo/j-Algo.sh'
Exception in thread "main" java.awt.AWTError: Assistive Technology not found: org.GNOME.Accessibility.JavaBridge
at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:788)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:874)
at org.jalgo.main.gui.JAlgoWindow.createSplashScreen(Unknown Source)
at org.jalgo.main.JAlgoMain.main(Unknown Source)

... are there further dependencies? I've got installed Sun Java6 JRE.

Discussion

  • Nobody/Anonymous

    By default, Ubuntu Linux installs multiple java virtual machines, e.g. openjdk and gij. If you want to use j-Algo with Ubuntu, you either have to set your default JRE to the sun-jre or you'll have to edit "j-Algo.sh" (replace the term java with the path to the sun java binary, e.g. /usr/lib/jvm/java-6-sun/jre/bin/java).

    How to set the default JRE with Ubuntu:
    1. Get a list of the ones that are installed on your system with
    # update-java-alternatives --list
    ...
    java-6-sun 63 /usr/lib/jvm/java-6-sun
    ...
    2. Set the default JRE to java-6-sun
    # update-java-alternatives --set java-6-sun

    Enjoy.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.