/Applications/Eclipse.app/Contents/Info.plist 파일 수정
<array>
<!-- to use a specific Java version (instead of the platform's default) uncomment one of the following options,
or add a VM found via $/usr/libexec/java_home -V
<string>-vm</string><string>/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Commands/java</string>
<string>-vm</string><string>/Library/Java/JavaVirtualMachines/1.8.0.jdk/Contents/Home/bin/java</string>
-->
<string>-keyring</string>
<string>~/.eclipse_keyring</string>
<!-- Java 설치 경로를 추가 -->
<string>-vm</string><string>/Library/Java/JavaVirtualMachines/jdk1.8.0_181.jdk/Contents/Home/bin/java</string>
<!-- 추가 -->
</array>
출처: https://sshbug.tistory.com/805 [SsonG's]
'develop > Mac OS' 카테고리의 다른 글
JD-GUI with java 8+ (0) | 2021.06.07 |
---|---|
터미널에 색상 넣기 및 프롬프트 변경 (0) | 2017.06.20 |
Mac에서 숨김파일/폴더 표시 (0) | 2017.03.23 |
mac os에서 wget 설치 (0) | 2014.03.27 |