Page 2 of 4

Re: Developing with Bookmap API (step-by-step)

Posted: Tue Jul 14, 2020 9:39 am
by Andry API support
Hi dm08,
You likely need to specify the JRE. Pls check the link I have sent to you in a private message. You need Java (JDK) 14 for Mac version and Java 8 for Windows

Re: Developing with Bookmap API (step-by-step)

Posted: Tue Sep 29, 2020 8:39 pm
by gravanoc
Hello, I have followed the instructions above, but there have been a couple of problems.  The first issue was getting the import process to follow through, i.e. clicking the Finish button did nothing, but I found a solution on StackOverflow that required finding Buildship and clicking the Installed button, updating it, & restarting Eclipse.  The second issue I haven't found a fix for - when the import finishes there are no extra dependencies shown in the Project/Package Explorer window (it's called Package Explorer on my end, is this the new terminology?).  Please see the attached screenshot for clarification. 

Essentially, when I try to export the simple-demo-master project, it shows nothing in the "Select resources to export" window.  This seems to be a different issue from another poster, who you suggested the Gradle refresh for.  I already have the build.gradle item, & refreshing that did nothing extra.  

Thanks.

Re: Developing with Bookmap API (step-by-step)

Posted: Wed Sep 30, 2020 12:28 pm
by Andry API support
Hi gravanoc,
please delete your project (do not check "delete the project contents on disk"). Reimport the project selecting the inner simple-demo-master folder as root directory not the outer one (see the pic).

Re: Developing with Bookmap API (step-by-step)

Posted: Wed Sep 30, 2020 8:04 pm
by gravanoc
Thank you, that worked.  Unfortunately I've experienced another problem with the export generating the following error (one for each class in the Indicators): Class files on classpath not found or not accessible for ... (foldername) /indicators/(classname).java

I tried cleaning the project as suggested on SO, but no dice in this case.  Please advise, thank you.

 

Re: Developing with Bookmap API (step-by-step)

Posted: Thu Oct 01, 2020 3:27 am
by gravanoc
I was able to resolve the problem by following the instructions here: https://sites.miis.edu/dreadkingrathalo ... -resolved/

Re: Developing with Bookmap API (step-by-step)

Posted: Sat Apr 10, 2021 1:29 pm
by dgtrade
 

Hi Team,

I receive attached error message when importing the jar file that that I created from simple-demo-master according to the steps described in this post. I created the jar file a few times inclduing Gradle Project Refresh. Do you know what's missing ? The error message suggests a log file is written but it's not Thanks (Bookmap Version 7.1.0 build:58) 

Bookmap Error Message.PNG
Bookmap Error Message.PNG (44.21 KiB) Viewed 9213 times
Eclipse Project.PNG
Eclipse Project.PNG (30.27 KiB) Viewed 9213 times

Re: Developing with Bookmap API (step-by-step)

Posted: Mon Apr 12, 2021 6:48 am
by Andry API support
Log files usually are in C:\Bookmap\Config\Logs for Windows or in a similar location for other OS. If the folder is missing let us know.
Bookmap 7.1 runs on Java 1.8 (aka 8). This error usually happens if the compiler has a newer version. But we need to take a look into the log to make sure.
You may try the following: Eclipse IDE -> right click on your project -> Properties -> Java Compiler
Check the JDK Compliance version and change it to 1.8 if needed ("Enable project specific settings" must be ticked to change the default settings). Then, rebuild your project.

Re: Developing with Bookmap API (step-by-step)

Posted: Sat Oct 23, 2021 2:55 pm
by superbean
How do you get Project and External  Dependencies and JAR Files. 

Thanks 

Re: Developing with Bookmap API (step-by-step)

Posted: Sat Oct 23, 2021 2:55 pm
by superbean
How do you get Project and External  Dependencies and JAR Files. 

Thanks 

Re: Developing with Bookmap API (step-by-step)

Posted: Mon Oct 25, 2021 11:09 am
by Andry API support
Hi, you need to add libraries to your build.gradle file and then rebuild the project. Take a look at this example
https://bookmap.com/knowledgebase/docs/ ... pendencies
api-core and api-simplified are the Bookmap API libraries.
Also, you may want to look through the whole tutorial.