How do I specify a JRE version to run with
I have compiled an application, which works fine with the latest version of JRE that I have (which happens to be 1.4.2.13 for good reason). I have found though that my app. does not run on a machine with a slightly earlier JRE.
I have seen posts that suggest you can run an app with a specific version of JRE, but I can't see clearly how to do this.
Can someone help?
[387 byte] By [
Nerdioa] at [2007-11-27 7:44:38]

You have to specify which version of the java command to run, which means specifying the exact location of the command, not just depending on the path variable to find it for you. If "C:\Prog Files\1.5.0\bin" is on your path, running "java MyClass" will use the version of java under that directory. You can run "C:\1.4.2\bin\java MyClass" to specify which java executable to run. This is probably a lot easier if you use an ant script, but I'm not that far into ant to say how :)