I am trying to run Eclipse MemoryAnalyzer on my Mac 10.13.6 (High Siena). When I start it, I get a message that reads
To open "MemoryAnalyzer" you need to install the legacy Java SE 6 runtime
There are several mentions of that on StackOverflow, but none of the suggested fixes work:
- I have added
-vm
/Users/myuser/.sdkman/candidates/java/current/bin/java
to MemoryAnalyzer.ini. Still the same problem.
I have added
<string>-vm</string><string>/Users/myuser/.sdkman/candidates/java/current/bin/java</string>
to Info.plist. Still the same problem.
- There is a /usr/bin/java, which is a symlink to /System/Library/Frameworks/JavaVM.framework/Versions/Current/Commands/java. This is somewhat strange, as some people say it should be a symlink to /Users/myuser/.sdkman/candidates/java/current/bin/java. This may be a hint on a broken sdkman installation, but
java --version
behaves as expected, changing the version viasdk u java ...
works as expected.
What else could I try?