V12.2, Solarisstudio 12.3 Install + Java

I’m trying to install solarisstudio (again)

I downloaded SolarisStudio12.3-linux-x86-rpm.tar.bz2
then unpacked it into a directory
then from a gnome terminal cd’d to that directory

then



SU

 ./solarisstudio.sh --non-interactive
Configuring the installer...
Searching for JVM on the system...
Extracting installation data (can take a while, please wait)...
Running the installer wizard...
An unexpected exception happened in thread Thread-3

Exception:
  java.lang.UnsatisfiedLinkError:
  /usr/java/jre1.7.0_11/lib/i386/xawt/libmawt.so: libXext.so.6: cannot open shared object file: No such file or directory


I have java-1_7_0-openjdk installed,

and file /usr/java/jre1.7.0_11/lib/i386/xawt/libmawt.so exists.

Is this a 64bit issue?

What should I do next?

Thanks.

If you want to use java for development(javac etc…) then you may need the “-devel” package too.(java-1_7_0-openjdk-devel )
Also i am dumbfounded as to why when you have downloaded “SolarisStudio12.3-linux-x86-rpm.tar.bz2” and installing we need i386 based libraries. These are generally 32 bit libraries.

Also i found this
Installing the Oracle Solaris Studio Software - Oracle Solaris Studio 12.3 Installation Guide


Using the Non-GUI Installer 


  - **If you are not currently superuser (root), become superuser by typing:**
**su** Password: **root-password**
  - **In the directory that contains the installer, start the installer by typing:**
**./solarisstudio.sh --non-interactive --libraries-only**