The installation process is as follows:
1. Confirm the system version
Bash-4.2 # uname-
HP-UX shipsv13 B .11.23 U IA64 1660023518 unlimited-User License
2. Download the JDK of the corresponding system version
Https://h20392.www2.hp.com/portal/swdepot/displayProductInfo.do? Productnumber = hpuxjavahome
Jdk1.6 is installed in this case. We recommend that you download the HP itanium version.
3. Install jdk1.6
1) Place the downloaded JDK file in the/home/test/upload directory.
Bash-4.2 # cd/home/test/upload/
Bash-4.2 # ls
Itanium_jdk_6.0.20 _-_ Jul_2013_z7550-01136_jdk6_16020_ia.depot
2) Adjust Lang to C. (Note: If no adjustment is made, an error will be reported when you execute the next command .)
Bash-4.2 # export lang = C
3) grant the JDK file executable permission.
Chmod A + x itanium_jdk_6.0.20 _-_ Jul_2013_z7550-01136_jdk6_16020_ia.depot
4) run the JDK installation command.
Bash-4.2 # swinstall-s itanium_jdk_6.0.20 _-_ Jul_2013_z7550-01136_jdk6_16020_ia.depot
Note: The Interactive UI was invoked, since no software was Specified. Starting the terminal version of swinstall... To move around in swinstall: -Use the "tab" key to move between screen elements -Use the arrow keys to move within screen elements -Use "Ctrl-F" for context-sensitive help anywhere in swinstall On screens with a menubar at the top like this: ------------------------------------------------------ | File view options actions help | | ---- ------- ------------------------------- --- | -Use "tab" to move from the list to the menubar -Use the arrow keys to move around -Use "return" to pull down a menu or select a menu item -Use "tab" to move from the menubar to the list without selecting a menu item -Use the spacebar to select an item in the list On any screen, press "CTRL-K" for more information on how to use the keyboard. Press "return" to continue... |
Press enter to enter the graphics program. As follows:
1) just enteredPossibleYou will encounter the following error. Do not panic. The solution will be provided later.
2) Select OK and enter the interface. manually enter "Host Name" and "full path of JDK Installation File ".
3) Select OK to go to the interface. Just tap the Space key.
4) Select the JDK installation path. (Note: Use the tab key to switch to actions in the menu bar)
Enter/usr/jdk1.6 in the path field.
5) Select install to start JDK installation. (Note: The space is used here. Otherwise, a warning will pop up when you press install)
6) install and analyze. After the status changes to "ready", select OK.
7) install JDK. When percent completae is set to 100%, select done to complete the installation.
8) Exit the image painting installation interface. For example:
4. Where is the file path after jdk1.6 installation?
Bash-4.2 #/usr/jdk1.6/opt/java6/bin/Java-version
Java version "1.6.0.20"
Java (TM) se Runtime Environment (build 1.6.0.20-jinteg_20_jun_2013_10_03-b00)
Java hotspot (TM) server VM (build 20.45-b01-jre1.6.0.20-rc1, mixed mode)
PS: many images in the operation steps are not copied. If you need to read the full text, you can ask for it by mailto: [email protected.
HP-UNIX jdk1.6 installation instructions