Here's a real quick and simple way to get the json.org code and compile it into a reusable library.
First you need to download the source code.
Next you need to extract the source code:
$ unzip json.org $ mkdir src $ mv org src
After you've extracted the source you need to compile the json.org source:
$ mkdir -p bin/classes $ javac -d bin/classes src/org/json/*.java
The final step is to create the org.json.jar
$ cd bin/classes $ jar cvf org.json.jar .
Post a Comment