Skip to Main Content

Java APIs

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Bootstrap classpath not set

2703616Jul 3 2014

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?

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 31 2014
Added on Jul 3 2014
0 comments
1,049 views