Having trouble installing JSQLFormatter #2171
erickaufmann16
started this conversation in
General
Replies: 1 comment 1 reply
-
Greetings! Please double check and pull from Github again: java {
withSourcesJar()
withJavadocJar()
sourceCompatibility = '11'
targetCompatibility = '11'
// needed for XML-Doclet to work (since Doclet changed again with Java 13)
toolchain {
languageVersion.set(JavaLanguageVersion.of(17))
}
} Should automatically pick any suitable JDK17 or better on your system and I have compiled successfully with JDK17 or JDK21 here (on LINUX though). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey guys,
When I execute command 'gradlew.bat publishToMavenLocal' from this installation guide: https://manticore-projects.com/JSQLFormatter/install.html, I got the following error message:
Execution failed for task ':compileJava'.
The Java version installed on my machine is 22. Does it mean that I need to install an instance of Java 11 to make the compilation go through?
Alex
Beta Was this translation helpful? Give feedback.
All reactions