title: Provider org.glassfish.json.JsonProviderImpl not found at javax.json.spi.JsonProvider.provider(JsonProvider.java:97)
body: <p><strong>How to run Java API for JSON Processing(JSR 374) in eclipse?</strong><br/><br/>I am trying to parse JSON string to JsonParser(javax.json.stream.JsonParser). Also added javax.json-api-1.0.jar in the build path. At runtime, there is an exception.
  My code is</p>
  
  <pre><code>import java.io.StringReader;
  import javax.json.Json;
  import javax.json.JsonReader;
  import javax.json.JsonStructure;
  import javax.json.stream.JsonParser;
  import javax.json.stream.JsonParser.Event;
  import javax.json.JsonReader;
  import javax.json.JsonStructure;
  import javax.json.stream.JsonParser;
  import javax.json.stream.JsonParser.Event;
  public class jsonnn {
  public class jsonnn {
  public static void main(String[] args) {
          // Parse back
          final String result = "{\"name\":\"Falco\",\"age\":3,\"bitable\":false}";
          final JsonParser parser = Json.createParser(new StringReader(result));
          String key = null;
          String value = null;
          while (parser.hasNext()) {
              final Event event = parser.next();
              switch (event) {
              case KEY_NAME:
                  key = parser.getString();
                  System.out.println(key);
                  break;
              case VALUE_STRING:
                  value = parser.getString();
                  System.out.println(value);
                  break;
              }
          }
          parser.close();
      }
  }
  </code></pre>
  
  <p>And the exception is </p>
  
  <pre><code>Exception in thread "main" javax.json.JsonException: Provider org.glassfish.json.JsonProviderImpl not found
  at javax.json.spi.JsonProvider.provider(JsonProvider.java:97)
  at javax.json.Json.createParser(Json.java:90)
  at jsonnn.main(jsonnn.java:14)
  Caused by: java.lang.ClassNotFoundException: org.glassfish.json.JsonProviderImpl
  at java.net.URLClassLoader.findClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
  at java.lang.ClassLoader.loadClass(Unknown Source)
  at java.lang.Class.forName0(Native Method)
  at java.lang.Class.forName(Unknown Source)
  at javax.json.spi.JsonProvider.provider(JsonProvider.java:94)
  ... 2 more
  </code></pre>