This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Kawa source code now defaults to Java 6
- From: Per Bothner <per at bothner dot com>
- To: "kawa at sourceware dot org" <kawa at sourceware dot org>
- Date: Sat, 10 Apr 2010 14:13:24 -0700
- Subject: Kawa source code now defaults to Java 6
The Kawa sources in the Subversion repository now default to
requiring Java 6. This will also be true for future source releases.
If you only have Java 5, you now need to specify --with-java-source=5
on the configure command line.
This doesn't work if you use Ant. In that case you need to first do:
javac gnu/kawa/util/PreProcess.java
java gnu.kawa.util.PreProcess %java5
It would be nice if build.xml could be fixed to do this automatically
when needed. Any volunteers?
Building from source will default to building for Java 6, but future
binary releases will be built with the flag --with-java-source=6compat5
The '6compat5' option builds in support for certain Java 6 features,
while still allowing (other features) to be run using Java 5.
(One specific Java6 feature coming very soon: Support for the
HttpServer built in to JDK 6. This makes it extremely trivial to
set up a web server.)
--
--Per Bothner
per@bothner.com http://per.bothner.com/