File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes JDBC Driver Classes JDK version issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "JDBC Driver Classes JDK version issue" Watch "JDBC Driver Classes JDK version issue" New topic
Author

JDBC Driver Classes JDK version issue

rakesh kadulkar
Ranch Hand

Joined: Jul 24, 2008
Posts: 115
Hi,

If I try to run a class file using JVM whose version is different than the JDK using what I have compiled my .java file so it does not execute.

So as far as the JDBC type 4 drivers are concerned they are provided by the vendor in the form of class files and these class files

are also compiled using some version of JDK so I dont understand how come these class files work with any JVM version?

Correct me if I am making any mistake.

Thanks


Rakesh Kadulkar
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5772
    
    7

You can always run your Java app with a JVM that is newer than the one used to compile the class files, but not with an older JVM.


JBoss In Action
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JDBC Driver Classes JDK version issue
 
Similar Threads
Error running class files on other system ..
using 1.5 classes in 1.4?
What does this mean: Compiled from BinConverter.java (version 1.3 : 47.0, super bit)?
How can we get the file version
Unsupported major.minor version 50.0