Jump to content

Error


BananasAreDumb

Recommended Posts

Whenever i do gradlew setupDecompWorkspace I get this in cmd

 

 

C:\Users\Tristan\Desktop\Tutorial>gradlew setupDecompWorkspace

The assetDir is deprecated!  Use runDir instead! runDir set to eclipse/assets/..

 

****************************

Powered By MCP:

http://mcp.ocean-labs.de/

Searge, ProfMobius, Fesh0r,

R4wk, ZeuX, IngisKahn

MCP Data version : unknown

****************************

:extractUserDev UP-TO-DATE

:genSrgs SKIPPED

:extractNatives UP-TO-DATE

:getAssetsIndex

:getAssets

:makeStart FAILED

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ':makeStart'.

> Cannot find System Java Compiler. Ensure that you have installed a JDK (not ju

st a JRE) and configured your JAVA_HOME system variable to point to the accordin

g directory.

 

* Try:

Run with --stacktrace option to get the stack trace. Run with --info or --debug

option to get more log output.

 

BUILD FAILED

 

Total time: 26.639 secs

 

C:\Users\Tristan\Desktop\Tutorial>

Link to comment
Share on other sites

1. Install the actual JDK 7 (not JRE)

2. Right-click on "My computer" -> Settings

3. Go to "Advanced System Settings" -> "System Variables"

4. Create a variable called JAVA_HOME and set it's to the folder where Java is (by default it's C:\Program Files\Java\)

It helped me at least. Sorry if some names of menus are wrong, I am Ukrainian.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.