
how to do java in command prompt?

Hello Friend,
Please visit the following links:
http://www.roseindia.net/java/learn-java-in-a-day/download-and-install-java.shtml
http://www.roseindia.net/java/java-classpath.shtml
Thanks

hi friend..
In cmd prompt use the cmds like
edit(blue screen will opened type ur java program and save "class name" as file name wirh the ext is ".java")
after this do file -> exit black screen will appear
javac filename.java ( this cmd is for compile and interpert the java pgm )
java filename (this cmd is to run the java pgm)
hope this will help u to work in cmd prompt....

hi friend..
In cmd prompt use the cmds like
1.edit(blue screen will opened type ur java program and save "class name" as "file name" with the extention ".java")
after this do file -> exit black screen will appear
2.javac filename.java ( this cmd is for compile and interpret the java pgm )
3.java filename (this cmd is to run the java pgm)
hope this will help u to work in cmd prompt....