Jump to content

Recommended Posts

Posted

My problem is when I am in eclipse and try to run the server or client in does not work her is what happens in the console:

 

 

  Reveal hidden contents

 

Posted

For one, you should be using 1.8, as 1.7.10 will be quite out of date in a few months.

 

Secondly, how did you setup your workspace?

I am not a cat. I know my profile picture is sexy and amazing beyond anything you could imagine but my cat like features only persist in my fierce eyes. I might be a cat.

Posted

This is what I get when I try to decompile forge-1.8-11.14.4.1577 with gradlew setupDecompWorkspace eclipse

 

  Reveal hidden contents

 

Posted
  Quote
> Unable to find a javac compiler;

com.sun.tools.javac.Main is not on the classpath.

Perhaps JAVA_HOME does not point to the JDK.

It is currently set to "C:\Program Files\Java\jre1.8.0_66"

 

You need to set the JAVA_HOME environment variable to the path of your JDK, not your JRE.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

I did I went to control panel-computer properties-advanced system settings-environmental variables-entered this in the path C:\Program Files\Java\jdk1.8.0_60\bin

 

what am I doing wrong?

 

I do have java jre 1.8.66 installed should I uninstall it?

 

thank you

Posted
  On 1/7/2016 at 6:39 AM, iceblu008 said:

I did I went to control panel-computer properties-advanced system settings-environmental variables-entered this in the path C:\Program Files\Java\jdk1.8.0_60\bin

 

what am I doing wrong?

 

I do have java jre 1.8.66 installed should I uninstall it?

 

thank you

 

Don't set it to the JDK's bin directory, set it to the JDK directory itself (C:\Program Files\Java\jdk1.8.0_60).

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted
  On 1/7/2016 at 7:07 AM, iceblu008 said:

It still doesn't work, it says the same build failed message. I used C:\Program Files\Java\jdk1.8.0_60

 

What is JAVA_HOME and how do I point it to the jdk?

 

Do you have the JDK installed in that directory?

 

JAVA_HOME

is an environment variable that tells Gradle where to look for the Java compiler. You set it to the path of the JDK like you would any other environment variable.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted
  On 1/7/2016 at 7:23 AM, iceblu008 said:

Yes, but I don't have anything pertaining to the jre in environment variable. Should I?

 

The JRE is irrelevant in this case, there's no need to have it any environment variable.

 

If

JAVA_HOME

is pointing to your JDK path and it's still not working, run

gradlew setupDecompWorkspace

again and post the new output.

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

Posted

By searching JAVA_HOME there were a lot of posts woth this problem. I think I need to make a JAVA_HOME environment variable with my directory in it. I still have to test it though.

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.