Skip to content

Commit

Permalink
Merge pull request #634 from JanitSri/update-README
Browse files Browse the repository at this point in the history
updated the README to include commands for Unix systems
  • Loading branch information
stleary committed Oct 16, 2021
2 parents 4e601fd + 9f19c22 commit 2528e60
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Expand Up @@ -54,7 +54,8 @@ jar cf json-java.jar org/json/*.class

*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*
Expand All @@ -71,7 +72,8 @@ public class Test {

*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*
Expand Down

0 comments on commit 2528e60

Please sign in to comment.