Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

JDK for JForex SDK 3
 Post subject: JDK for JForex SDK 3 Post rating: 0   New post Posted: Sat 10 Mar, 2018, 12:50 

User rating: 0
Joined: Fri 09 Mar, 2018, 20:12
Posts: 3
Location: Israel,
Hi,

I have downloaded the JForex SDK 3 from https://www.dukascopy.com/wiki/en/devel ... jforex-sdk

When running the jforex.tester.client.gui.TesterMainGUIMode - I got the following error:

Exception in thread "main" java.lang.UnsupportedClassVersionError: com/dukascopy/api/system/ISystemListener : Unsupported major.minor version 52.0


1. From what I understand, it means that the minimal JDK should be 1.8 but in the JForex-3-SDK pom.xml it states
               <source>1.7</source>
               <target>1.7</target>


Probably needs to be updated?


2. Is it OK to use JDK 9? I have noticed that in the latest JForex changelog you mentioned support for Java 9.
Can I use Java 9 to write my strategies and than test them in the JForex platform?

Thanks.


 
The Best Answer  Post subject: Re: JDK for JForex SDK 3 Post rating: 0   New post Posted: Wed 11 Apr, 2018, 13:56 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Quote:
From what I understand, it means that the minimal JDK should be 1.8 but in the JForex-3-SDK pom.xml it states

Yes. JForex SDK requres JRE 1.8 installed on your PC. Issue happens because you are trying to run SDK on JRE 1.7. JRE can be specified in your IDE Run Configurations.

Quote:
Is it OK to use JDK 9? I have noticed that in the latest JForex changelog you mentioned support for Java 9.
Can I use Java 9 to write my strategies and than test them in the JForex platform?

Strategy API/Indicator API works on Java 7, we plan to implement Java 8 support in future. Exact timeline depends on other workload.


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com