Hello,
I installed jdk7x and tomcat7.2 on my windows7. When I compiled the classes and placed these classes to my dedicated server then these classes were not working due to incompatible version of jdk as on dedicated server there is jdk6x.0.13 and tomcat6.
I removed jdk7x from my machine and installed back and now its version is:
C:\Program Files (x86)\Java\Tomcat7.2\webapps\ROOT\WEB-INF\classes>
java -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
I start getting the following error while starting the
tomcat:
I installed back jdk7x 64bit and its working fine now and server started properly:
I believe Java is platform free but why compiled classes of jdk7x are not running of jdk6x or how can fix this problem?
Best regards