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?
Yes. Old java code can be executed on newer JVMs, but not the other way around.
You'll be fine.