Know/Java

AIX Java News and FAQ

Marine™ 2006. 3. 16. 10:50
반응형
[HTML]












[펌]http://www-128.ibm.com/developerworks/java/jdk/aix/faqs.html










AIX Java News and FAQ


What's New?




  • February 2006 - SDK 1.4.2 32-bit update (APAR IY81443) released and JRE 1.4.2 32-bit refreshed, both using ca142ifx-20060209 build (SR4 repackaging).

  • February 2006 - SDK 1.4.2 64-bit update (APAR IY81444) released and JRE 1.4.2 64-bit refreshed, both using caix64142ifx-20060209 build (SR4 repackaging).

  • February 2006 - AIX Java 5 32-bit update (APAR IY80649) released and redistributional SDK refreshed, both using pap32devifx-20060123 build.

  • February 2006 - AIX Java 5 64-bit update (APAR IY80650) released and redistributional SDK refreshed, both using pap64devifx-20060124 build.

  • November 2005 - SDK 1.3.1 32-bit PTF (APAR IY76252) released and JRE 1.3.1 32-bit refreshed, both using ca131-20051025 build (SR9).

  • November 2005 - SDK 1.3.1 64-bit PTF (APAR IY76253) released and JRE 1.3.1 64-bit refreshed, both using caix64131-20051025 build (SR9).

  • November 2005 - SDK 1.3.0 32-bit update (APAR IY78081) released and JRE 1.3.0 32-bit refreshed, both using ca131-20051025 build. (1.3.1 SR9)

  • September 2004 - Java security packages refreshed for 1.3.0, 1.3.1, and 1.3.1 64-bit.

  • February 2003 - JDK 1.2.2 PTF (APAR IY40034) released and JRE 1.2.2 refreshed, both using the ca122-20030115 build.

  • May 2002 - JDK 1.1.8 PTF 13 (APAR IY30886) released and JRE 1.1.8 refreshed, both using the a118-20020509 build.



Frequently Asked Questions



  1. What AIX levels are required for Java releases?

  2. What should I download - JDK/SDK or JRE, base images or update images? Can you explain SDK 1.4.x installp images?

  3. How do I extract from a tar or tar.gz file downloaded?  How do I install the base and update images?

  4. Can these releases co-exist on a machine? In which directories are these releases installed?

  5. How to find out what versions of Java I have installed? Why does "java -fullversion" still show 1.1.8 on my system after I have installed another release? How can 1.3.0 "java -fullversion" show 1.3.1?

  6. What paths do I need to set to use a specific Java release on my system?

  7. How do I know if an image file has been downloaded successfully?

  8. How do I to get support information on Java for AIX?

  9. Are there any Newsgroups for Java on AIX?

1. Question: What AIX levels are required for Java releases?
    Answer:
    To take advantage of latest AIX fixes it is recommended/required that latest AIX Recommended Maintenance Level be used. The following is the minimum AIX level required at the time when a Java release was first released:

    Java 1.1.8 requires AIX 4.2.1
    Java 1.2.2 requires AIX 4.3.3 PLUS fixes
    Java 1.3.0 requires AIX 4.3.3.10 PLUS fixes
    Java 1.3.1 64-bit requires AIX 5.1.0.10
    Java 1.3.1 requires AIX 4.3.3.75
    Java 1.4 requires at least AIX 5.1.0.75 or AIX 5.2.0.10
    Java 5 requires at least AIX 5.2.0.75 or AIX 5.3.0.30


2. Question: What should I download - JDK/SDK or JRE, base images or update images? Can you explain SDK 1.4.x installp images?
    Answer:
    For each release you can download either the Developer Kit (JDK or SDK) or the Runtime Environment (JRE).

    The Runtime Environment is meant only for distributing Java with your applications.


    The Developer Kit is in AIX's installp format. There are install images (base images) and update images (also called PTFs or fixes). Update images are to be installed on top of the base images; that is, update images can only be installed after the base images are installed.


    All installp images have VRMF numbers associated with them. VRMF stands for Version, Release, Modification, and Fix. If you run command "lslpp -l | grep Java" on your machine you will see installed Java filesets and their VRMF numbers.


    All SDK 1.4.x installp images (VRMF numbers 1.4.0.*, 1.4.1.*, and 1.4.2.*) install in the same directories, /usr/java14 for 32-bit code and /usr/java14_64 for 64-bit code. This is because AIX Java 1.4 is the product and 1.4.1 and 1.4.2 are maintenance levels (1.4.2 being the latest and last maintenance level) of the product.


    Now what installp images does one need to install? Remember update images are to be installed on top of base images. These 1.4.x base images are available: the oldest 1.4.0 base images, the latest 1.4.1 base images, and the latest 1.4.2 base images. If Java 1.4 is not installed and you want to install it on your system, you will need to start with one of these base images, and then you can update using update images.


    Base images can be downloaded directly from the individual release download pages. To download update images, please follow the "How and where to get fixes" link.
     


3. Question: How do I extract from a tar or tar.gz file downloaded?  How do I install the JDK/SDK base and update images?
    Answer:
    For base images after you downloaded either packagename.tar or the packagename.tar.gz file (the latter is recommended if you have gunzip utility available), you need to extract packagename from the downloaded file:

        tar -xvf packagename.tar  (example: tar -xvf Java14.sdk.tar), or
        gunzip -c packagename.tar.gz | tar -xvf -  (example: gunzip -c Java14.sdk.tar.gz | tar -xvf - )


    For update images the .bff files are ready to be installed. Before installing, remove the old .toc file (if it exist) in the directory containing the .bff images.


    You can use the smitty command to install (both base and update images):

            Run "smitty install"
            Select "Install and Update Software"
            Select "Install Software"
            Specify directory containing the images
            ...


4. Question: Can these releases co-exist on a machine? In which directories are these releases installed?
    Answer:
    Yes, releases can co-exist.

    Java 1.1.8 installs in /usr/jdk_base
    Java 1.2.2 installs in /usr/java_dev2
    Java 1.3.0 installs in /usr/java130
    Java 1.3.1 64-bit installs in /usr/java13_64
    Java 1.3.1 installs in /usr/java131
    Java 1.4 64-bit installs in /usr/java14_64
    Java 1.4 installs in /usr/java14
    Java 5 64-bit installs in /usr/java5_64
    Java 5 32-bit installs in /usr/java5


5. Question: How to find out what versions of Java I have installed? Why does "java -fullversion" still show 1.1.8 on my system after I have installed another release? How can 1.3.0 "java -fullversion" show 1.3.1?
    Answer:
    The most accurate information is returned by command java -fullversion.
    Example: java full version "J2RE 1.4.1 IBM AIX build ca141-20030522"
    The date (20030522) tells when the code was built.

    Java 1.1.8 - the command is "/usr/jdk_base/bin/java -fullversion"
    Java 1.2.2 - the command is "/usr/java_dev2/jre/sh/java -fullversion"
    Java 1.3.0 - the command is "/usr/java130/jre/bin/java -fullversion"
    Java 1.3.1 64-bit - the command is "/usr/java13_64/jre/bin/java -fullversion"
    Java 1.3.1 - the command is "/usr/java131/jre/bin/java -fullversion"
    Java 1.4 64-bit - the command is "/usr/java14_64/jre/bin/java -fullversion"
    Java 1.4 - the command is "/usr/java14/jre/bin/java -fullversion"
    Java 5 32-bit - the command is "/usr/java5/jre/bin/java -fullversion"
    Java 5 64-bit - the command is "/usr/java5_64/jre/bin/java -fullversion"


    Installp installation for 1.1.8 creates a symbolic links in /usr/bin for commands such as java and javac. Installation of other releases does not create similar links. So, by default (when the PATH is not set for other releases), "java -fullversion" returns 1.1.8.


    The command "/usr/java130/jre/bin/java -fullversion" can show 1.3.1, because the support for 1.3.0 ended 12/31/2002. All 1.3.0 PTFs shipped after that date use 1.3.1 code.


6. Question: What paths do I need to set to use a specific Java release on my system?
    Answer:
    Java 1.1.8:
    PATH=/usr/jdk_base/bin:$PATH

    Java 1.2.2:
    PATH=/usr/java_dev2/jre/sh:/usr/java_dev2/sh:$PATH


    Java 1.3.0
    PATH=/usr/java130/jre/bin:/usr/java130/bin:$PATH


    Java 1.3.1 64-bit:
    PATH=/usr/java13_64/jre/bin:/usr/java13_64/bin:$PATH


    Java 1.3.1
    PATH=/usr/java131/jre/bin:/usr/java131/bin:$PATH


    Java 1.4 64-bit:
    PATH=/usr/java14_64/jre/bin:/usr/java14_64/bin:$PATH


    Java 1.4
    PATH=/usr/java14/jre/bin:/usr/java14/bin:$PATH


    Java 5 32-bit
    PATH=/usr/java5/jre/bin:/usr/java5/bin:$PATH


    Java 5 64-bit
    PATH=/usr/java5_32/jre/bin:/usr/java5_32/bin:$PATH


7. Question: How do I know if an image file has been downloaded successfully?
    Answer:
    After you downloaded a package in a tar or tar.gz file, if you can extract from the file successfully (see Question 3) the downloading must be successful.

    If "smitty install" does not complain about an extracted package, the downloading must be successful.


    For JDK/SDK base images, the download pages have numbers of bytes for all tar and tar.gz files. 


8. Question: How do I to get support information on Java for AIX?
    Answer:9. Question: Are there any Newsgroups for Java on AIX?
    Answer:
    Newsgroup for Java on AIX:  ibmpub.java.aix
    Newsgroup for AIX:  comp.unix.aix





















Back to top








[/HTML]
반응형