When I run API (java Main.class), I have this mesage: Exception in thread "main" java.lang.NoClassDefFoundError: /JForexClientLibrary/src/singlejartest/Main/class Caused by: java.lang.ClassNotFoundException: .JForexClientLibrary.src.singlejartest.Main.class at java.net.URLClassLoader$1.run(URLClassLoader.java:217) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:323) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:336) Could not find the main class: /JForexClientLibrary/src/singlejartest/Main.class. Program will exit.
Sorry, this one is correct https://www.dukascopy.com/swiss/english/forex/jforex/library/ The problem is that you are trying to run wrong class - JForexClientLibrary.src.singlejartest.Main. The correct one is singlejartest.Main. If you still have question, please do not hesitate to ask.