I am using Eclipse Luna to develop java maven applications.
I, or was, but now again, using jdk1.7, since my default is JRE.
After updating from SVN that I created, I started getting this error in my pom.xml files:
You need to run build with JDK or have tools.jar on the classpath. If this occures during eclipse build make sure you run eclipse under JDK as well (com.mysema.maven:apt-maven-plugin:1.0.6:process:default:generate-sources)
I noticed that my jdk1.7 installation was GONE from eclipse somehow. I tried all the options that I found here in stackoverflow about re-adding this jdk1.7 and installing it as my project JRE library and even adding tools.jar to jdk1.7 library on eclipse, m still gets the error, what now very little meaning.
source share