[Eclipse] Eclipse 安裝 Maven plugin 後的錯誤!!
苦惱苦惱好苦惱~~~
Eclipse 安裝完 Maven plugin 後,每次開啟eclipse都會跳出這個錯誤
"The Macen Integration requires that Eclipse be running in a JDK, because a number of Maven core plugins are using jars from the JDK.
place make sure the -vm option in eclipse.ini is pointing to a JDK verify that Installed JREs are also using JDK installs."
google一下,
原來是因為maven plugin需要JDK中的jar檔,
所以必須設定eclipse.ini檔
讓eclipse找的到你JDK在哪
設定方法
- 開啟eclipse所在資料夾可以找到eclipse.ini
- 接著就用你喜愛的文字編輯器編輯( ex.Notepad++或筆記本)
加入
-vm
C:\Program Files\Java\jdk1.6.0_37\bin ----JDK bin位置 - 存檔後就OK囉!