Hi everyone,
I just followed the instruction to using ForexConnectAPI 1.6.5 and met a small issue.
Is there someone could help me to solve it.
IDE: Eclipse 2023-3
Language: Java JDK-19
Java.library.path: .;.\bin;C:\Program Files\Candleworks\ForexConnectAPIx64\bin\java;C:\Program Files\Candleworks\ForexConnectAPIx64\bin
Java class.path: C:\Users\guest\eclipse-workspace\Forex\bin
Java working directory: C:\Users\guest\eclipse-workspace\Forex
Add external JARs: C:\Program Files\Candleworks\ForexConnectAPI\bin\java\fxcore2.jar
Code:
public static void main(String[] args) {
O2GSession session = O2GTransport.createSession();
...
}
Issue: java.lang.NoClassDefFoundError: com/fxcore2/O2GTransport at Test.main(Test.java:28)
I tried same code in MacOS/Ubuntu/Win11 and med the same issue.
Kind regards,
George