HP-UX 11i Java JDK/JRE Version 5.0.30 Release Notes
SD-UX prepends <alternate_directory> to the default product path. Java will
therefore install in /<alternate_directory>/opt/java1.5.
If you want your Java home directory in <alternate_directory> without the
/opt/java1.5 directories, you need to install into a temporary directory, and then
move the directories to where you want them.
For example:
JDK:
swinstall -s <download> Jdk15.JDK15-* Jre15.JRE15-* @/<temporary_directory>
mv <temporary_directory>/opt/java1.5/* <final_alternate_directory>
JRE:
swinstall -s <download> Jre15.JRE15-* @/<temporary_directory>
mv <temporary_directory>/opt/java1.5/* <final_alternate_directory>
Or you can install and link to the directories.
For example:
JDK:
swinstall -s <download> Jdk15.JDK15-* Jre15.JRE15-* @/<actual_directory>
ln -s /<actual_directory>/opt/java1.5/* <final_alternate_directory>
JRE:
swinstall -s <download> Jre15.JRE15-* @/<actual_directory>
ln -s /<actual_directory>/opt/java1.5/* <final_alternate_directory>
File structure JDK/JRE
The following diagram displays an abbreviated form of the file structure:
java1.5 |
___|__________________________________________________
| | | | |
bin lib jre demo include
| | javaws files*
java tools.jar |
javac dt.jar |
javadoc ir.idl |
javah orb.idl |
javap |
jdb |
__|_____________________________
| |
bin lib
| |
_______________________|__________________________ |
| | | | | |
java PA_RISC2 PA_RISC2.0W IA64N IA64W |
14 Installation