IBM Java

Daniel Robitaille robitaille at gmail.com
Mon Nov 29 15:55:58 UTC 2004


> I've added ~/.opt/IBMJava2-142/jre/bin into my PATH (since that's where
> the java executable is). However, with that path in my PATH, running
> `java` results in a Segmentation fault.
> 
> link at blue:~ $ java
> Segmentation fault
> 
> Running the full path works though
>
> link at blue:~ $ ~/.opt/IBMJava2-142/jre/bin/java
> 
> Usage: java [-options] class [args...]

instead of changing your PATH, try putting a symlink in the
/usr/local/bin directory to see if it works (works for me):
  sudo ln -s  ~/.opt/IBMJava2-142/jre/bin/java /usr/local/bin/java




More information about the ubuntu-users mailing list