Hello Rob,
Thank you for responding to my e-mail concerning the jdbc driver included
in the PostgreSQL package. Unfortunately, I am still having problems.
The 'System.setProperty' method you suggested does not exist(I am using
JDK 1.1.5, so maybe this is the problem, if you are using Java 2). I
checked into Sun's documentation on the System and Property classes, and
it looks as though there is not a method in 1.1.x to set a single
property. I have tried numerous different ways of getting JDBC to work.
First of all, the suggested 'export CLASSPATH'(given in the README file
with the jdbc stuff) command does not work on my machine. If I do a 'set
CLASSPATH' to the proper .jar file, it makes the standard Java classes
unrecognizable to the system, and the 'setenv $ CLASSPATH' seems to do
nothing, even though it shows no errors. I may just be working with a
weird system(I do not have access to all of the Java files because I am a
computer science student and the JDK is a shared application), so I will
try to find out if anyone around knows how to do this, but if you have any
more suggestions, I would appreciate it.
--
Thanks again for your time,
Stuart
On Tue, 11 Jul 2000, wyrd wrote:
>
> Hi Stuart,
>
>
> I've used the jdbc driver in a servlet rather effectively.
>
> You might try doing something like:
>
> System.setProperty("jdbc.drivers","postgresql.Driver");
> Class.forName("postgresql.Driver");
>
> This works for me with Postgresql 6.5.3, if the package name got
> changed to org.postgresql you should probably try:
>
> System.setProperty("jdbc.drivers","org.postgresql.Driver");
> Class.forName("org.postgresql.Driver");
>
>
> ~Rob
>
> --
> wYRd.:|:(dot)wyrd(at)triskelion-nova(dot)com(dot):|:.prohibitions void where offered
> de recta non tolerandum sunt
>