Operating System - HP-UX
1829115 Members
14798 Online
109986 Solutions
New Discussion

Re: Problem installing application.

 
StanleySWLee
Advisor

Problem installing application.

I need to install an application on HP-UX B11.31. Problem is when try to execute the installer, Error "No Java virtual machine could be found from your PATH
environment variable.".

As I know the OS has already come with the latest JRE.
5 REPLIES 5
Anshumali
Esteemed Contributor

Re: Problem installing application.

check for echo $JAVA_PATH
If there is nothing, you will need to set it with location.. (/opt/jreXX/bin i hope)
Dreams are not which you see while sleeping, Dreams are which doesnt allow you to sleep while you are chasing for them!!
StanleySWLee
Advisor

Re: Problem installing application.

I got "JAVA_PATH: Parameter not set."
How do i know the exact path? As i know i have /opt/java1.4 and /opt/java1.5 on my system.
Ivan Krastev
Honored Contributor

Re: Problem installing application.

Check your application requirements. If you have both java version installed 1.4 and 1.5 select the one, recommended from aplication vendor and set the JAVA_PATH to this directory.

regards,
ivan
StanleySWLee
Advisor

Re: Problem installing application.

Now i had set my java path and when echo it appear /opt/java1.5/jre/bin.
However I'm still getting the error "No Java virtual machine could be found from your PATH environment variable.". What other possible solution?
StanleySWLee
Advisor

Re: Problem installing application.

Thanks all for the help.
Besides set JAVA_PATH, I also need to set the PATH=/opt/java1.5/jre/bin/:/opt/java1.5/bin:$PATH

Thanks.