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.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

gobitan

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值