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.

Java 1.6 only
 Post subject: Java 1.6 only Post rating: 0   New post Posted: Fri 28 Mar, 2014, 09:45 
User avatar

User rating: 96
Joined: Mon 09 Sep, 2013, 07:09
Posts: 287
Location: Ukraine, SHostka
The POM file of JForex-SDK contains a snippet:
<plugin>
   <artifactId>maven-compiler-plugin</artifactId>
   <version>3.0</version>
   <inherited>true</inherited>
   <configuration>
      <source>1.6</source>
      <target>1.6</target>
      <fork>true</fork>
      <encoding>UTF-8</encoding>
   </configuration>
</plugin>

If one removes lines
<source>1.6</source>
<target>1.6</target>
he or she can use ALL Java 7 features (diamond notation etc.).
But method IClient.compileStrategy does not support Java 7 source files.


 
 Post subject: Re: Java 1.6 only Post rating: 0   New post Posted: Mon 31 Mar, 2014, 07:28 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
The compileStartegy method is meant to compile strategies in order to use them afterwards in the platform. The platform works with Java 6, therefore the restriction.


 

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