What is the command to compile a Java program?
5 pts.
0
Q:
What is the command to compile a Java program?
What is the command to compile a Java program? What is the command to run a Java application?
ASKED: Jul 19 2009  5:20 PM GMT
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
0
29795 pts.
0
A:
 RATE THIS ANSWER
0
Click to Vote:
  •   0
  •  0
  • AddThis Social Bookmark Button
compile:

javac YourProgram.java

run:

java YourProgram

Essentials, Part 1, Lesson 1: Compiling & Running a Simple Program

------

Answer by Ashish2:

You can also place the compiled java class file in a specified directory by
javac -d <path> <javaclass name>
Last Answered: Sep 1 2009  1:51 AM GMT by Carlosdl   29795 pts.
Latest Contributors: Ashish2   105 pts.
0
0
Discuss This Answer:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _



_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

KevinBeaver   7610 pts.  |   Jul 20 2009  3:37PM GMT

Download and play around with Eclipse. That’ll help you tremendously.

 
0