Build the Connector
The connector code can be built and archived into the required JAR file using the following command line commands:
javac -cp JavaConnector.jar -d build src\myconnector\*.java
jar cf dist\myconnector.jar -C build .
The javac and jar executables can then be found in the Java JDK 'bin' directory (on Windows this is usually something like: c:\Program Files\Java\jdk1.7.0_45\bin\)
These build commands assume that JavaConnector.jar is in the current directory, the build and dist directories exists, and that all source files are in the src/myconnector directory.
Any other dependencies of your connector should be included in the classpath argument of the javac command.
NOTE: Use Java JDK 1.5 or later to build the connector.