DEV Community

loading...

Discussion on: MacOS users, Java problems in Big Sur? HELP

Collapse
vijendrahs profile image
vijendrahs

Hi Pablo,

Here is the solution for the Java issue after upgrading to Big Sur.

You need to create the symlink for the libjvm.dylib as follows (please replace the JDK version per your installation)

sudo ln -s /Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home/jre/lib/server/libjvm.dylib /Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home/lib/libserver.dylib

Collapse
pablohs1986 profile image
Pablo Herrero Author

I've tried what you tell me, but the NetBeans installer still doesn't recognize that I have no JDK installed.