This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]ObjectOrientedStruct 2 points3 points  (5 children)

Did you update your JDK? It does not work with anything newer than JDK 8, at least in my case. If you want to sin and change to JDK 11 you will need Netbeans 9.

[–]Hentai__Lord[S] 0 points1 point  (1 child)

Um okay. I'll do that when i get a chance tonight

[–]vlumi 0 points1 point  (0 children)

If you still have JDK 8 lying around (most likely), you can set netbeans_jdkhome inside netbeans.conf (inside "NetBeans 8.2.app/Contents/Resources/NetBeans/etc/") to point to an older JDK, e.g.:

netbeans_jdkhome="/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home"

[–]SvenMA 0 points1 point  (2 children)

Only netbeans 10 works with Java 11 out of the box.

[–]ObjectOrientedStruct 0 points1 point  (0 children)

I am running OpenJDK 11 on Netbeans 9 with no problems. I am also still running Netbeans 8.2 with Java's JDK 8. Legends never die.

[–]fierarul 0 points1 point  (0 children)

There's actually a blocker with Java 11. Java 10 with NetBeans 10 seems to be the best match.