Oracle Solaris System Administration (MOSC)

MOSC Banner

java/lang/NoClassDefFoundError in Solaris 10

edited May 6, 2013 12:49AM in Oracle Solaris System Administration (MOSC) 4 commentsAnswered ✓
Hi,
I have one solaris sparc (Sun Blade 2500) box with Solaris 10 as Operating System (Solaris 10 3/05 s10_74L2a SPARC).
I have installed jdk1.6.0_35 in /opt directory. But when i am trying to do java -version, getting below error.
Am i missing sometihing ? Do i need to set classpath or java_home ?


bash-3.00# cd /opt/jdk1.6.0_35/bin/sparcv9/

bash-3.00# ./java -version
Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object
bash-3.00#


thanks in advance,

tushar

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center