Question

soon we are moving from jdk14 and start using jdk16.Ours is desktop application. What measures I need to take to make sure it works correctly on clients machine? Right now some of them using JRE4 and some JRE6.Server- Solaris.

PD

Was it helpful?

Solution

See this: Java SE 6 - Compatibility with previous versions, this document describes possible compatibility issues with Java 5 and Java 1.4 in detail.

You should be able to run your existing class files without recompiling (Java SE 6 is binary compatible with previous versions), but there may be a number of minor issues.

You might also have a number of minor issues when compiling your source code on JDK 6.

OTHER TIPS

enum is now a reserved work. Make sure you check all your code for "enum".

There should be none as the JRE is backwards compatible.

If you are going to compile using jdk16, you may see some deprecation warning that indicate you are using some old objects / methods and that you should refactor to using the newer ones in 1.6.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top