m2eclipseの導入に伴うエラーの解決策
以下のURLを参考にしていただければ大丈夫ですが、一点だけ注意。
(http://d.hatena.ne.jp/tanamon/20080806/1218023806)
僕の環境では
- vm
C:\Program Files\Java\jdk1.7.0_04\bin\javaw.exe
をeclipse.iniの最後に書いた場合ではeclipseが起動しなくなったので、
- vmargs
のすぐ上に書いたところしっかり起動しエラーも出なくなった。
調べてみるとEclipseのWiki(http://wiki.eclipse.org/Eclipse.ini)に
The -vm option must occur before the -vmargs option, since everything after -vmargs is passed directly to the JVM.
とったので、-vmargsより後に書いたのが原因だったっぽい。