I am attempting to read/write JSON files into my Java application.
I am using the the import org.json.simple; command to pull in the package.
Even when it appears to be obvious that the .jar file is within the classpath, it appears to me that c9 is still not noticing the .jar file.
I consistantly get this error when attempting to compile:
~/workspace/src $ javac -cp .:/lib/json-simple-1.1.1.jar -d …/classes json/src/main/java/com/devjavasource/java8/json/*.java -Xlint:unchecked
json/src/main/java/com/devjavasource/java8/json/CustomerJsonRead.java:3: error: package org.json does not exist
I have java 8 and maven installed.
Am I still missing something, since javac is not recognizing the .jar file?