Cheers, Martijn,
Twitter.
Cheers, Martijn,
Twitter.
Regards, Rene Larsen
Regards, Rene Larsen
Cheers, Martijn,
Twitter.
Cheers, Martijn,
Twitter.
Regards, Rene Larsen
Originally posted by Rene Larsen:
Did you clear both the system and user PATH??
[ September 08, 2008: Message edited by: Rene Larsen ]
Cheers, Martijn,
Twitter.
Standard Options
-source release
Enables support for compiling source code containing assertions.
When release is set to 1.4, the compiler accepts code containing assertions. Assertions were introduced in J2SE 1.4.
When release is set to 1.3, the compiler does not support assertions. The compiler defaults to the 1.3 behavior if the -source flag is not used.
Cross-Compilation Options
By default, classes are compiled against the bootstrap and extension classes of the platform that javac shipped with. But javac also supports cross-compiling, where classes are compiled against a bootstrap and extension classes of a different Java platform implementation. It is important to use -bootclasspath and -extdirs when cross-compiling; see Cross-Compilation Example below.
-target version
Generate class files that will work on VMs with the specified version. The default is to generate class files to be compatible with the 1.2 VM in the Java 2 SDK. The versions supported by javac in the Java 2 SDK are:
1.1
Ensure that generated class files will be compatible with 1.1 and VMs in the Java 2 SDK.
1.2
Generate class files that will run on VMs in the Java 2 SDK, v 1.2 and later, but will not run on 1.1 VMs. This is the default.
1.3
Generate class files that will run on VMs in the Java 2 SDK, v 1.3 and later, but will not run on 1.1 or 1.2 VMs.
1.4
Generate class files that are compatible only with 1.4 VMs.
Regards, Rene Larsen
Originally posted by Campbell Ritchie:
Well, well . . . I have never seen that before.
Cheers, Martijn,
Twitter.
Don't get me started about those stupid light bulbs. |