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?

Was it helpful?

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
scroll top