Tutorial :Executing Java 5 Code With Java 6



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:1

Yes. Old java code can be executed on newer JVMs, but not the other way around.

You'll be fine.


Solution:2

Sure, that should work with no trouble at all. Why, are you having a problem? Be more specific.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »