How To Install Sun Java SE 6 JDK and NetBeans 5.5.1 on Fedora 7 - Page 3

Want to support HowtoForge? Become a subscriber!
 
Submitted by tpop2005 (Contact Author) (Forums) on Wed, 2007-08-15 19:47. ::

6 Downloading and installing Netbeans 5.5.1

Now, go to NetBeans home page to download NetBeans installer.

Sun Java SE 6 JDK and NetBeans 5.5.1 on Fedora 7 - Pic10

Click on the Download NetBeans IDE button. It will take you to another download page. If you are running are accessing the NetBeans website from the PC where your Fedora 7 has been installed, the NetBeans will select the correct version of installer for Linux (at this time it is the file called netbeans-5_5_1-linux.bin).

Sun Java SE 6 JDK and NetBeans 5.5.1 on Fedora 7 - Pic11

Click again on the Download NetBeans IDE button to download the file on your desktop. After the download, the NetBeans IDE installer file will be on your desktop (/home/tomo/Desktop).

To start NetBeans execute the following commands.

First, start terminal and become root:

su

Make sure that you are in the desktop folder where the installer was downloaded (/home/tomo/Desktop):

cd /home/tomo/Desktop

Make the NetBeans installer file executable:

chmod a+x netbeans-5_5_1-linux.bin

Finally, execute NetBeans IDE installer:

./netbeans-5_5_1-linux.bin

Sun Java SE 6 JDK and NetBeans 5.5.1 on Fedora 7 - Pic11-0

Follow the setup wizard by clicking Next. You can specify different options, but selecting the default values will work OK.

Sun Java SE 6 JDK and NetBeans 5.5.1 on Fedora 7 - Pic12

Select the license agreement by clicking the Next button.

Sun Java SE 6 JDK and NetBeans 5.5.1 on Fedora 7 - Pic13

NetBeans installer should find your Java SE installation. Click Next to continue.

Sun Java SE 6 JDK and NetBeans 5.5.1 on Fedora 7 - Pic14

NextBeans will offer the default destination folder as /opt/netbeans-5.5.1. These settings are fine, click Next to proceed. NetBeans installer will display the summary of selected options. Select Next to proceed. Wait for the setup to finish.

Sun Java SE 6 JDK and NetBeans 5.5.1 on Fedora 7 - Pic15

After the setup the NetBeans icon will show in the Appliations menu under Programming. You may want to try it to see if it starts.

Sun Java SE 6 JDK and NetBeans 5.5.1 on Fedora 7 - Pic16

7 Final Tuning

Now we want to make sure that NetBeans can access Java SE 6 Documentation as well as to fix the web browser setting.

First click on the Java Platform Manager menu item under Tools menu. The following dialog will appear:

Sun Java SE 6 JDK and NetBeans 5.5.1 on Fedora 7 - Pic17

Click on Add/Zip folder button to tell NetBeans where our Java SE 6 Documentation is.

 
Sun Java SE 6 and NetBeans on Fedora 7 - Pic 18

Now, let's change the default web browser. Select Options menu item from the Tools menu. Change the web browser to Firefox.

Sun Java SE 6 and NetBeans on Fedora 7 - Pic 19

That should do it. You should have both Java SE 6 JDK and NetBeans installed on your Fedora 7. Good luck!


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.
Submitted by Anonymous (not registered) on Tue, 2010-06-15 06:44.

Thanks, the howto is really excellent and solved lots of problems in installing netbeans..

Submitted by Paula Martinez (not registered) on Tue, 2009-10-06 22:25.
thanks for the howto
you can't imagine how much problems i had to install java...
Submitted by Paul Ryan (not registered) on Mon, 2009-08-24 00:36.
Thanks for the excellent HOWTO. Fit my need perfectly.