Jump to content

Recommended Posts

Posted

So whenever i run Gradlew and do the SetupDecompWorkspace --refresh-dependencies.

It fails on Recomp. telling it cannot find the System Java compiler.

 

Thinking this goes with my path this is in it:

 

 

C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Java\jdk1.7.0_51\bin;C:\Program Files (x86)\Java\jre7\bin;

 

 

 

And the log:

 

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

Powered By MCP:           

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

Searge, ProfMobius, Fesh0r,

R4wk, ZeuX, IngisKahn     

MCP Data version : unknown

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

:extractUserDev

:getAssetsIndex

:getAssets

:copyAssets

:extractNatives

:genSrgs

:downloadMcpTools

:downloadClient SKIPPED

:downloadServer SKIPPED

:mergeJars SKIPPED

:deobfuscateJar

Applying SpecialSource...

Applying Exceptor...

Injecting source info...

:decompile

:doFmlPatches

:addFmlSources

:remapJar

:doForgePatches

:addForgeJavadoc

:extractForgeSrc

:recompForge FAILED

 

FAILURE: Build failed with an exception.

 

* What went wrong:

Execution failed for task ':recompForge'.

> Cannot find System Java Compiler. Ensure that you have installed a JDK (not just a JRE) and configured your JAVA_HOME system variable to point to the according 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: 3 mins 45.931 secs

 

 

 

 

 

I think this should be okay?

So if anyone can help me. thank you.

  • 2 weeks later...
  • 4 weeks later...
Posted

I'm having the same problem.

 

My Path is:

[A bunch of other stuff];C:\Program Files\Java\jdk1.8.0_05\bin

 

And my JAVA_HOME is:

C:\Program Files\Java\jdk1.8.0_05

Posted

Well it worked :)

 

First I tried using Java 7 and it didn't work either but then I got it to work because before I had unchecked the JRE when I downloaded the JDK but now I didn't so it worked.

 

But I still don't understand why you're saying that I hijacked the thread since of my understanding, hijacking a thread is when you go off topic but I was talking about the same error. Sorry.

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.