[josm-dev] javac: bootstrap class path not set

Simon Legner simon.legner at gmail.com
Sat Nov 16 22:13:48 UTC 2013


Hi!

> compile:
>      [echo] compiling sources for ../../dist/Tracer2.jar ...
>     [javac] Compiling 17 source files to C:\Users\...\workspace\editors\josm\plugins\tracer2\build
>     [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.6
>     [javac] 1 warning
> BUILD SUCCESSFUL

See https://blogs.oracle.com/darcy/entry/bootclasspath_older_source for 
a explanation of this warning. In short: the compiler cannot detect if 
you use classes/methods that have been added in a later Java version.

> It looks like the JDK I have is newer the the compiler. I have installed
> the actual sdk java_ee_sdk-6u4-jdk-windows.exe from oracle.

I guess you need the Java SE SDK (standard edition instead of enterprise 
edition).

Cheers and happy coding!
Simon



More information about the josm-dev mailing list