So I recently updated to macOS Big Sur, and after the update Eclipse stopped working. Originally it refused to open entirely, so I took a look at this post: Not able to run Eclipse on macOS Big Sur
I tried to fix my issue by setting my JAVA_HOME variable (which was previously unset) to the version of JDK I have installed (11.0.1), ie doing this:
export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk-11.0.1.jdk/Contents/Home
After this I was able to open Eclipse, but it won't open any documents or code, and the UI was generally glitchy and irresponsive. My Eclipse window looks like this:
As you can see the window appears to open correctly aside from an error message that pops up every time I open the app. However I'm not able to open any of the folders in the project explorer, or actually use any features really.
I also checked Eclipse for updates and found one update that I promptly installed, and I tried changing the /Applications/Eclipse.app/Contents/Info.plist
file as suggested in the post I mentioned previously. I also tried downloading JDK 1.8.0_281 as used in the post and changing my JAVA_HOME variable to the new path but with no success.
I don't do much development with Eclipse or with Java so I apologize if I'm missing something obvious, but any help would be greatly appreciated!
UPDATE: I saved backups of my projects, then did a full uninstall and reinstall of Eclipse (and downloaded a newer version this time) and everything appears to work fine now!