How to create jar file?
On the internet, there is a lot of staff, but the simplest way is as follows:
1. create file a .class file with some java code:
2. put the file into directory e.g. d:\cKeyEventListener\cKeyEventListener\
3. in the command prompt run following command:
- javac is the java compiler and it will create a .java file from the .class file
4. in the command prompt run following command:
- jar command will create our simple jar library in the "d:\cKeyEventListener\" directory.
5. to use the jar library in the processing code, put the jar file in the following directory:
d:\install\processing-1.5.1\modes\java\libraries\cKeyEventListener\library\cKeyEventListener.jar
6. restart the processing and include library by:


