Traincraft

Traincraft

1M Downloads

Problem compiling..

melindaendv opened this issue · 3 comments

commented

I am having some issues compiling the latest version of this. To be honest I forgot how to do this since I haven't done it in awhile XD
I keep getting an error saying the build has failed and that the program cannot find a JDK in which I do have installed...

commented

Are you using the gradle wrapper (the script in the main directory of the project), or your system gradle? I'd suggest installing gradle to your machine and trying gradle setupDecompWorkspace, and gradle build instead of using the wrapper script.

commented

Be sure your JDK is listed in your system path, otherwise it doesn't work.
beyond that, a simple gradlew setupDecompWorkspace --refresh-dependancies && gradlew build should work fine.
although in a lot of cases, gradlew build is enough.

commented