I had a sparc machine with Solaris9 and built in java1.4.2
I installed Java1.5 on top of it by running the file jre-1_5_0_22-solaris-sparcv9.sh
Now when I run the java application, I get the following error:
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
When I run java -fullversion, I get proper output
java full version "1.5.0_22-b03"
But wen i run java -version, I get the same error repeated.
But wen i run the application, I get the JRE error again.
lsun7083 /Solaris_sparc-> ./installer
Unable to access a usable display on the remote system. Continue in command-line mode?(Y/N)
Y
JDK 1.5.0 Runtime Environment not found. Installer aborting
I have added the path variable in /.profile file also.