Lord Stiltskin Lord Stiltskin - 4 months ago 23
JSON Question

Java says package doesn't exist. But it's in classpath

First of all, Java noob. I'm trying to decode a JSON string. I got the package

and copied it to
C:\Program Files\Java\jre1.8.0_112\lib\ext
but java says it doesn't exist. I tried changing CLASSPATH to the same path as well. I'm not using any IDE

I even tried copying it to


try the following command:

javac -classpath ".;home/path/json-20160810.jar" yourJavaFile.java