Simpler Navigation for Servers and Operating Systems
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
cancel
Showing results for 
Search instead for 
Did you mean: 

set java path

Highlighted
Sandeep Daphal
Frequent Advisor

set java path

I install java 1.6.0.01.01 on hpux11i.
but it is not show when give whereis java command.

it install path is /opt/java6/jre/bin/java
i set this path manule in /etc/profile but it is not working .

please help tell me how set java path.


thanks

Sandeep
2 REPLIES
Roopesh Francis_1
Trusted Contributor

Re: set java path

try set PATH.

export PATH=$PATH:/opt/java6/jre/bin

Thanks,
Sandeep Daphal
Frequent Advisor

Re: set java path

thanks fo help