Java versions and web start

Before I submit something to the 4k competition I have a question about versions and compatibility. I’m thinking specifically about the version number in a jnlp file.

If I’ve compiled using 1.6, will it only run on 1.6 or will it run on say 1.4+? Is there any way of telling without just trying different runtimes? I seem to remember that a long time ago I compiled something to run Java 1.1 and needed an old JDK. Is that still the same?

Andy.

You’ll have to compile with “-target 1.4” so you produce bytecode that a 1.4 (or later) vm will run. You’ll also have you make sure that all the classes and API calls you’re using are available in 1.4 too.