error: package javax.xml.bind does not exist
beckadamtheinventor opened this issue ยท 18 comments
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.
What is the exact output of java -version
?
And make sure you have a java compiler installed
also in order to build you have to run ./gradlew build
I missed that in my first comment.
I was gonna suggest to use jdk8, but I wanted to be sure they had a javac installed first.
Works on Linux for me. Make sure you're using Oracle JDK 8 which is what I'm testing on.
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.
I think I forgot to run ./gradlew setupDecompWorkspace
, so I'm doing that now
> 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