A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
JDBC Driver Classes JDK version issue
Joined: Jul 24, 2008
Jan 20, 2010 22:09:18
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
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.
Joined: May 14, 2008
Jan 21, 2010 07:42:39
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:
subject: JDBC Driver Classes JDK version issue
How can we get the file version
Error running class files on other system ..
What does this mean: Compiled from BinConverter.java (version 1.3 : 47.0, super bit)?
using 1.5 classes in 1.4?
Unsupported major.minor version 50.0
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014