Executing Java 5 Code With Java 6
-
22-08-2019 - |
Question
Is there any way I can run class files (i.e. with main as the entry point) on JDK 6 that were compiled with Java 5?
Solution
Yes. Old java code can be executed on newer JVMs, but not the other way around.
You'll be fine.
OTHER TIPS
Sure, that should work with no trouble at all. Why, are you having a problem? Be more specific.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow