Make Battlescribe work with OpenJDK [OSX]
(repost from reddit)
I'm trying to get Battlescribe (18.104.22.168) running on OSX: High Sierra using the JRE from OpenJDK 8 (from AdoptOpenJDK). This is the output from java -version:
openjdk version "1.8.0192"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0192-b12)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.192-b12, mixed mode)
When I try to run Battlescribe (by clicking on the app, or by running the launcher executable from the terminal) I get the JRE missing error window. It seems that Battlescribe is unable to find the JRE I have installed.
I'm guessing it may be a problem with the OSX launcher?
Yeah, that worked. Awesome! And I agree that Battlescribe should use the other launcher.
Dan Baker commented
I also did what Nick suggested and it worked fine here.
William WM commented
I tried what Nick Lironi-Irvine suggested and that worked, perhaps that is the easiest solution to include that in the Package from the beginning?
Nick Lironi-Irvine commented
I was able to work around this by replacing the JavaAppLauncher executable in the MacOS folder of the Battlescribe.app package with the (renamed) universalJavaApplicationStub from https://github.com/tofi86/universalJavaApplicationStub