On 8/10/07, Pradeep Gowda <[EMAIL PROTECTED]> wrote:
> On 8/10/07, Fabian Groffen <[EMAIL PROTECTED]> wrote:
> > On 09-08-2007 16:14:25 +0530, Pradeep Gowda wrote:
> > > On 8/9/07, Fabian Groffen <[EMAIL PROTECTED]> wrote:
> > > > Hi Pradeep,
> > > > Can you please tell what Java you are using?  I think java -version and
> > > > javac -version will be enough.
> > >
> > > Hi Fabian,
> > > Thanks for the quick reply.
> > >
> > > $ java -version
> > > java version "1.6.0"
> > > Java(TM) SE Runtime Environment (build 1.6.0-b105)
> > > Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing)
> > >
> > > $javac -version
> > > javac 1.6.0
> >
> > Our JDBC driver can currently only be built with Java 1.4 or 1.5.  The
> > error you get is very weird, and not reproducable with Java 1.5 here.
> > If I have some time I'll try to run it with Java 1.6 to see if I find
> > the same problem.
>
> I recompiled the file and ran it with 1.5 version of javac & java
> respectively, and got the same error.
>
> [EMAIL PROTECTED]:~$ javac -version
> javac 1.5.0_11
>
> [EMAIL PROTECTED]:~$ java -version
> java version "1.5.0_11"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
>
> I had no problems in connecting via jdbc (using the exact same
> libjdbc.jar file) in windows.
>

Also,
compiling with Java 1.4 using GNU GCJ and running it with GNU GIJ gave
the following error:

Exception in thread "main" java.sql.SQLException: Maximum number of
redirects reached, aborting connection attempt.  Sorry.
   at nl.cwi.monetdb.jdbc.MonetConnection.<init>(MonetConnection.java:217)
   at nl.cwi.monetdb.jdbc.MonetDriver.connect(MonetDriver.java:157)
   at java.sql.DriverManager.getConnection(libgcj.so.70)
   at java.sql.DriverManager.getConnection(libgcj.so.70)
   at MJDBCTest.main(MJDBCTest.java:6)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
MonetDB-users mailing list
MonetDB-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/monetdb-users

Reply via email to