Baritone AI pathfinder

Baritone AI pathfinder

72.7k Downloads

error: package javax.xml.bind does not exist

beckadamtheinventor opened this issue ยท 18 comments

commented

Some information

Operating system: Linux Mint 19.3
Java version: 11
Minecraft version: 1.13.2
Baritone version: Any
Forge mods (if used): N/A

Exception, error or logs

I can't build from the github source, READMEs unhelpful.
error: package javax.xml.bind does not exist

How to reproduce

Try to build by running ./gradlew

Final checklist

  • I know how to properly use check boxes
  • I have included logs, exceptions and / or steps to reproduce the issue.
  • I have not used any OwO's or UwU's in this issue.
commented

What is the exact output of java -version?
And make sure you have a java compiler installed

commented

README unhelpful

the readme tells you to read INSTALL for building it yourself

commented

also in order to build you have to run ./gradlew build
I missed that in my first comment.

commented

I did ./gradlew build
I have OpenJDK 11.

commented

Please list the full output of java -version.

commented
commented

I was gonna suggest to use jdk8, but I wanted to be sure they had a javac installed first.

commented

I have this same error when building on Linux, but it builds fine on Windows.

commented

Works on Linux for me. Make sure you're using Oracle JDK 8 which is what I'm testing on.

commented

@S-B99 Thanks, this fixed it.

commented

Resolved.

commented

nevermind, had to install openjdk-8-jdk, and set the java/jdk path in the gradlew file to the location of my java 8 installation rather than the default java 11
But now the task :proguard failed.

commented

With what error?

commented

1

commented

Post the full error log.

commented

I think I forgot to run ./gradlew setupDecompWorkspace, so I'm doing that now

commented

That succeeded

commented
> Task :proguard FAILED
Task ':proguard' is not up-to-date because:
  Task has not declared any outputs despite executing actions.
Running Determinizer
 Input path: /home/adam/Desktop/baritone/build/libs/baritone-1.2.11.jar
 Output path: /home/adam/Desktop/baritone/build/libs/baritone-unoptimized-1.2.11.jar
:proguard (Thread[Task worker for ':',5,main]) completed. Took 0.224 secs.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':proguard'.
> 1