Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Build.xml and Java 1.5

Knute Snortum
1 decade ago Jul 09, 2012 10:33pm
Knute Snortum
1 decade ago Jul 09, 2012 11:33pm
Henri Sara
1 decade ago Jul 10, 2012 7:42am

Not many people need to compile the whole Vaadin JAR from sources (often you can just copy a single class to your project and modify it if necessary), but if developing Vaadin core:

Vaadin 6 has and will retain Java 1.5 compatibility, while Vaadin 7 (since alpha 3) requires at least Java 1.6.

The support for 1.5 is there because there are still application server deployments around that do not support 1.6 and get upgraded slowly so we have made a policy decision to continue supporting it for the whole Vaadin 6 series. At least we don't get requests to support 1.4 anymore...

You can use the property "ignoreversion=1" to make the build script ignore the real version of JDK in use and accept JDK 1.6 or 1.7.