HGL
rising-crimson

Way to Run Jar Installer?

Is there a way to add a game to Heroic where the installation file is a .jar? I am trying to manual add Forge (Magic the Gathering Engine) https://github.com/Card-Forge/forge It has a .jar for an installer and isn't the advantage of Java is that you write once run everywhere?
GitHub
GitHub - Card-Forge/forge: An unofficial rules engine for the world...
An unofficial rules engine for the world's greatest card game. - Card-Forge/forge
7 Replies
fair-rose
fair-rose5mo ago
you would set your jre executable as your target and add your .jar as launch options
rising-crimson
rising-crimsonOP5mo ago
So I tried to make a new LInux game where I run java with the proper parameters. It runs and closes very quickly. No files are adjusted in linux that I can tell. I couldn't actually set/select the java files with the Heroic Browser. I just typed the path in. Here are screenshots of the settings. https://i.imgur.com/e7kzVa5.png https://i.imgur.com/EPlww4b.png
Imgur
Imgur
fair-rose
fair-rose5mo ago
How did you install Heroic?
CommandMC
CommandMC5mo ago
That's the Flatpak version (judging by the image path) Flatpak can't see your system Java (and there's not really a way to make that work)
evident-indigo
evident-indigo5mo ago
You could download the java jdk and stick it in a folder that the flatpak does have access to, https://jdk.java.net/
rising-crimson
rising-crimsonOP5mo ago
I am using Mint Linux. Yes it is the flakpak version. There is no System Pack in the Software Manager. Could you give me an example of a folder/location that the heroic-flatpak would have access to?
evident-indigo
evident-indigo5mo ago
Looks like heroic has access to ~/Games/Heroic by default so you could put it in there with no issue. Otherwise, you could put it anywhere in your home folder and use something like flatseal (another flatpak) to give heroic perms to access that folder.

Did you find this page helpful?