Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error running Java 1.4 on hp-ux 11 1

Status
Not open for further replies.

alexgi

Programmer
Feb 25, 2004
1
IL
I am trying to run java 1.4 on the hp-ux 11 machine, and it fails with the following message:
Error: could not find libjava.sl
Error: could not find Java 2 Runtime Environment.

The SHLIB_PATH is set correctly to point to libjava.sl, but java seems to ignore SHLIB_PATH.

Does anybody have any idea of how to resolve this?

Thanks,
Alex.

 
Hi Alex,
Not too sure what your problem is but you can try adding java to your path.
export PATH=$PATH:/opt/java1.4/bin
or/and set JAVAHOME variable.
export JAVAHOME=/opt/java1.4
I think this should solve the problem

Regards,
QJ
 
further to what QJ said, run chatr on the java executable to check that SHLIB_PATH is enabled. also if you are using patch PHSS_28434 or PHSS_28436, there is a problem in the dld, due to which the dld cannot load libraries even if they exist in the search paths. this bug is fixed in later patches, so you can take the latest patch PHSS_30048 (11.00) or PHSS_30049 (11.11).
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top