Maven Integration Requires that Eclipse be running in a JDK

After adding Maven to Eclipse this error keeps popping up about “maven integration requires that eclipse be running in a jdk”. Basically Maven is using a JRE but needs a JDK.

First ensure that you have a JDK running and Eclipse sees it (via Window > Preferences > Java…”

Then you need to edit eclipse.ini and tell it where the JDK is using the following lines
-vm
C:\Program Files\Java\jdk1.6.0_18\bin\javaw.exe

It seems to need to be spread onto 2 lines i.e. the -vm first and then the path to your jdk.

Import Large Data Files into MySQL

Use the SOURCE command! SOURCE sqlfile.sql

Read http://www.johnon.com/import-large-file-into-mysql/ for more detail.

Eclipse Java Out of Memory error

Was getting a java out of memory error in Eclipse every time I tried to install a new plugin. Something about the java heap which usually resulted in Eclipse needing to be restarted. If you google it you’ll plenty of solutions but, just for reference, in my case it was editing Eclipse.ini to make more memory available. Changed -xmx from 256m to 500m and the same for launcher.XXMaxPermSize.


Page optimized by WP Minify WordPress Plugin

© Copyright 2010 Larry Mahony . Thanks for visiting!