The java class is not found: run
Posted in 2007
Topics: Installation, Setup & Upgrades, Platform-Specific Issues, Java & JDBC Development, Versions, Editions & End-of-Life
Hi all,
I have downloaded IDS10 "IIUG.IDS.10.00.FC5I1.AIX64.tar" from www.iiug.org
I have AIX 5.2 version.
Problem 1
---------
When i do "tar -xvf IIUG.IDS.10.00.FC5I1.AIX64.tar" it returns the error:
# tar -xvf IIUG.IDS.10.00.FC5I1.AIX64.tar
x IIF.jar, 113387330 bytes, 221460 media blocks.
tar: 0511-169 A directory checksum error on media; 1 not equal to 34877.
Could anyone help me to extract the tar file.
Problem 2
----------
Using WinZip i extracted the tar file in windows and using ftp i transfered
the below files to AIX box:
IIF.jar
.jvm.bin
installserver
server.ini
I have set the variables as below mentioned, and when i run ./installserver it
returns error saying "The java class is not found: run"
# echo $PATH
/usr/java14/jre/bin:/usr/java14/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X1
1:/sbin:/usr/java131/jre/bin:/usr/java131/bin:/usr/vacpp/bin
# echo $INFORMIXDIR
/ps7/informix/informix10.0
# echo $CLASSPATH
/usr/java14/jre
# echo $JAVAPATH
/usr/java14/jre
# java -version
java version "1.4.2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
Classic VM (build 1.4.2, J2RE 1.4.2 IBM AIX build ca142sr1a-20050209 (JIT
enabled: jitc))
# pwd
/ps7/informix
# ls -lttotal 299144
-rwxrwxrwx 1 root sys 5197 Feb 23 11:37 server.ini
-rwxrwxrwx 1 root sys 71676 Feb 23 11:37 installserver
-rwxrwxrwx 1 root sys 113385949 Feb 23 11:37 IIF.jar
-rw-r----- 1 root sys 39668395 Feb 23 11:37 .jvm.bin
drwxrwsrwx 2 root sys 512 Feb 22 11:15 informix10.0
#./installserver
Initializing InstallShield Wizard
.
Launching InstallShield Wizard
.
The java class is not found: run
#
For your reference, i have kept below contents of /tmp/installserver.txt file,
Value of $TMP is not a valid directory. Defaulting to /tmp
Log file created by ISMP installer @Fri Feb 23 15:02:03 CST 2007
INSTALLER_PATH=/ps7/informix/./installserver
Verifying /usr/java14 using the JVM file
/tmp/istemp32594054150203/genericjvmfile
Verifying... /usr/java14/bin/java
$FULLCURRJVM is "1.4.2"
$CURRJVMNOQ is 1.4.2
$CURRJVMNO_ is 1.4.2
$CURRJVMNODOT is 142
$CURRJVM is 142
Version of /usr/java14/bin/java is 142
Comparing to required version of 132
Version "1.4.2" has been verified
Verification passed for /usr/java14 using the JVM file
/tmp/istemp32594054150203/genericjvmfile.
command line switch -javahome is specifed. Verifying the JVM with the JVM
files specifed with the la
uncher.
Verifying /usr/java14 using the JVM file
/tmp/istemp32594054150203/genericjvmfile
Verifying... /usr/java14/bin/java
$FULLCURRJVM is "1.4.2"
$CURRJVMNOQ is 1.4.2
$CURRJVMNO_ is 1.4.2
$CURRJVMNODOT is 142
$CURRJVM is 142
Version of /usr/java14/bin/java is 142
Comparing to required version of 132
Version "1.4.2" has been verified
Verification passed for /usr/java14 using the JVM file
/tmp/istemp32594054150203/genericjvmfile.
LAUNCH_COMMAND=/usr/java14/bin/java -cp .:::::"IIF.jar"::::/usr/java14/jre::
-Dtemp.dir="/tmp" -Dis.jvm.home="/usr/java14" -Dis.jvm.temp="0"
-Dis.media.home="" -Dis.launcher.file="/ps7/informix/./in stallserver"
-Dis.jvm.file="/tmp/istemp32594054150203/genericjvmfile"
-Dis.external.home="/ps7/informix/." run -G overwriteJVM=yes 1>&1 2>&1
PLEASE ANYONE HELP ME TO SOLVE THIS PROBLEM AND INSTALL IDS 10.0 IN AIX BOX
With warm regards..
Dhananjay Kumar
Hi, The problem is winzip, you must ftp in binary mode, uncompress & untar the file of products in Unix. Alternatively, you can using tar for window or gzip for window. Regards,