panni04

CA Tuesday Tip: CA WA Agent for IBM i5/OS install

Discussion created by panni04 Employee on Nov 12, 2013
When installing the agent in i5/OS (AS/400), please make sure you have installed the correct JRE.  The agent uses 32-bit JRE and it can be downloaded from IBM Java website.  The system must have J2SE 5.0 32-bit or higher installed.  Before installing the agent, export the JAVA_HOME in PASE terminal.
 
export JAVA_HOME=/QIBM/ProdData/Java400/jdk15
 
Note:  Actual path may vary, verify the exact JRE path.  Path and filenames are case-sensitive.
 
Next to make sure the Java is working correctly, run the following command:
 
java -version
 
If the output shows version information, then Java command is working correctly.  Run the setup as follows:
 
java -jar setup.jar
 
In some cases, users may see the following error when trying to run the setup.
 
Excpetion in thread "main" java.lang.NoClassDefFoundError: -jar
Caused by java.lang.ClassNotFoundException: -jar
at java.net.URLClassLoader.findClass(URLClassLoader.java:499)
at java.lang.ClassLoader.loadClass(ClassLoader.java:650)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) 
at java.lang.ClassLoader.loadClass(ClassLoader.java:616)
 
This error signifies that java was unable to find the setup.jar.  In that case provide the full or absolute path to the setup.jar.  
 
java -jar /tmp/setup.jar
 

Outcomes