Menu

warning [options] bootstrap class path not set

Help
gypsy_fly
2013-07-26
2013-07-28
  • gypsy_fly

    gypsy_fly - 2013-07-26

    Compiling...
    warning: [options] bootstrap class path not set in conjunction with -source 1.6
    1 warning
    Compiled successfully.

    Not exactly sure what this is. I've just gotten through reinstalling robode, the latest java sdk, etc. Got past the PATH issues and am now up and running except for the above error.

    How can I clean this up?

     
  • Flemming N. Larsen

    According to StackOverflow, you are using a Java 7 compiler for compiling Java 6 code. Hence you should set the bootstrap class path, by adding the rt.jar from the Java 6 JRE/JDK to your compiler classpath. This way you have a guarantee that your (Java 6) robot will work as expected.

    Alternatively, you can use a Java 6 (JDK 6) compiler instead or the ECJ (Eclipse Compiler for Java) that comes with Robocode.

    A last alternative is to simply ignore the warning. It is just a warning - not a real error. :-)

     

Log in to post a comment.

MongoDB Logo MongoDB