minigdx-game-template
minigdx-game-template copied to clipboard
runJvm gradle task doesnt work on windows 10,\jdk1.8.0_221
./gradlew --info runJvm fails with : Unrecognized option: -XstartOnFirstThread I believe this -X option is available on mac but not windows this workaround works: ./gradlew clean bundleJar java -classpath ./build/minigdx/minigdx-game-template-jvm.jar your.game.Main
Thank you for reporting.
I took some time to update the project to take this issue in account.
Can you clone this repository : https://github.com/dwursteisen/minigdx-game-template and un gradlew runJvm and come back to me to tell me if it's working or not?
I change the gradle plugin to add the option only on MacOS but as I don't have any windows to test, I can't be sure that the issue is fixed :P
thanks!
Hello.
Neither this repo or https://github.com/dwursteisen/minigdx-game-template cannot run JVM target on Mac (m1). Have no idea where to add '-XstartOnFirstThread' due to default gradle application plugin is wrapped by custom one ;(
Can you clone this repository : https://github.com/dwursteisen/minigdx-game-template and un
gradlew runJvmand come back to me to tell me if it's working or not?
@dwursteisen I'm experiencing the exact same issue on Ubuntu, so as you had no feedback on this, I took the liberty to give it a try:
- the project looks rather different (modularized + includes an android module)
- runJvm now runs perfectly :+1: