CraftTweaker

CraftTweaker

151M Downloads

JDK folder

Techlone opened this issue ยท 11 comments

commented

Can you replace javaToolsJar with value from original (also see import)?
Or it a bad idea?

commented

Unfortunately, that would crash for me, so it is not possible.
On Mar 8, 2016 4:17 PM, "John" [email protected] wrote:

Can you replace javaToolsJar
https://github.com/jaredlll08/CraftTweaker/blob/master/configuration.gradle#L8
with value from original
https://github.com/stanhebben/MineTweaker3/blob/master/configuration.gradle#L9
(also see import)?
Or it a bad idea?

โ€”
Reply to this email directly or view it on GitHub
https://github.com/jaredlll08/CraftTweaker/issues/13.

commented

What crash? Maybe I can help with it.

commented

I can't remember the crash, it was about me not having something, but
considering I was the only one working on it at the time, I just hard-coded
my jdk into it
On Mar 8, 2016 4:20 PM, "John" [email protected] wrote:

What crash? Maybe I can help with it.

โ€”
Reply to this email directly or view it on GitHub
https://github.com/jaredlll08/CraftTweaker/issues/13#issuecomment-193801709
.

commented

it was about me not having something

Looks like you forgot write import javax.tools.ToolProvider in the begin of the cfg file.
Can you test it again please? When you will have time. Thanx.

commented

Nope, I remember it had the import, it was on a fresh copy from original
repo
On Mar 8, 2016 4:30 PM, "John" [email protected] wrote:

it was about me not having something

Looks like you forgot write import javax.tools.ToolProvider in the begin
of the cfg file.
Can you test it again please? When you will have time. Thanx.

โ€”
Reply to this email directly or view it on GitHub
https://github.com/jaredlll08/CraftTweaker/issues/13#issuecomment-193804257
.

commented

Sadly, especially without a crash report...
So, (do)could you test it again to get the report?

commented

THIS IS NOT A VALID CRasH REPORT @jaredlll08

commented
Working Directory: C:\Users\Jared\Documents\Github\MineTweaker3\MineTweaker3-MC19-Main
Gradle User Home: C:\Users\Jared\.gradle
Gradle Distribution: Local installation at C:\Program Files\gradle-2.10
Gradle Version: 2.10
Java Home: C:\Program Files\Java\jre1.8.0_74
JVM Arguments: None
Program Arguments: None
Gradle Tasks: runClient

Configuration on demand is an incubating feature.

FAILURE: Build failed with an exception.

* Where:
Script 'C:\Users\Jared\Documents\Github\MineTweaker3\configuration.gradle' line: 9

* What went wrong:
A problem occurred evaluating script.
> Cannot invoke method getURLs() on null object

* 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: 0.343 secs

I have the import and everything else.

commented

So @Techlone got anything?

commented

Oops I forget about this issue... I googled something.

  1. Your JDK has not been properly/completely installed and you have not javax.tools package.
  2. Need to check JAVA_HOME env. variable. Maybe gradle can't find the package.
commented
  1. I can manually find the tools.jar file, by using the manual path, it works perfectly
  2. Gradle would give issues if my JAVA_HOME was messed