This thread is about the JET build of KoLmafia. It's a native KoLmafia exe. What that means is that the executable runs independently of Java and does not require a JVM. If you have any questions, check the FAQ below first, or feel free to ask in this thread.
Why did you do this?
Mostly out of curiosity, I also noticed that Java was using 600mb of RAM today and I knew that a native exe would use less, not that I have any shortage of RAM or anything...
Why is this useful?
Hmm... Well, if you're running on a Windows system where RAM usage may be a factor, this might be pretty useful to you. Also if you're running on (Windows) systems that for whatever reason will not allow you to install the JRE (due to perhaps domain policies, ie. school or workplace) then this should work too. It might also be handy as a portable app solution for thumbdrives, as again this doesn't rely on the target machine running Java.
How did you do this?
I used Excelsior JET 9.0 (pro version), it was actually pretty easy.
What's with the large file size?
I optimized the build package for launch speed as opposed to disk footprint. I've tweaked the build process a little since the initial release though, which has reduced the disk footprint from what it once was.
How do I get it working?
You'll need to extract the 7-zip files into a directory of your choice. The rt.7z file contains the Excelsior JET runtimes and needs to be extracted to the same directory (leave them in the /rt/ folder though). With new releases, you should just need to download KoLmafia.7z and replace the old exe.
Are there any benefits in this?
Well, my launch time is practically instantaneous (probably due to no longer having to invoke a JVM at launch), my RAM usage has not gone higher than 64mb as of writing and the GUI seems subjectively more responsive. I haven't tried any other comparisons as yet (ie. arithmetic performance). Feel free to try it out and let me know what you think
Are you planning to support this?
Yes! Thanks to Holatuwol, I'm able to provide builds on the SourceForge page roughly once a day. Let me know if you have issues with the JET build specifically (ie. not a KoLmafia bug).
Are you planning on compiling an x64 version?
Short answer: No, but maybe some day. You shouldn't need it.
Long answer here.
This is a stupid idea!
Hey, it's not for everyone, there's no need to hate!
Excelsior JET 9.0 Runtimes
This script should let you know when a new build has been uploaded to sourceforge, feel free to add it to your login script.