104k views
5 votes
Assuming you are using the sun sdk, what command would you type at the operating system command prompt to compile the program labassignment.java?

User ZeissS
by
7.0k points

1 Answer

2 votes
Assuming javac is on the PATH variable:

javac labassignment.java

Otherwise, it would have to be:

/path/to/javac labassignment.java
User Flyingmouse
by
6.4k points