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

Getting severe error on start #28

Open
MoritzSkowronski opened this issue Aug 3, 2022 · 5 comments
Open

Getting severe error on start #28

MoritzSkowronski opened this issue Aug 3, 2022 · 5 comments

Comments

@MoritzSkowronski
Copy link

Hi,

on my Windows 11 64 machine with jdk 18 installed, I get the following error on startup:

SEVERE: No way to find original stream handler for jar protocol
java.lang.reflect.InaccessibleObjectException: Unable to make field transient java.net.URLStreamHandler java.net.URL.handler accessible: module java.base does not "opens java.net" to unnamed module @40f9161a
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:357)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)

Am I using the wrong idk?

@saudet
Copy link
Member

saudet commented Aug 3, 2022

Right, it looks like we need JDK 8 or 11.

@MoritzSkowronski
Copy link
Author

Wow, that fast! ;)

Nooby question: Is there any way to download idk 8 or 11 without having to register on the oracle site?!

@saudet
Copy link
Member

saudet commented Aug 3, 2022

Yes, it's all available from here: https://adoptopenjdk.net/

@saudet
Copy link
Member

saudet commented Nov 2, 2022

BTW, it's also possible to use JDK 17, or more recent, by enabling a couple of parameters that I've added to commit e0e853e. Those will be needed until NetBeans adds support for newer versions of the JDK.

@MoritzSkowronski
Copy link
Author

Thanks for the update! Will check it out asap :)

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

No branches or pull requests

2 participants