T
tiewknvc9
is there a way to require a certain java version (or better) on the
users machine?
users machine?
tiewknvc9 said:is there a way to require a certain java version (or better) on the
users machine?
That could cause ugly exceptions depending on (1) the JDK the app wasOliver said:You could have your program detect the Java version and refuse to run for
certain values.
Joe Attardi said:That could cause ugly exceptions depending on (1) the JDK the app was
built on and (2) the JRE the end user is running on.
For example, I believe (this is from memory, so I could be wrong) if an
app built on a Java 5 JDK is run on a JRE 1.4.x VM, an
UnsupportedMajorMinorException is thrown due to the different
serialVersionUID.
Joe Attardi said:That could cause ugly exceptions depending on (1) the JDK the app was
built on and (2) the JRE the end user is running on.
For example, I believe (this is from memory, so I could be wrong) if an
app built on a Java 5 JDK is run on a JRE 1.4.x VM, an
UnsupportedMajorMinorException is thrown due to the different
serialVersionUID.
is there a way to require a certain java version (or better) on the
users machine?
Joe said:For example, I believe (this is from memory, so I could be wrong) if an
app built on a Java 5 JDK is run on a JRE 1.4.x VM, an
UnsupportedMajorMinorException is thrown due to the different
serialVersionUID.
Joe said:For example, I believe (this is from memory, so I could be wrong) if an
app built on a Java 5 JDK is run on a JRE 1.4.x VM, an
UnsupportedMajorMinorException is thrown due to the different
serialVersionUID.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.