There is an application compiled in Java 6. You need to call from it a class method from jar that is compiled in Java 7. When you try to do this, we get an error
- java.lang.UnsupportedClassVersionError: ... : Unsupported major.minor version 51.0. That is, do not correspond to the version. Is it possible to call from java6 jar to java7? And if not, in which direction is it best to move? Upgrade / downgrade is not possible. The java6 application is spinning on tomcat. What other options to build interaction? Servlet, rmi, call from java bat file, etc? Which option is simpler and more reliable?