I want to compile an eclipse java project from command line. To make it easier I've put all my java files and the jar file that I need in my program in one direcotry. The path to the said direcory is:
C:\Users\Besi\Desktop\Test\src
My main class is called Program.java
Now, I am having problems with importing the jar file and compiling my main class. I mean I cannot compile it without importing the jar file but at the same time I don't know how to this in the command line. I tried this:
javac -classpath ".:C:\Users\Besi\Desktop\Test\src\javatuples-1.2;" Program.java
but it doesn't work. Any advice?