1834935 Members
2369 Online
110071 Solutions
New Discussion

Re: JDK Install

 
Popy
Regular Advisor

JDK Install


I've installed the new version of JDK ( ver 1.4.2.12 ) on 11.11 and it was installed successfully . I installed it to a new directory under /opt/java. My application is working, but swlist is not showing my new version of java. Should I do any swreg stuff ??

Thanks,
Popy
4 REPLIES 4
Pete Randall
Outstanding Contributor

Re: JDK Install

What exactly did you install and how did you install it? Did you get the official HP depot from http://www.hp.com/products1/unix/java/java2/sdkrte14/index.html

and install it with swinstall?


Pete

Pete
Steven E. Protter
Exalted Contributor

Re: JDK Install

Shalom,

As noted you must use swinstall for installation.

Your application may need to be restarted and may need an adjustment to the JAVA_PATH variable to use the new version.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Popy
Regular Advisor

Re: JDK Install

I used the standard HP depot sdk14_14211_pa.depot.

I used the standard installation practice ( swinstall ) and it worked.

My problem is not that its functionality, it is working fine. The problem is when I do a " swlist -l product |grep -i java " I can see the old installed versions of Java but the new one is not visible.

Popy
Dennis Handly
Acclaimed Contributor

Re: JDK Install

>I installed it to a new directory under /opt/java.

How exactly did you install it? What swinstall command did you use? If you used "@", that's why it won't show up with swlist.

@ is used to install to an alternate root. To list it, you must use "@" again.

Perhaps you wanted to use the ,l=location syntax in the software selection component?