Studio11 on Solaris 8 problem

Hi Experts!
I am stuck installing Studio11 on Solaris 8. I installed Java 2 SDK 32 bit and then 64 bit following all the Sun's instructions.
Now when I want to install Studio11 I get different messages depending on the java version used.

The 32 bit version is at : /usr/j2se/bin
The 64 bit version is at: /usr/j2se/bin/sparcv9

If I put the 32 bit version first in my $PATH and run Studio11 installer I get, java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(

and many more lines following.

If I put the 64 bit version in my $PATH, I get: Attach to native processs failed.

I am not sure what should be my $CLASSPATH and have tried different ones without much difference.

Please let me know if you know how to go about resolving this.

Who is Participating?
yuzhConnect With a Mentor Commented:
For Solaris 8, you need to apply the patchs list in:

before you can install Studio11, you can find the details about the patch from:

just type in the patch number in "find patch", eg for 109147-37, type in
109147 to read the README file, and download the latest version.

Have you apply patchs list in:

also please read the instructions in:
Make sure that you are running the correct Java version, type in
which java

java -version

If it is wrong, you need to set the PATH to use the correct Java version, eg:

PATH=/pathto/java 1.4.2_11/bin:$PATH
export PATH
and then  try again

Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

mehranalmasiAuthor Commented:
Is there anything in the errors that point to a patch incompatibility? For technical reasons. I prefer not to apply any patches to the OS unless if I am sure its needed.
Possibly you are using non-standard locale.
use LANG=C and see what hapens after running application.
also unset CLASSPATH if already set. I have no CLASSPATH or any JAVA_* variable, just java executable in PATH.
mehranalmasiAuthor Commented:
Hi Nopius,
I tried LANG=C and no CLASSPATH with no difference in result.
What troubles me is that I can not find any documentation that tells me exactly what causes the error "Attach to native processs failed."
My other confusion is the way java 64 bit version installed. As mentioned above, the 32 bit version is in /usr/j2se/bin while the installation of the 64 bit went to /usr/j2se/bin/sparcv9.

Does this mean that I may need the 32 bit version when I am working using 64 bit Solaris?

I have no problem with patching up the OS as yuzh has suggested but I have no solid reason to believe that my errors are caused from the lack of latest patches.
About 64bit/32bit java, I know only that both versions should work fine in 64bit Solaris.

java.lang.NoClassDefFoundError - that's a problem, you may find in the Internet.
If you have sunsolve access, you may find mention of this error for some Java applications.
I agree with yuzh, try suggested patches. Why do you need them all?
Because they are all mentioned in 'Installation and Setup Guide for Solaris Platforms Sun Studio 11", it's a _requirement_ from Sun that guarantees successfull installation of sunstudio.
NopiusConnect With a Mentor Commented:
You may also ask, why it's a requirement :-)
Go here:
and read list of requirements, one of them is:
J2SE Technology  J2SE 1.4.2_08 technology or J2SE 5.0 Update 3 technology, and required OS patches
mehranalmasiAuthor Commented:
Apparently I have no choice but to install patches and report back when done.
May take some time...

thank you!
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.