Cannot find imports in java files in API
So I downloaded the API jar files and was trying to mess with
Tutorial 1.
Using NetBeans it tells me that it cannot find any of the
following:
import static
com.algodeal.marketData.instruments.Futures.;
import com.algodeal.marketData.prices.;
import com.algodeal.quantix.strategies.*;
Nosing inside the jar files that come with the API download, I
can't find these paths.
Has anyone managed to get AlgoDeal to run locally under
NetBeans?
Thanks,
Comments are currently closed for this discussion. You can start a new one.
Support Staff 2 Posted by Mathieu on 15 Apr, 2010 09:17 AM
Hi Graeme,
We've just put online a tutorial on how to get started with the samples using NetBeans. Just have a look there:
http://support.algodeal.com/faqs/getting-started/getting-started-wi...
Mathieu resolved this discussion on 15 Apr, 2010 09:17 AM.
Graeme re-opened this discussion on 17 Apr, 2010 11:33 PM
3 Posted by Graeme on 17 Apr, 2010 11:33 PM
Hello Mathieu,
Still having problems.
I followed the tutorial you provided but I still get the following error on the first import:
package com.algodeal.marketData.instruments does not exist
I have NO package statements in my source file. I Added the libs folder just as your tutorial stated. In the lib file there is no jar file corresponding to com.algodeal.marketData.* Is that correct?
Thanks,
Support Staff 4 Posted by Mathieu on 19 Apr, 2010 08:32 AM
Hi Graeme,
This package is located in the "data-common-1.1.6.jar" under the libs directory. The sources are also included, in the "data-common-1.1.6-sources.jar" as a reference.
Could you please make sure you are using the 1.1.6 version of the framework, along with the 1.1.6 version of the tutorial? It sounds like you are using wrong version of either one, or both...
Hope this helps,
Mathieu
5 Posted by Graeme on 20 Apr, 2010 04:19 AM
Hello Mathieu,
You might be right. I cleaned my entire environment of all marketdata and algodeal files, erased all my projects, and started totally from scratch downloading and configuring NetBeans. it now works successfully.
Thanks very much for your help :)
Graeme
Mathieu resolved this discussion on 20 Apr, 2010 08:57 AM.