-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
1/24
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
2/24
J.E.D.I.
Installing Java in Ubuntu DapperStep 1: Go to the folder where you have your installers
Step 2: Before running your installer, make sure it is executable. To do this, right clickon the installer, click on the Permissions tab, and then Click on the execute box. Close
the window.
Introduction to Programming I 2
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
3/24
J.E.D.I.
Step 3: Double click on the file jdk-1_5_0_06-linux-i586.bin. A dialog box will display,click on the button 'Run In Terminal'.
After pressing ENTER, you will see the license agreement displayed on the console.
Introduction to Programming I 3
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
4/24
J.E.D.I.
Just press enter, until you see the question: Do you agree to the above license terms?[yes or no]. Just type: yes and press ENTER. Just wait for the installer to finish unpackingall its contents and installing Java.
Introduction to Programming I 4
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
5/24
J.E.D.I.
Step 4: Creating symbolic links
In order to run java commands anywhere, we need to create symbolic links for all thecommands in JDK inside the /usr/local/bin directory. To do this, go to the
directory:/usr/local/bin. Type: cd /usr/local/bin
Introduction to Programming I 5
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
6/24
J.E.D.I.
To make the symbolic links to the commands, type:sudo ln -s /usr/java/jdk1.5.0_01/bin/* .
Introduction to Programming I 6
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
7/24
J.E.D.I.
Installing Java in WindowsStep 1: Using Windows Explorer, go to the folder where your Java installer islocated
Introduction to Programming I 7
Figure 1: Folder containing installers
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
8/24
J.E.D.I.
Step 2: Run the installer
To run the installer, just double-click on the installer icon. A J2SE installer dialog will thenappear. Click on the radio button labeled "I accept the terms in the license agreement"
and press NEXT.
Introduction to Programming I 8
Figure 2: License agreement
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
9/24
J.E.D.I.
Click on NEXT to continue installation.
Click on FINISH to complete installation.
Introduction to Programming I 9
Figure 3: Custom setup
Figure 4: Finish installation
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
10/24
J.E.D.I.
Installing NetBeans in Ubuntu Dapper
Step 1: Go to the folder where you have your installers
Introduction to Programming I 10
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
11/24
J.E.D.I.
Step 2: Before running your installer, make sure it is executable.To do this, right click on the installer, click on the Permissions tab, and then Click on the
execute box. Close the window.
Step 3: Double click on the file netbeans-5_5-beta-linux.bin. Click on Run in Terminal.
Introduction to Programming I 11
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
12/24
J.E.D.I.
A Netbeans 5.5 dialog will then appear. Click on NEXT.
Introduction to Programming I 12
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
13/24
J.E.D.I.
Click on the radio button that says "I accept the terms in the license agreement". Andthen click on NEXT.
For the directory name, change it to: /usr/java/netbeans-4.0, then click on NEXT.
Introduction to Programming I 13
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
14/24
J.E.D.I.
For the JDK directory, choose /usr/java/jdk1.5.0_01, and then click on NEXT.
The next dialog just shows information about NetBeans thatyou will install. Just clickagain on NEXT.
Introduction to Programming I 14
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
15/24
J.E.D.I.
Now, just wait for NetBeans to finish its installation. Click on FINISH to complete theinstallation.
Introduction to Programming I 15
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
16/24
J.E.D.I.
Introduction to Programming I 16
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
17/24
J.E.D.I.
Step 4: Creating symbolic links
In order to run NetBeans anywhere, we need to create symbolic link for it. To do this, gofirst to the directory:/usr/local/bin. Type: cd /usr/local/bin
Make a symbolic link to the NetBeans executable by typing:sudo ln -s /home/florence/netbeans/bin/netbeans .
Now, you can run NetBeans in any directory by typing: netbeans &
Introduction to Programming I 17
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
18/24
J.E.D.I.
Installing NetBeans in Windows
Step 1: Using Windows Explorer, go to the folder where your NetBeans installeris located
Introduction to Programming I 18
Figure 5: NetBeans installer file
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
19/24
J.E.D.I.
Step 2: Run the installer
To run the installer, just double-click on the installer icon. After clicking on the netbeans-5_5-beta-bin-windows icon, the NetBeans installation wizard will appear. Click on NEXT
to enter installation process.
Introduction to Programming I 19
Figure 6: NetBeans installation
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
20/24
J.E.D.I.
The agreement page will the appear. Choose to ACCEPT and click NEXT to continue.
Introduction to Programming I 20
Figure 7: License Agreement
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
21/24
J.E.D.I.
Then you will be given the choice on which directory to place the NetBeans. You canmove on by clicking NEXT or you can click on BROWSE to choose a different directory.
Introduction to Programming I 21
Figure 8: Choose directory where to install NetBeans
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
22/24
J.E.D.I.
Next is choosing the Standard Edition JDKs from your machine. If you have finishedinstalling Java, the jdk1.5.0_01 chould appear from your choices. Click on NEXT tocontinue.
Introduction to Programming I 22
Figure 9: Choose JDK to use
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
23/24
J.E.D.I.
It will then inform you the location and size of NetBeans which will be installed to yourmachine. Click on NEXT to finish installation.
Introduction to Programming I 23
Figure 10: Installation Summary
-
7/31/2019 MELJUN CORTES JEDI Course Notes-Intro1-Appendix a-Java and NetBeans Installation
24/24
J.E.D.I.
You have installed NetBeans on your computer. Click on FINISH to complete installation.
Introduction to Programming I 24
Figure 11: Successful installation