Slides0109 - COP 3330 Slides 1/9 Topics Using Java from the...

Info iconThis preview shows pages 1–11. Sign up to view the full content.

View Full Document Right Arrow Icon
Slides 1/9 COP 3330
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Topics Using Java from the command line Intro to Java
Background image of page 2
Running a Java Program Using Command Line Note: The following slides are for Windows XP The exact details vary between Windows versions Also, the Java version in these slides is a little outdated, but things are still the same in the latest Java release
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Running a Java Program Using Command Line
Background image of page 4
Running a Java Program Using Command Line
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Running a Java Program Using Command Line
Background image of page 6
Running a Java Program Using Command Line Add the path of the bin directory of your JDK install to your path environment variable In my case: - C:\Program Files\Java\jdk1.5.0_04\bin
Background image of page 7

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Running a Java Program Using Command Line
Background image of page 8
Running a Java Program Using Command Line A command prompt can be opened in many ways, including going to the start menu, clicking "run…", and typing "cmd" into the window that appears Navigate to the directory that contains your source files using the "cd" command Compile your program using "javac" Run your program using "java"
Background image of page 9

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Running a Java Program Using Command Line
Background image of page 10
Image of page 11
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/09/2010 for the course CS COP 3330 taught by Professor Douglass during the Spring '09 term at University of Central Florida.

Page1 / 24

Slides0109 - COP 3330 Slides 1/9 Topics Using Java from the...

This preview shows document pages 1 - 11. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online