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

ERROR Unable to initialize repl compiler: #65

Closed
sergey-morenets opened this issue Apr 3, 2021 · 4 comments · Fixed by #72
Closed

ERROR Unable to initialize repl compiler: #65

sergey-morenets opened this issue Apr 3, 2021 · 4 comments · Fixed by #72
Assignees

Comments

@sergey-morenets
Copy link

Hi

I tried to use ki-shell 0.3.2 for Windows but encountered severe issues.
I started ki-shell, then typed "h" and got an exception (and got it again on every input).
And I could't even quit the shell because Ctrl+C didn't work and help was unavailable.

type :h for help
[0] h
ERROR Unable to initialize repl compiler:
  ERROR java.lang.ExceptionInInitializerError: java.lang.ExceptionInInitializerError: java.lang.IllegalStateException: Unable to initialize repl compiler:
  ERROR java.lang.ExceptionInInitializerError: java.lang.ExceptionInInitializerError
@khud
Copy link
Contributor

khud commented Apr 3, 2021

Hi, thank you.

What JDK version do you use?

@sergey-morenets
Copy link
Author

Hi, thank you.

What JDK version do you use?

JDK 16, build 16+36-2231

@khud
Copy link
Contributor

khud commented Apr 3, 2021

I need some time for investigation. But you can use JDK8, it definitely works, or JDK11 with a small patch:

--add-opens java.base/java.util=ALL-UNNAMED

@khud khud self-assigned this Apr 3, 2021
@sergey-morenets
Copy link
Author

sergey-morenets commented Apr 4, 2021

I need some time for investigation. But you can use JDK8, it definitely works, or JDK11 with a small patch:

--add-opens java.base/java.util=ALL-UNNAMED

Thank you, I added this flag for JDK 16:
java --add-opens java.base/java.util=ALL-UNNAMED -jar ki-shell-0.3.2.jar

And original exception was gone, ki-shell worked properly

khud added a commit that referenced this issue Apr 14, 2021
asm0dey added a commit that referenced this issue Apr 27, 2021
Fixes #65, fixes #56
Adds support for symlinks
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

Successfully merging a pull request may close this issue.

2 participants