Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

running on openJDK 16 #180

Open
uxDesign opened this issue Feb 3, 2022 · 0 comments
Open

running on openJDK 16 #180

uxDesign opened this issue Feb 3, 2022 · 0 comments

Comments

@uxDesign
Copy link

uxDesign commented Feb 3, 2022

I had an issue to get it running and compiling with openJDK 16.

In gradle.build I added options.encoding = 'UTF-8' to gradle.projectsEvaluated to get rid of compile errors with codepage of source files

gradle.projectsEvaluated {
tasks.withType(JavaCompile){
options.compilerArgs << "-Xlint:unchecked"
options.encoding = 'UTF-8'
}
}

and in vicuna.bat of the output I added command line parameter in line 36 to get rid of
Unable to make field private static final long java.awt.Dimension.serialVersionUID accessible: module java.desktop does not "opens java.awt" to unnamed module @643b6bc1

set DEFAULT_JVM_OPTS="--add-opens=java.desktop/java.awt=ALL-UNNAMED"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant