別の VM を使用するように Eclipse を構成するには、次のコマンド ラインを使用します。
eclipse -vm <path to java>
Eclipse.app/Contents/Info.plist でパスを指定することもできます。次のようなセクションがあります。
<!-- to use a specific Java version (instead of the platform's default) uncomment one of the following options:
<string>-vm</string><string>/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Commands/java</string>
<string>-vm</string><string>/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Commands/java</string>
-->
Memory Analyzer の場合、MemoryAnalyzer.app/Contents の下に Info.plist ファイルがあります。