minigdx-game-template icon indicating copy to clipboard operation
minigdx-game-template copied to clipboard

runJvm gradle task doesnt work on windows 10,\jdk1.8.0_221

Open typedpath opened this issue 3 years ago • 3 comments
trafficstars

./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

typedpath avatar Feb 08 '22 22:02 typedpath

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!

dwursteisen avatar Sep 24 '22 11:09 dwursteisen

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 ;(

kles4enko avatar May 18 '23 15:05 kles4enko

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?

@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:

mrlem avatar May 29 '23 12:05 mrlem