If you set up the JAVA_HOME variable to a different Java engine than the Java engine which will be found in Path, than there could be occurs an error like that:
/usr/local/java/jdk1.2.2/bin/sparc/native_threads/java: fatal:
libhpi.so: open failed: No such file or directory
Killed
When I changed it to the same JDK, it has been work.
