in java, your don't run files, you run classes. :-) so, if your class is in default package(which is the case I guess)
simply, cd to the directory where the class is located and type java First. if the class is in package* home.gunjan.practice *(the package needs to be declared in the source file) then* java home.gunjan.practice.First. *In this case, the class needs be in directory *home/gunjan/practice*[notice its a relative path] below any directory in the classpath [most likely, the current directory is in the classpath]. -- Debasish Ray Chawdhuri Dept. of Textile Technology, IIT Delhi -- l...@iitd - http://tinyurl.com/ycueutm
