maven integration for eclipse jdk warning - eclipse 실행 시

ITWeb/개발일반 2012. 2. 20. 17:06
구글링 하면 많이 나와 있습니다.
해결 방법이요.. ㅋ

직관적이죠.. -vm 옵션에 JDK  경로 설정을 하라는.. 
다만, 아래와 같이 설정 하시면 설정이 제대로 되지 않습니다.

[안좋은 예]

-vm C:\Program Files\Java\jdk1.6.0_29\bin\



[좋은 예] 

-vm
C:\Program Files\Java\jdk1.6.0_29\bin\


차이를 아시겠죠... ^^;
상세 내용을 보면 위에 내용도 잘 된건 아닙니다.
명시적으로 javaw.exe 를 작성해 주시는게 좋습니다.
설정에 대한 자세한 내용은 아래 링크 참고 하시면 됩니다.
http://wiki.eclipse.org/Eclipse.ini 

Remember that the exact values will differ slightly depending on operating system and Eclipse package.

-vm value: Windows Example

This is how the -vm argument might look on Windows (your exact path to javaw.exe could be different, of course):

-vm
C:\Java\JDK\1.6\bin\javaw.exe

-vm value: Linux Example

This is how the -vm argument might look on Linux (your exact path to javacould be different, of course):

 -vm
/opt/sun-jdk-1.6.0.02/bin/java

-vm value: Mac OS X Example

On a Mac OS X system, you can find eclipse.ini by right-clicking (or Ctrl+click) on the Eclipse executable in Finder, choose Show Package Contents, and then locate eclipse.ini in the MacOS folder under Contents.

To specify Java 6 for OS X:

 -vm
/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/bin/java
 
: