Closed Robert-Rendell closed 5 months ago
I don't have any assertions in my java code
That should be fixable by setting _JAVA_OPTIONS="-ea"
in your env when running Bolt?
I'm not familiar with runelite plugin development, what's that jar file you're trying to run? Is it a custom build or did you get it from somewhere? It might be that it's a build of the runelite game client, whereas Bolt expects to be running the launcher.
That should be fixable by setting
_JAVA_OPTIONS="-ea"
in your env when running Bolt?I'm not familiar with runelite plugin development, what's that jar file you're trying to run? Is it a custom build or did you get it from somewhere? It might be that it's a build of the runelite game client, whereas Bolt expects to be running the launcher.
Ok so it sounds like the setting on Bolt called "Use custom RuneLite JAR", isn't what I was expecting it to be. To replay what you said, that field on Bolt is expecting a jagex launcher jar and not a runelite client jar (the latter is what I'm using).
Is my understanding correct? Can you point me in the right direction for running my custom runelite jar with jagex launcher on ubuntu?
Well you could create your own build of the launcher and run that. But that might need a lot of modification. The launcher downloads a lot of JAR files, not just one, and it launches them as a --classpath
.
I'll have a go of making my own build of the launcher. Any modifications that are strikingly obvious to you to get me started?
I meant a custom build of runelite's launcher not Bolt. Runelite has separate JAR files for its launcher and its client.
Are there any instructions for building runelite's launcher?
Thanks for all your help @Adamcake. I've created an issue on runelite launcher repo. Closing this issue since there are no modifications required to Bolt to get my runelite client jar working.
Using custom jar from bolt:![Screenshot from 2024-01-07 01-30-46](https://github.com/Adamcake/Bolt/assets/11077105/12785b3a-04fd-4e46-8a68-b4f62878bafc)
Error when running:![Screenshot from 2024-01-07 01-31-21](https://github.com/Adamcake/Bolt/assets/11077105/cbf1ac59-c111-4f10-8e2b-36ae2c9e84c3)
I can replicate this error by omitting the "-ea" flag: `$ java -jar runelite-plugin-development.jar"