Cannot find imports in java files in API

Graeme's Avatar

Graeme

15 Apr, 2010 04:31 AM via web

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,

  1. Support Staff 2 Posted by Mathieu on 15 Apr, 2010 09:17 AM

    Mathieu's Avatar

    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...

  2. Mathieu resolved this discussion on 15 Apr, 2010 09:17 AM.

  3. Graeme re-opened this discussion on 17 Apr, 2010 11:33 PM

  4. 3 Posted by Graeme on 17 Apr, 2010 11:33 PM

    Graeme's Avatar

    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,

  5. Support Staff 4 Posted by Mathieu on 19 Apr, 2010 08:32 AM

    Mathieu's Avatar

    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

  6. 5 Posted by Graeme on 20 Apr, 2010 04:19 AM

    Graeme's Avatar

    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

  7. Mathieu resolved this discussion on 20 Apr, 2010 08:57 AM.

Comments are currently closed for this discussion. You can start a new one.

Recent Discussions

10 Sep, 2010 01:40 PM
10 Sep, 2010 09:40 AM
10 Sep, 2010 09:40 AM
10 Sep, 2010 05:39 AM
10 Sep, 2010 05:39 AM