Having hard time getting Bookmap sample projects to work with IntelliJ
Posted: Thu Oct 09, 2025 4:12 pm
Hello,
I wanted to try and make a change to an add-on that I developed using Eclipse when I started with Bookmap a few years ago so I used the Simplified API setup videos to install IntelliJ this time around and I wasn’t able to get any of my projects to compile. I decided to try following the DemoStrategies setup directions to see if it was something with the way the IDE was set up or if it was something with each of my projects’ Gradle configurations and I was also unable to get that to work. However, after making some changes to my Gradle settings I was finally able to get my projects to build and create their jar files, but I was still unable to get the DemoStrategies to work. I ended up giving the simple-demo project a try and could not get that to work either.
After all that I decided to try and create something from scratch, so I followed the Drawing indicators video I found on youtube but when I got to the step where you add the Indicator to the MovingAverage class IntelliJ does not acknowledge the simplified API, even though I see the Gradle Bookmap API libraries in the External Libraries section of the Project pane.
At this point all i want to do is make sure i have the IDE set up properly before I continue to investigate all the different errors I’ve been getting after each change I’ve made along the way. What are the preferred JDK and Gradle versions currently for the Simplified API? I originally let IntelliJ install JDK25 and use its Gradle integration. I then installed and tried using JDK’s 11 and 14 to no avail but I'm still using IntelliJ's Gradle integration. Is that sufficient or should I have installed Gradle separately like we did for eclipse?
Whats confusing me the most is that my addons were developed using one of the JDK 8 updates and Gradle version 6.8.3 and I was able to get them to work somehow but i cant seem to get 2 Bookmap projects that appear to use newer versions of Java and Gradle to work or a get a new project to work.
Any insight would be appreciated.
Thanks,
Dean
I wanted to try and make a change to an add-on that I developed using Eclipse when I started with Bookmap a few years ago so I used the Simplified API setup videos to install IntelliJ this time around and I wasn’t able to get any of my projects to compile. I decided to try following the DemoStrategies setup directions to see if it was something with the way the IDE was set up or if it was something with each of my projects’ Gradle configurations and I was also unable to get that to work. However, after making some changes to my Gradle settings I was finally able to get my projects to build and create their jar files, but I was still unable to get the DemoStrategies to work. I ended up giving the simple-demo project a try and could not get that to work either.
After all that I decided to try and create something from scratch, so I followed the Drawing indicators video I found on youtube but when I got to the step where you add the Indicator to the MovingAverage class IntelliJ does not acknowledge the simplified API, even though I see the Gradle Bookmap API libraries in the External Libraries section of the Project pane.
At this point all i want to do is make sure i have the IDE set up properly before I continue to investigate all the different errors I’ve been getting after each change I’ve made along the way. What are the preferred JDK and Gradle versions currently for the Simplified API? I originally let IntelliJ install JDK25 and use its Gradle integration. I then installed and tried using JDK’s 11 and 14 to no avail but I'm still using IntelliJ's Gradle integration. Is that sufficient or should I have installed Gradle separately like we did for eclipse?
Whats confusing me the most is that my addons were developed using one of the JDK 8 updates and Gradle version 6.8.3 and I was able to get them to work somehow but i cant seem to get 2 Bookmap projects that appear to use newer versions of Java and Gradle to work or a get a new project to work.
Any insight would be appreciated.
Thanks,
Dean