Error running vdpplayground.jar on Ubuntu

Semissatto
New Contributor

Error running vdpplayground.jar on Ubuntu

Hello

I'm trying to get VISA BIN information using this tutorial on Ubuntu 18 

https://community.developer.visa.com/t5/Tutorials/How-to-Connect-to-the-Visa-BIN-Attributes-Sharing-...

 

But I'm facing the error as in this thread https://community.developer.visa.com/t5/Two-way-SSL-X-Pay-Token/VDC-Playground-not-working/td-p/1394...

 

When I try to run the vdpplayground.jar using the command below:

java -jar vdpplayground.jar

 

I got the error:

Exception in thread "main" java.lang.NoClassDefFoundError: org/json/JSONException
at java.base/java.lang.Class.forName0(Native Method)
at java.base/java.lang.Class.forName(Class.java:398)
at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader.main(JarRsrcLoader.java:56)
Caused by: java.lang.ClassNotFoundException: org.json.JSONException
at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:476)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:589)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 3 more

 

These are my java versions:

openjdk version "11.0.17" 2022-10-18
OpenJDK Runtime Environment (build 11.0.17+8-post-Ubuntu-1ubuntu218.04)
OpenJDK 64-Bit Server VM (build 11.0.17+8-post-Ubuntu-1ubuntu218.04, mixed mode, sharing)

 

 

Can someone please help me?

 

Thanks in advance

 

1 REPLY 1
jenn_kh
Community Moderator

Re: Error running vdpplayground.jar on Ubuntu

Thank you for your question, @Semissatto. An agent will get back to you as soon as possible. In the meantime, if any community member knows the solution, please reply to this thread! -Jenn