1821051 Members
2776 Online
109631 Solutions
New Discussion

java1.4 installation

 
SOLVED
Go to solution
yurika
Occasional Advisor

java1.4 installation

I am going to install java1.4 on my system with os hpux11i.

Currently java1.2 is on it and there are programs using java1.2. If I installed javas1.4 on the same system, will it mess with what is currently running with 1.2?

Thank you in advance.

 

 


Moved from Archived Desktops and Workstations Boards>general to HP-UX > Languages

1 REPLY 1
Denver Osborn
Honored Contributor
Solution

Re: java1.4 installation

I was pretty sure you could, so I dug up an faq for you...

http://www.hp.com/products1/unix/java/faq/index.html

It says;

Q: Can I run multiple versions of Java at the same time?

A: Yes, because each version installs by default into a different directory. Java 1.1 installs in /opt/java, Java 1.2 in /opt/java1.2, Java 1.3 in opt/java1.3, and Java 1.4 in /opt/java1.4.

However you need to add the correct directory for the version you are using to your PATH variable.

For JNI applications, you also need to define the environment variable SHLIB_PATH to reference the correct directory structure for the Java shared libraries.


Hope this helps,
-denver