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

Incorrect jvm --add-modules options #225

Open
jochasinga opened this issue Aug 5, 2019 · 1 comment
Open

Incorrect jvm --add-modules options #225

jochasinga opened this issue Aug 5, 2019 · 1 comment

Comments

@jochasinga
Copy link

Summary

:jvm-opts in proj.clj contains an extra = in --add-modules=java.xml.bind that results in the following error when run lein prod-build.

java.lang.module.FindException: Module java.xml.bind not found

Context

Mac OSX
java version 11.0.2
re-natal version 0.11.1

More

This extra :jvm-opts passed here needs to be fixed to
:jvm-opts ["-XX:+IgnoreUnrecognizedVMOptions" "--add-modules java.xml.bind"]
without = to work. Otherwise, lein prod-build would raise

Compiling ClojureScript...
Error occurred during initialization of boot layer
java.lang.module.FindException: Module java.xml.bind not found

:jvm-opts ["-XX:+IgnoreUnrecognizedVMOptions" "--add-modules=java.xml.bind"]

See also: #198

@mikeThurmond
Copy link

This fix appears to work for me as well

dotemacs added a commit to dotemacs/re-natal that referenced this issue Oct 16, 2019
It got raised here:
drapanjanas#225
and here:
drapanjanas#198

The extra '=', raises an error, hence the removal.
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

2 participants