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.

load .class on jforex Platform
 Post subject: load .class on jforex Platform Post rating: 0   New post Posted: Wed 13 Jun, 2012, 23:31 

User rating: 0
Joined: Wed 13 Jun, 2012, 23:03
Posts: 3
Hello,
my strategy consist on one main class file (.jfx ) that loads an external class ( .class is written on eclipse with maven dependencies ) where I have
written some main functions. Actually I have this problem: If in the .class file I don't use dukascopy api I don't have any problem
with LOADING & USING the Methods and the Fields of .class, but if I import and use any of the dukanskopy api on it...the main file .jfx is able to load .class anyway, but after that it crashes. Could you explain me why?

On Eclipse I use :
JForexClientLibrary 2.17.1
DDS2-jClient-JForex 2.17.1

jforex.jnlp use instead :
JForex Api 2.6.70

thanks


 
 Post subject: Re: load .class on jforex Platform Post rating: 0   New post Posted: Mon 18 Jun, 2012, 08:26 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Could you please provide a full example which replicates the problem?
Otherwise, please consider usage of .jar files instead of .class files. In this case you won't need to use reflection to access the functions, see:
https://www.dukascopy.com/wiki/#Include_libraries


 

Jump to:  

  © 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