javascript
Brief description  about Online courses   join in Online courses
View Saswati  Sahoo 's Profile

Procedures to Compile

How to compile and run package program in command prompt.I am able to compile it in my eclipse IDE and i am also getting proper output can u tell me exactly the procedures run a package program in Command prompt.
Asked by Saswati Sahoo | Dec 1, 2010 |  Reply now
Replies (1)
View arun kumar das 's Profile
Hi

package file compile with following command:

>javac -d . file.java
compile the imported package file
> javac file.java
run it
>java file

i think you will get it and will success to run it.

java teacher
Dec 13, 2010