Community
Participate
Working Groups
I am having Eclipse IDE: Version: 2021-09 (4.21.0) Build id: 20210910-1417 I am running Eclipse IDE with Java 16.0.2 Temurin. When I try to create new workspace I got error with message: **To open “Eclipse” you need to install the legacy Java SE 6 runtime.** The workspace directory is created and inside is .metadata directory and other files inside. When I copy .metadata from another working workspace directory to the new one, Eclipse can start with it and it works fine. The only thing that I have to do is to delete all projects in that new workspace to have clean one. I have also tried to create new workspace with 2021-06 and it has the same problem as 2021-09.
It seams that Eclipse is checking if there is any Java version in /Library/Java/JavaVirtualMachines I had installed all Java version with sdkman and they were located in my home directory/.sdkman/... and in the /Library/Java/JavaVirtualMachines there were none. In that case I got error when creating workspace. When I install Java 11 in /Library/Java/JavaVirtualMachines the error disappears.