Executing Java 5 Code with Java 6

Is there any way to run class files (i.e. with main as entry point) on JDK 6 that were compiled with Java 5?

+1


a source to share


2 answers


Yes. Old java code can be executed on new JVMs, but not vice versa.



Everything will be fine.

+13


a source


Of course this should work without issue. Why are you having a problem? Be more specific.



+1


a source







All Articles