Presentation is loading. Please wait.

Presentation is loading. Please wait.

Marlene Galea.  The JDK (Java Development Kit)  An IDE (Integrated Development Environment) ◦ Different IDEs include:  JCreator  NetBeans  BlueJ.

Similar presentations


Presentation on theme: "Marlene Galea.  The JDK (Java Development Kit)  An IDE (Integrated Development Environment) ◦ Different IDEs include:  JCreator  NetBeans  BlueJ."— Presentation transcript:

1 Marlene Galea

2  The JDK (Java Development Kit)  An IDE (Integrated Development Environment) ◦ Different IDEs include:  JCreator  NetBeans  BlueJ We will be using BlueJ

3 Marlene Galea Marlene Galea – HoD Computing Java Development Kit (JDK) Compiler DebuggerOther tools Java Runtime Environment (JRE) Java platform core classes Supporting Java platform libraries Java Virtual Machine (JVM) Integrated Development Environment (IDE)

4 Marlene Galea Marlene Galea – HoD Computing Java Development Kit (JDK) Compiler DebuggerOther tools Java Runtime Environment (JRE) Java platform core classes Supporting Java platform libraries A JDK includes the JRE, compiler, debugger and other tools for developing applets and applications. The JRE is what you get when you download Java software. The JRE is the runtime portion of Java software. Java Virtual Machine (JVM) The JVM is software that converts the Java intermediate language (bytecode) into machine language and executes it. Integrated Development Environment (IDE) An IDE e.g. NetBeans is used to edit, compile and debug Java code.

5 Marlene Galea  Go to http://www.bluej.org/ and download BlueJhttp://www.bluej.org/  You may use the JDK and BlueJ combined installer (or you may download the JDKseparately – see here)see here

6 Creating and running your application

7 Marlene Galea  Select ‘New Project’ from the ‘Project’ Menu

8 Marlene Galea  Choose where to save your new folder.  Hit the ‘Create’ button.

9 Marlene Galea  Select ‘New Class’  Name your class and press ‘OK’

10 Marlene Galea  Double-click your class to write your code

11 Marlene Galea  Once you’ve written some code, hit ‘Compile’.

12 Marlene Galea  Right-click on the class holding the method ‘main’.  Select and click method ‘main’ to run.

13 Marlene Galea  Select ‘Create JAR File’ from the Project Menu.

14 If you want to ONLY download the JDK, follow the following steps.

15 Marlene Galea  Click this link to go to the Oracle page from where you can download the JDK Click this link  Select ‘Download Java’ as shown:

16 Marlene Galea  Accept Licence Agreement  Select the product for your system

17 Marlene Galea


Download ppt "Marlene Galea.  The JDK (Java Development Kit)  An IDE (Integrated Development Environment) ◦ Different IDEs include:  JCreator  NetBeans  BlueJ."

Similar presentations


Ads by Google