Subject Re: [IB-Java] firebirdsql classes
Author David Jencks
On 2002.02.01 19:27:17 -0500 murphyp1 wrote:
> When I try to use the driver in a standalone program on JDK 1.3.1, I
> get the following error loading the driver:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/resource/ResourceException
>
> I found this class in the src/lib/connector.jar file and added it to
> the classpath and then I got this error message:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/transaction/xa/XAException
>
> I found this class in the src/lib/jta-spec1_0_1.jar file and added it
> to the classpath and then I got this error message:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> javax/sql/DataSource
>
> I found this class in the src/lib/jdbc-3_0-pfd2-classes.zip file and
> added it to the classpath and the program ran fine.
>
> My question is if there is some piece of java that I have not
> installed that would have included these classes, or should the
> firebirdsql jar file copy those classes from those jars so that the
> classpath does not get so ugly. Is there a single jar file which
> includes all of these missing classes somewhere?
>
>

you need everything in src/lib in your classpath. I think we can't include
the classes in our jar/rar due to licensing problems, although I'm not
sure. I don't want to because any managed environment should include these
classes anyway. If you can come up with some evidence that redistributing
these classes outside of their original packaging is legal, we could make a
"standalone" jar including this stuff, different from the one in the rar.

david jencks
>
>
>
> To unsubscribe from this group, send an email to:
> IB-Java-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
>
>
>
>
>