How to Install Netbeans 6.5 on OpenSolaris

If you are spoilt with double-click Installers and hardly ever opened a DOS-Box, you might be challenged getting some applications up and running in Linux, Unix or OpenSolaris. The Package Manager offers you quite a huge selection of applications and tools that you just select and install, but some stuff requires some manual steps, like Netbeans.

Prerequisites
– Downloaded Netbeans (netbeans-6.5-ml-solaris-x86.sh, link here)
– Installed JDK (link here)

Create JAVA_HOME and PATH
– export JAVA_HOME=/{your jdkpath}
– export PATH=$PATH:$JAVA_HOME/bin:$JAVA_HOME/jre/bin
– Add too add to /etc/profile

Installing Netbeans
– Open terminal session as normal user
– Navigate to the folder with the netbeans-6.5-ml-solaris-x86.sh file
– Make it executable chmod +x netbeans-6.5-ml-solaris-x86.sh
xhost +
– Change to root user su –
export DISPLAY=:0.0
– Execute Installer ./netbeans-6.5-ml-solaris-x86.sh
– Rest self-explaining by the standard interactive GUI installer.

I also recommend to visit the plugins to get the latest updates.

Good Luck

Advertisements

2 thoughts on “How to Install Netbeans 6.5 on OpenSolaris

  1. Hi,
    I tried to install netbeans using the above steps but I got a critical error with the following

    Exception:
    java.lan.classformaterror:
    unknow constant tag 221 in class file com/sun/org/apache/xerces/internal/impl/xmlentityscanner

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s