RS/6000/AIX °ü·Ã °Ô½ÃÆÇ |
---|
2002/02/27(19:10) from 210.117.182.162 | |
ÀÛ¼ºÀÚ : °ÁÙ±â (jkkang65@hanmail.net) | Á¶È¸¼ö : 2737 , ÁÙ¼ö : 125 |
[AIX] Q&A about Java |
---|
1) What AIX levels are required for Java releases? 2) What is available in the different release sections? 3) Can these releases co-exist on a machine? In which directories are these releases installed? 4) How to find what version of Java I have installed? 5) What paths do I need to set to use a specific Java release on my system? 6) How do I install the install and update images? 7) What are the checksum values for the different Java images? 8) How do I to get support on Java for AIX? 9) Are there any Newsgroups for Java on AIX? 1. Question: What AIX levels are required for Java releases? Answer: Java 1.1.8 requires AIX 4.2.1 or higher Java 1.2.2 requires AIX 4.3.3 PLUS fixes or higher Java 1.3.0 requires AIX 4.3.3.10 PLUS fixes or higher Java 1.3.0 64IA requires AIX 5.1 IA (Intel/Itanium Architecture) - the CD for AIX 5.1 IA has 32-bit Java 1.3.0 2. Question: What is available in the different release sections? Answer: The download page for each release generally has the following sections (1.1.8 and 1.3.0 64IA pages have fewer sections than 1.2.2 and 1.3.0 pages): Latest README for and in the Developer Kit - please read the file which has a lot of information FAQ - this page Install (or base) images for the Developer Kit - you need to download at least the rte package ("Binaries and classes") if you are trying to install the Developer Kit for the first time AIX fixes required - see question 1 and the latest README Fixes (or updates, or PTFs) for the Developer Kit - to be applied on top of the base (or install) images The Runtime Environment - can be thought of as a subset of the Developer Kit and is for bundling/shipping with applications 3. Question: Can these releases co-exist on a machine? In which directories are these releases installed? Answer: Yes, releases for a same platform (Power or IA) 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.0 64IA install in /usr/java130_64 4. Question: How to find what version of Java I have installed? Answer: The most accurate information is returned by command java -fullversion. Example: java full version "JDK 1.1.8 IBM build a118-20000914" The date (20000914) 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.0 64IA - the command is "/usr/java130_64/bin/java -fullversion" 5. 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.0 IA64: PATH=/usr/java130_64/jre/bin:/usr/java130_64/bin:$PATH 6. Question: How do I install the install and update images? Answer: You can use the smitty command to install: Run "smitty install" Select "Install and Update Software" Select "Install Software" Specify directory containing the images ... If 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 Java130.rte.tar), or gunzip -c packagename.tar.gz | tar -xvf - (example: gunzip -c Java130.rte.tar.gz | tar -xvf - ) 7. Question: What are the checksum values for the different Java images? Answer: If "smitty install" complains about a downloaded and extracted package, it might be because of data corruption during downloading. Please try to download from an AIX machine directly. The download pages have numbers of bytes for all tar and tar.gz files. The following checksum information can also be used to verify that you have the correct Java images. You will need to run the sum command to calculate the checksum of your downloaded and extracted packages. Example: sum Java130.rte 47493 26544 Java130.rte (the first value is the checksum, the second value is the size in blocks) Java 1.1.8 28966 Java.adt 22947 Java.rmi-iiop 36042 Java.rte 47265 Java.samples 41850 Java.security 61365 Java.swing Java 1.2.2 63891 Java_dev2.adt 50971 Java_dev2.ext 11970 Java_dev2.rte 65414 Java_dev2.samples Java 1.3.0 46448 Java130.adt 28027 Java130.cmp-us 62176 Java130.ext 27905 Java130.jce-us 37376 Java130.jsse-us 11486 Java130.pkcs-us 47493 Java130.rte 37239 Java130.samples 27464 Java130.xml4j Java 1.3.0 64IA 10268 Java130_64.adt 24450 Java130_64.cmp-us 65474 Java130_64.ext 02334 Java130_64.jce-us 04448 Java130_64.jsse-us 06740 Java130_64.pkcs-us 60061 Java130_64.rte 35208 Java130_64.samples 36469 Java130_64.xml4j 8. Question: How do I to get support on Java for AIX? Answer: If you have an AIX Support Line contract, you can call 800-CALL AIX for support. 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 |