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

javac does not work #276

Closed
blackav opened this issue Nov 21, 2023 · 1 comment · Fixed by #277
Closed

javac does not work #276

blackav opened this issue Nov 21, 2023 · 1 comment · Fixed by #277
Assignees
Labels
Milestone

Comments

@blackav
Copy link
Owner

blackav commented Nov 21, 2023

При компиляции программ на javac и других jvm-языках возникает ошибка:

Exception in thread "main" java.lang.InternalError: Error loading java.security file
	at java.base/java.security.Security.initialize(Security.java:126)
	at java.base/java.security.Security$2.run(Security.java:103)
	at java.base/java.security.Security$2.run(Security.java:101)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
	at java.base/java.security.Security.<clinit>(Security.java:101)
	at java.base/sun.security.util.SecurityProperties.getOverridableProperty(SecurityProperties.java:57)
	at java.base/sun.security.util.SecurityProperties.privilegedGetOverridable(SecurityProperties.java:48)
	at java.base/sun.security.util.SecurityProperties.includedInExceptions(SecurityProperties.java:72)
	at java.base/sun.security.util.SecurityProperties.<clinit>(SecurityProperties.java:36)
...
@blackav blackav added the bug label Nov 21, 2023
@blackav blackav added this to the 3.12.0 milestone Nov 21, 2023
@blackav blackav self-assigned this Nov 21, 2023
@blackav
Copy link
Owner Author

blackav commented Nov 21, 2023

javac ищет файл java.security в /etc/java. Необходимо монтировать в контейнер /etc/java с хост-системы.

@blackav blackav linked a pull request Nov 21, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant