bladecoder-adventure-engine icon indicating copy to clipboard operation
bladecoder-adventure-engine copied to clipboard

I can't run the projects

Open HernanFoster opened this issue 3 years ago • 4 comments

image

No puedo ejecutar los juegos de prueba, es extraño el año pasado funcionaba bien con la anterior versión, ahora no arranca ni en la 4.0.2. o 4.1.0.

HernanFoster avatar Feb 23 '22 01:02 HernanFoster

Please check that C:\Program Files\Java\jre1.8.0_321 contains a valid JDK installation.

Sounds like you're trying to build with a JRE instead of a JDK? I haven't used Bladecoder, but your JAVA_HOME may be messed up or IDE settings are pointing to the wrong path if applicable. If you use Adoptium, or most non-Oracle JDKs, it should offer to set it for you during installation. Note that Gradle 6.7.1 requires Java 15 or older (if you wanted to use 17, you could probably change it to Gradle 7.4.2 - or whatever the latest is at the time of reading - somehow).

Frosty-J avatar May 09 '22 10:05 Frosty-J

As @Frosty-J said, you have installed a JRE instead of a JDK. You need to uninstall the JRE and install the JDK. JDK 1.8 should works well.

bladecoder avatar May 09 '22 11:05 bladecoder

Ya funciona, Ese era el error, gracias. Instale el Java JDK 8

HernanFoster avatar May 18 '22 22:05 HernanFoster

Glad to hear. I reckon we can close this issue now.

Frosty-J avatar May 18 '22 22:05 Frosty-J