Exposure Java Slides - Fort Thomas Independent Schools
Download
Report
Transcript Exposure Java Slides - Fort Thomas Independent Schools
The Basic Java Tools
A text editor to write Java program source code.
A compiler to translate source code into bytecode.
An interpreter to translate and execute bytecode.
3 Steps of a Java Program
1. Write the Java source in some text editor.
The source code file must end with .java
2. Translate the source code file with a Java
compiler into an intermediate bytecode file
that will end with .class
3. Execute the bytecode file with a Java Virtual
Machine (JVM) program, which is an interpreter.
Note: All three of these steps can be done with a
text editor and the command prompt or an Integrated
Development Environment (IDE), like JCreator.
The URL is
http://www.oracle.com/technetwork/java/javase/downloads/index.html
You will need to select your platform
and agree to the License Agreement.
At John Paul II High School, and many other
schools, we use a Windows platform.
Click Continue >>
Click the jdk-6u24-windows-i586.exe
file to begin the download.
Click Save.
Browse to your Desktop
and click Save.
Click Close.
Close your web browser.
Find this file on your Desktop and double-click it.
After you double click the
file Windows may ask you
for permission to install.
Go ahead and “Allow” it.
A couple other windows
may flash quickly on the
screen before you see the
window on the next slide…
You do not need to register.
Just close this window right after it opens.
Downloading JCreator
JCreator 5.0 LE is FREEWARE distributed
and copyrighted by Xinox Software.
This means you can download it at home
for free to work on your Java assignments.
The next several slides will demonstrate the
downloading process:
This link will eventually
show up. Be patient.
JCreator LE (Light Edition) is free and has
everything we need. JCreator Pro has additional
features which we do not need, and is not free.
You will need to provide a name & email address.
Click SUBMIT and then you need to switch to
your email software where a message is provided
with instructions to download the software.
Click the download link provided in the email.
Click Save.
Browse to your Desktop
and click Save.
The file should download in several seconds.
Click Close.
Find this file on your Desktop and double-click it.
This screen might pop up. If it does, just click Run.
You might get a message stating that a certain folder
does or does not exist. In either case, just click Yes.
This should be the ONLY Profile.
It should be at the very top.
It should NOT be red.
Make sure all check marks are removed.
Quit JCreator and reload it by double clicking the new
icon which should now be somewhere in your desktop.
The File View, Package View,
and Class View windows
on the left are not needed for now.
Click the [x] to close each.
This is how your
JCreator screen should look.