You must put the jar file (or directory classes) of JDBC driver in your
CLASSPATH. I have worked with JDBC and Sybase. Sybase creates a directory
which contains subdirs. Subdirectory called "classes" is in my CLASSPATH
and works fine.
greetings
On Fri, 12 Mar 1999, Ferenczi Gyorgy Laszlo wrote:
> Dear collegues,
>
> I created an applet, that is for connecting to the database Postgresql
> which runs on the same server.
>
> I can successfully execute it with an appletviewer only if I invoke it
> from its own directory.
>
> E.g:
> the Class and the required HTML file are in the work directory:
> /home/ferenczi/work/conect1.class
> /home/ferenczi/work/conect1.html
>
> The
>
> appletviewer connect1.html
>
> commnad runs perfectly.
>
> If I go to another directory (e.g. one up), and invoke:
>
> appletviewer work/connect1.html
>
> the java class fails to connect to the database.
>
> Could you help me, please?
>
> Thanks,
>
>
> George
>
>
>
>
>
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
Carlos Alberto Roman Zamitiz
Departamento de Ingenieria en Computacion, Facultad de Ingenieria, UNAM
[EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]