130 likes | 275 Views
Java Integrated Development Environment: Netbeans . First Step Installation. Download and Install: Java Development Kit (JDK) https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jdk-6u16-oth-JPR@CDS-CDS_Developer
E N D
First Step Installation Download and Install: • Java Development Kit (JDK) https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewProductDetail-Start?ProductRef=jdk-6u16-oth-JPR@CDS-CDS_Developer 2. NetBeans IDE (The version of 302MB preferably) http://www.netbeans.org/downloads/index.html
Learn Debugging! • We have several operations we can perform for debugging. • These operations are found in the Debug tab of the menu bar. • You can step into a function which means you will go to the next line of the code and if it is a function call it will now go into that function. • If you want to keep stepping without going into a function you can use step over to execute the line and move on without entering the function.
Learn Debugging! • Assuming we used step into to get into a function call and started debugging in there we can now use a corresponding step called step out. This will finish executing the rest of the function that you are currently in and will place you on the next line to be executed after the function. • Lets assume we are done stepping through our code and we want to finish executing the program. Well you can either click run continue or you can click the continue button on the toolbar. • Alternatively if we do not want to debug anymore and we don't want the program to end or it never does end you can just hit the finish debugging button from the toolbar or in the run menu.
Make JAR Files !! JAR file is a file format based on the popular ZIP file format and is used for aggregating many files into one. To make a Jar file with Netbeans you just have to compile the project.
Experiment! • For many other tutorials: • http://www.netbeans.org/kb/index.html • http://www.netbeans.org/kb/docs/java/quickstart.html • http://www.netbeans.org/kb/docs/intro-screencasts.html Presented by Irini Genitsaridi E-mail: genitsarATics.forth.gr