Download Getting Java on Your Computer

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Marlene Galea

The JDK (Java Development Kit)

An IDE (Integrated Development Environment)
◦ Different IDEs include:
 JCreator
 NetBeans
 BlueJ
We will be using
BlueJ
Marlene Galea
Java Development Kit (JDK)
Compiler
Debugger
Other tools
Java Runtime Environment (JRE)
Java platform
core classes
Java Virtual Machine (JVM)
Supporting Java
platform
libraries
Integrated Development Environment (IDE)
Marlene Galea – HoD Computing
Marlene Galea
Java Development Kit (JDK)
A JDK includes the JRE, compiler, debugger and other tools for developing applets
and applications.
Compiler
Debugger
Other tools
Java Runtime Environment (JRE)
The JRE is what you get when you download Java software. The JRE is the
runtime portion of Java software.
Java platform
core classes
Supporting Java
platform
libraries
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.
Marlene Galea – HoD Computing
Marlene Galea


Go to http://www.bluej.org/ and download
BlueJ
You may use the JDK and BlueJ combined
installer (or you may download the
JDKseparately – see here)
Marlene Galea
Creating and running your
application

Select ‘New Project’ from the ‘Project’ Menu
Marlene Galea


Choose where to save your new folder.
Hit the ‘Create’ button.
Marlene Galea


Select ‘New Class’
Name your class and press ‘OK’
Marlene Galea

Double-click your class to write your code
Marlene Galea

Once you’ve written some code, hit ‘Compile’.
Marlene Galea


Right-click on the class holding the method
‘main’.
Select and click method ‘main’ to run.
Marlene Galea

Select ‘Create JAR File’ from the Project Menu.
Marlene Galea
If you want to ONLY download
the JDK, follow the following
steps.


Click this link to go to the Oracle page from
where you can download the JDK
Select ‘Download Java’ as shown:
Marlene Galea


Accept Licence Agreement
Select the product for your system
Marlene Galea
Marlene Galea