mini2Dx / parcl

Gradle plugin for bundling your Java application for distribution on Windows, Mac and Linux
MIT License
60 stars 15 forks source link

Prebuilt Windows runner crashes with 64-bit JRE #3

Open HybridEidolon opened 7 years ago

HybridEidolon commented 7 years ago

In the case that a 64-bit JRE is bundled, or one is picked up from the system, the runner will crash with a debugger prompt that closes before the option to Debug comes available.

tomcashman commented 7 years ago

Can I ask are you using mini2Dx or libGDX?

I tested my mini2Dx project with Gradle 3.3 and I had to change the following in my build.gradle for the desktop project:

Before

project.ext.assetsDir = new File("../core/assets");

After

project.ext.assetsDir = new File("$projectDir/../core/assets");
HybridEidolon commented 7 years ago

This was a hand-written build.gradle rather than one generated from either gdx or mini2dx, there was no assets dir extension specified.