updated the README to include commands for Unix systems

This commit is contained in:
Janit Sriganeshaelankovan 2021-10-14 16:43:30 -04:00
parent cf43419015
commit 9f19c22b77

View File

@ -54,7 +54,8 @@ jar cf json-java.jar org/json/*.class
*Compile a program that uses the jar (see example code below)* *Compile a program that uses the jar (see example code below)*
```` ````
javac -cp .;json-java.jar Test.java javac -cp .;json-java.jar Test.java (Windows)
javac -cp .:json-java.jar Test.java (Unix Systems)
```` ````
*Test file contents* *Test file contents*
@ -71,7 +72,8 @@ public class Test {
*Execute the Test file* *Execute the Test file*
```` ````
java -cp .;json-java.jar Test java -cp .;json-java.jar Test (Windows)
java -cp .:json-java.jar Test (Unix Systems)
```` ````
*Expected output* *Expected output*