Regards,
Amit
Originally posted by Campbell Ritchie:
And as for javac.sql.DataSource class: that appears to be a standard interface in the Java API which your AP400DataSource implements. Don't know why you can't find it.[/QB]
Originally posted by Campbell Ritchie:
Don't know. As you imply, that classpath is almost incomprehensible, but appears to have dozens of jt400 related jars in. But DataSource ought to be in one of the standard Java jars, in my case rt.jar, which is inside the jre/lib folder. Copy that jar somewhere and unzip it and see whether you can find DataSource. Beware: there are 3 files called DataSource; it is javax.sql.DataSource you want.
Originally posted by Jesper Young:
Are you using a really old version of Java, older than 1.4? The class javax.sql.DataSource was added to the standard library in Java version 1.4.
Originally posted by Campbell Ritchie:
You don't need to refer to the JRE; that was simply where you find the rt.jar file. Please check that DataSource is actually in it.
Originally posted by Steve Dyke:
Something I need cleared up. If I have an import statement in my java file, then I compile it, I realize that the compiler has to find the import file. Now after the class is created does it become self contained or will it still rely on being able to find the files for the import?
[ September 11, 2008: Message edited by: Steve Dyke ]
Tongue wrestling. It's not what you think. And here, take this tiny ad. You'll need it.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|