How to install latest NetBeansIDE on Ubuntu 12.04



install Netbeans IDE 7 .sh file in Ubuntu


NOTE: JDK vi or on top of (JDK 7) is needed for putting in and running the Java SE, Java applied science and every one NetBeans Bundles.
instal JDK
1.Open Terminal.To open terminal click the Dash home from unity launcher.And type terminal within the search field.And click Terminal

2.Type the below code in terminal and hit enter.

sudo add-apt-repository ppa:ferramroberto/java

Type your ubuntu word if required and press enter.

3.Then press enter to continue or ctrl-c to cancel adding the ppa.
4.Type below command and hit enter

sudo apt-get update

5.Then sort below command and press enter

sudo apt-get install sun-java6-jdk sun-java6-plugin

6.Type y and hit enter to verify the installation.

7.Select

OK

and press Yes enter

8.To accecpt the DLJ licence choose affirmative and press enter
9.After the palmy installation,to check the put in version sort

java -version

install JDK7
1.Go to Oracle JDK7 transfer page. And transfer the most recent Linux jdk in .tar.gz format.
Here its (32 bit) jdk-7u4-linux-i586.tar.gz.
Link:http://www.oracle.com/technetwork/java/javase/downloads/index.html

2.Copy your JDK .tar.gz file to your Desktop.

3.Open Terminal.To open terminal click the Dash home from unity launcher.And type terminal within the search field.And click Terminal.

4.Type the below code in terminal and hit enter to extract in Home folder.

tar -xvf ~/Desktop/jdk-7u4-linux-i586.tar.gz

5.Next sort below command in terminal to make a brand new folder.

sudo mkdir -p /usr/lib/jvm/jdk1.7.0

Type your ubuntu word if required and press enter.

6.Now sort below command to maneuver files.

sudo mv jdk1.7.0_04/* /usr/lib/jvm/jdk1.7.0/

Note:change this (jdk1.7.0_04) per your jdk version.
Example: for JDK seven update five use jdk1.7.0_05

7.Type below command in terminal and hit enter.

sudo update-alternatives --install "/usr/bin/java" "java" "/usr/lib/jvm/jdk1.7.0/bin/java" 1

8.Then sort below command in terminal and hit enter.

sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/lib/jvm/jdk1.7.0/bin/javac" 1

9.Then sort below command in terminal and hit enter.

sudo update-alternatives --install "/usr/bin/javaws" "javaws" "/usr/lib/jvm/jdk1.7.0/bin/javaws" 1

10.After the palmy installation,to check the put in version sort

java -version

install Netbeans IDE on ubuntu 

1.Go to Netbeans transfer page  and transfer the netbeans Linux (x86/x64)  .sh installer file (like netbeans-7.1.2-ml-linux.sh).
Link:http://netbeans.org/downloads/index.html

2.Copy your Netbeans installer file to your Desktop.

3.Open Terminal.To open terminal click the Dash home from unity launcher.And type terminal within the search field.And click Terminal.

4.Type the below code in terminal and hit enter.

cd Desktop


5.Then sort below code in terminal and hit enter

sudo chmod +x netbeans-*

Type your ubuntu word if required and press enter.

6.Then sort below code and press enter

sudo ./netbeans-*

7.And then install Netbeans from user interface installer window.


After the palmy installation,click the Dash home from unity launcher.And type netbeans within the search field.And click Netbeans IDE to open.

0 comments:

Post a Comment