willby 2023-01-10 03:19
I can't seem to play the game, I get "This application requires a java runtime environment." every time I open it.
Foon → Ludum Dare Explorer → LD52 → Moon Harvest
By btdyaya
| Category | Rank | Score | Count | |
|---|---|---|---|---|
| Overall | 3.00 | 3 | ||
| Fun | 3.50 | 3 | ||
| Innovation | 3.00 | 3 | ||
| Theme | 3.50 | 3 | ||
| Audio | 2 | |||
| Humor | 3.00 | 3 | ||
| Mood | 3.00 | 3 |
I can't seem to play the game, I get "This application requires a java runtime environment." every time I open it.
Unfortunately, I could not get the game to run either.
Looks like it's an issue with the environment variables I used when making the exe, I don't know if it works on anyone's pc but mine lmao, but thank for trying anyway @fc85057 @willby!
I actually got it to work but that's not surprising seeing as I have tons of different JRE stuff installed (being a mainly Java dev myself) Nice little game, kind of a different take on a text-adventure and pretty funny "voice" lines for the different flowers. Maybe the start should explain things a bit better than just the help message. I actually almost quit after that wall of text but continued playing! :D
As for the running issues: I can recommend using Launch4J pointing to a JRE install relative to the exe, then using InnoSetup to create a Setup that installs the Launch4J exe and the JRE to the path relative to the that Launch4J exe (for some reason I couldn't get the inbuilt Launch4J JRE bundling to work), that way the user doesn't have to install a JRE/get their paths properly setup. (see this [gist](https://gist.github.com/Phoenix616/b79407f1dbe752d072fd8fa257cf561c) for the two configs I used for one of my projects) I used to ship Java stuff with just Launch4J and run into similar issues on client systems too. (It's actually recommended to ship the JRE for the platform alongside the program itself.)