Up until now I have relied on my
Java Editor (JCreator Pro) to handle my java compiling. I am now trying to learn how to do it all from the command line so that I will be able to work on any platform.
I know the basic command options for compiling and running a java program. However, the classpath option is confusing me a little.
I know that java -classpath path_to_extra.jar myFile.java will compile my java file using path_to_extra.jar to search for external class libraries that I have included that are not part of the standard JDK.
Now, when I launch this application, and I use the -classpath with the java command, does it work the same? Do I even need to include it? Or does using this tag used with the JAVA command over-ride the compilers default package search?
Thanks for any help.