View Full Version : compilation
aarthi_8288
01-24-2009, 05:30 PM
how do i compile my java source file from anywhere on my comp... should i set the path variable or the classpath variable
servlet
01-27-2009, 06:35 AM
Classpath is used to find the java classes (.class files) to be loaded. it doesnt help in compiling. you need to specify the source file path to javac for compiling source files.
see http://ptolemy.eecs.berkeley.edu/~johnr/tutorials/tcljava98/notes/compiling.html for more details
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.