This week's book giveaway is in the General Computing forum. We're giving away four copies of Arduino in Action and have Martin Evans, Joshua Noble, and Jordan Hochenbaum on-line! See this thread for details.
i prefer working on my java programs over windows command line, and i would like to add an external jar file so i can start writing some servlets. i've googled, but haven't found any walkthrough for something like this (which surprised me) - anyone happen to know good way to do this?
regards and thanks in advance. [ January 02, 2009: Message edited by: David Westbrook ]
If you simply want to compile or run apps from command line, you can just add the jars to the classpath: win: javac -classpath c:\path1\ext1.jar;d:\path2\ext2.jar de\example\MyClass.java
When running a java application, you have to add the classes folder as well win: java -classpath bin;c:\path1\ext1.jar;d:\path2\ext2.jar de.example.MyClass
Note that under *ux* OS not a semicolon( , but a colon( is used to separate classpath parts.