[Bug 471127] [NEW] ImageJ fails to run - /usr/share/imagej/jni/*: No such file or directory
Thomas Ibbotson
thomas.ibbotson at gmail.com
Mon Nov 2 15:14:31 UTC 2009
Public bug reported:
Binary package hint: imagej
When trying to run imagej on a fresh install of Karmic the following
error message is produced:
Open other images in this ImageJ panel as follows:
imagej -p 1 <image1> [<image2> ... <imageN>]
cat: /usr/share/imagej/jni/*: No such file or directory
/usr/bin/imagej: line 418: //bin/java: No such file or directory
which shows 2 problems. The first is the problem I am reporting here.
The 2nd can be worked around by setting the JAVA_HOME environment
variable appropriately.
imagej:
Installed: 1.43b-1ubuntu1
Candidate: 1.43b-1ubuntu1
Version table:
*** 1.43b-1ubuntu1 0
500 http://mirror.ox.ac.uk karmic/universe Packages
100 /var/lib/dpkg/status
Steps to reproduce:
1. Install imagej: "sudo apt-get install imagej"
2. Run imagej from a command-line: "imagej"
Also if I set the JAVA_HOME variable correctly, I get the following
error message:
Open other images in this ImageJ panel as follows:
imagej -p 1 <image1> [<image2> ... <imageN>]
cat: /usr/share/imagej/jni/*: No such file or directory
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.10)
at java.awt.Font.tk(libgcj.so.10)
at java.awt.Font.getPeerFromToolkit(libgcj.so.10)
at java.awt.Font.<init>(libgcj.so.10)
at ij.ImageJ.<clinit>(ImageJ.java:75)
at java.lang.Class.initializeClass(libgcj.so.10)
Caused by: java.lang.UnsatisfiedLinkError: libgtkpeer: libgtkpeer.so: cannot open shared object file: No such file or directory
at java.lang.Runtime._load(libgcj.so.10)
at java.lang.Runtime.loadLibrary(libgcj.so.10)
at java.lang.System.loadLibrary(libgcj.so.10)
at gnu.java.awt.peer.gtk.GtkToolkit.<clinit>(libgcj.so.10)
at java.lang.Class.initializeClass(libgcj.so.10)
at java.lang.Class.forName(libgcj.so.10)
at java.awt.Toolkit.getDefaultToolkit(libgcj.so.10)
...5 more
** Affects: imagej (Ubuntu)
Importance: Undecided
Status: New
--
ImageJ fails to run - /usr/share/imagej/jni/*: No such file or directory
https://bugs.launchpad.net/bugs/471127
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list