I just upgraded my java to 1.7.0_60. I'm using maven to build my components. When I try to run mvn test
on a component, I get this error message-
[INFO] Compilation failure
could not parse error message: warning: [options] bootstrap class path not set in conjunction with -source 1.5
I thought it could have something to do with tools.jar
and explicitly mentioned them in my pom.xml
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.0</version>
<scope>system</scope>
<systemPath>C:\Program Files\Java\jdk1.7.0_60\lib\tools.jar</systemPath>
</dependency>
But I'm still getting the same issue. In order to get rid of this what and how should I do it?