Re: Java class run locally, only

1999-03-15 Thread Roman Zamitiz Carlos
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:

Re: Java class run locally, only

1999-03-12 Thread Maureen Lecuona
Then you must be sure the html archive object points to the correct jar files: archive = "/home/ferenczi/work/jdbcclasses.jar" And make sure your jar files are placed where the archive object says they are in connect.html. PS. Sean is right, this is not a java-linux question, so please try

Re: Java class run locally, only

1999-03-12 Thread zun
On Fri, 12 Mar 1999, Ferenczi Gyorgy Laszlo wrote: > Thanks for your quick response. I would like to clarify my problem. In > fact, the connetc1.html file can call the class, but the connection to the > database works only when called from the same directory. Where is your JDBC driver? Sounds

Re: Java class run locally, only

1999-03-12 Thread Ferenczi Gyorgy Laszlo
Dear Maureen, Thanks for your quick response. I would like to clarify my problem. In fact, the connetc1.html file can call the class, but the connection to the database works only when called from the same directory. Thnaks in advance George On Fri, 12 Mar 1999, Maureen Lecuona wrote: > Check

Re: Java class run locally, only PLUSS

1999-03-12 Thread Maureen Lecuona
HI: Does this happen both locally and in another path??? You must insure that you are loading the JDBC driver properly: For Oracle I use: DriverManager.registerDriver( new oracle.jdbc.driver.OracleDriver()); Something similar to this must be used for your JDBC driver. Maureen Lecuona Ferencz

Re: Java class run locally, only

1999-03-12 Thread Maureen Lecuona
Hi: Check the codebase in connect.html. Make it "/home/ferenczi/work". This works for me. Maureen Lecuona 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 e