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.

Cannot complie strategy in JForex because eclipse in installed
 Post subject: Cannot complie strategy in JForex because eclipse in installed Post rating: 0   New post Posted: Tue 25 Sep, 2012, 02:03 
User avatar

User rating: 0
Joined: Mon 19 Mar, 2012, 17:15
Posts: 10
Hi there,
I cannot compile any strategy in the JForex after I installed eclipse and ran the main.jave code within the eclipse. I now get the following error in Jforex:

Could not find the main class: org.eclipse.jdt.internal.compiler.batch.Main.  Program will exit.
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader$1.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.eclipse.jdt.internal.compiler.batch.Main
java.lang.NoClassDefFoundError: org/eclipse/jdt/internal/compiler/batch/Main


This happens even is I create a sample strategy (attached) in in the JForex platform.

Thanks for your help.


Attachments:
MorningStrategy.java [1.04 KiB]
Downloaded 321 times
DISCLAIMER: Dukascopy Bank SA's waiver of responsability - Documents, data or information available on this webpage may be posted by third parties without Dukascopy Bank SA being obliged to make any control on their content. Anyone accessing this webpage and downloading or otherwise making use of any document, data or information found on this webpage shall do it on his/her own risks without any recourse against Dukascopy Bank SA in relation thereto or for any consequences arising to him/her or any third party from the use and/or reliance on any document, data or information found on this webpage.
 
 Post subject: Re: Cannot complie strategy in JForex because eclipse in installed Post rating: 0   New post Posted: Wed 26 Sep, 2012, 02:18 
User avatar

User rating: 0
Joined: Mon 19 Mar, 2012, 17:15
Posts: 10
I rebooted my machine and it now seems to work like normal.
Cheers


 

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