[Bug 471127] Re: ImageJ fails to run - /usr/share/imagej/jni/*: No such file or directory

linuxed linuxed7 at yahoo.com
Mon Nov 9 13:13:31 UTC 2009


If anyone's looking for a temporary fix to get imagej working in Karmic
you can use the following.

sudo gedit /usr/bin/imagej

Copy and paste the following on the 2nd line.  Save the file when
finished.

# run the program and exit
if [ ! -e "$HOME/.imagej/ij.jar" ] ; then
    if [ ! -e "$HOME/.imagej" ] ; then
        mkdir $HOME/.imagej
        cp -P -R /usr/share/imagej/* $HOME/.imagej
    fi
    cp -P /usr/share/java/ij.jar $HOME/.imagej
fi
java -jar $HOME/.imagej/ij.jar
exit 0

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