Hi, Kris,
Kris Jurka wrote:
>> TNO wrote:
>>
>>> My Eclipse classpath show me 8.1 driver...
>>
>>
>> System.err.println(org.postgresql.Driver.getVersion());
>
>
> or better yet,
>
> System.err.println(org.postgresql.util.PSQLDriverVersion.main());
>
> This will print out where it has found the driver as well as what
> version it has found.
Oh, great tool. However, it does not work this way. You have to call
org.postgresql.util.PSQLDriverVersion.main(args)
with args being a String array, and don't wrap it into
System.err.println, as it returns void.
HTH,
Markus
--
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf. | Software Development GIS
Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org