How to install JDK in AIX?

##########################################
######Created by Hu Dennis 2009-04-09
##########################################


How to install JDK in AIX?

1. mkdir /opt/install
2. upload the Java6_64.sdk to /opt/install
3. # smit
    (1)Select "Software Installation and Maintenance" and Press ENTER
    (2)Select "Install and Update Software" and Press ENTER
    (3)Select "Install Software" and Press ENTER
    Directly input /opt/install in the [] as following:
    * INPUT device / directory for software              [/opt/install] 
    (4) You will see as following on screen:
    * INPUT device / directory for software               /opt/install
* SOFTWARE to install                                [_all_latest]                                                        +
  PREVIEW only? (install operation will NOT occur)    no                                                                  +
  COMMIT software updates?                            yes                                                                 +
  SAVE replaced files?                                no                                                                  +
  AUTOMATICALLY install requisite software?           yes                                                                 +
  EXTEND file systems if space needed?                yes                                                                 +
  OVERWRITE same or newer versions?                   no                                                                  +
  VERIFY install and check file sizes?                no                                                                  +
  Include corresponding LANGUAGE filesets?            yes                                                                 +
  DETAILED output?                                    no                                                                  +
  Process multiple volumes?                           yes                                                                 +
  ACCEPT new license agreements?                      no                                                                  +
  Preview new LICENSE agreements?                     no                                                                  +
 
At this time, Press ESC+4. Then, there should be a menu in the end of the screen as following:

+--------------------------------------------------------------------------+
                        |                           SOFTWARE to install                            |
                        |                                                                          |
                        | Move cursor to desired item and press Esc+7. Use arrow keys to scroll.   |
                        |     ONE OR MORE items can be selected.                                   |
                        | Press Enter AFTER making all selections.                                 |
                        |                                                                          |
                        |                                                                          |
                        |   Java6_64.sdk                                                       ALL |
                        |    + 6.0.0.100  Java SDK 64-bit                                          |
                        |                                                                          |
                        | F1=Help                 F2=Refresh              F3=Cancel                |
F1=Help                 | Esc+7=Select            Esc+8=Image             Esc+0=Exit               |
Esc+5=Reset             | Enter=Do                /=Find                  n=Find Next              |mage
Esc+9=Shell             +--------------------------------------------------------------------------+
Select Java6_64.sdk and press ENTER.
    (5) Move to "ACCEPT new license agreements?                      no " item as follows:
* INPUT device / directory for software               /opt/install
* SOFTWARE to install                                [Java6_64.sdk                                                      > +
  PREVIEW only? (install operation will NOT occur)    no                                                                  +
  COMMIT software updates?                            yes                                                                 +
  SAVE replaced files?                                no                                                                  +
  AUTOMATICALLY install requisite software?           yes                                                                 +
  EXTEND file systems if space needed?                yes                                                                 +
  OVERWRITE same or newer versions?                   no                                                                  +
  VERIFY install and check file sizes?                no                                                                  +
  Include corresponding LANGUAGE filesets?            yes                                                                 +
  DETAILED output?                                    no                                                                  +
  Process multiple volumes?                           yes                                                                 +
  ACCEPT new license agreements?                      no                                                                  +
  Preview new LICENSE agreements?                     no  

At this time, Press ESC+4. Then, there should be a menu in the end of the screen as following:
+--------------------------------------------------------------------------+
                        |                      ACCEPT new license agreements?                      |
                        |                                                                          |
                        | Move cursor to desired item and press Enter.                             |
                        |                                                                          |
                        |   no                                                                     |
                        |   yes                                                                    |
                        |                                                                          |
                        | F1=Help                 F2=Refresh              F3=Cancel                |
F1=Help                 | Esc+8=Image             Esc+0=Exit              Enter=Do                 |
Esc+5=Reset             | /=Find                  n=Find Next                                      |mage
Esc+9=Shell             +--------------------------------------------------------------------------+

Select "yes" and press ENTER. And Press ENTER, Press ENTER. smit will begin to install JDK.
wait a few minutes until the commnad status switch to OK.

Command: running       stdout: yes           stderr: no
-->
Command: OK            stdout: yes           stderr: no

(6) Press ESC+0 exit.

How to uninstall the JDK in AIX?
(1)#smit
(2)Select "Software Installation and Maintenance" and Press ENTER.
(3)Select "Software Maintenance and Utilities" and Press ENTER.
(4)Select "Remove Installed Software" and Press ENTER.
(5)Press ESC+4, select "Java6_64.sdk " and Press ENTER. Then screen as following:
                                                        [Entry Fields]                            
* SOFTWARE name                                      [Java6_64.sdk]                                                       +
  PREVIEW only? (remove operation will NOT occur)     yes                                                                 +
  REMOVE dependent software?                          no                                                                  +
  EXTEND file systems if space needed?                no                                                                  +
  DETAILED output?                                    no                                                                  +
(6) Move to " PREVIEW only? (remove operation will NOT occur)     no     " item, and Press ESC+4, select "no" and Press Enter.
                                                        [Entry Fields]                            
* SOFTWARE name                                      [Java6_64.sdk]                                                       +
  PREVIEW only? (remove operation will NOT occur)     no                                                                  +
  REMOVE dependent software?                          no                                                                  +
  EXTEND file systems if space needed?                no                                                                  +
  DETAILED output?                                    no                                                                  +
                       
                     
(7)Press ENTER to execute uninstallation.

你可能感兴趣的:(java,jdk,image,File,input,include)