Skip to Content.
Sympa Menu

freetds - Installing freetds_jdbc

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Andreas Tille <tillea AT rki.de>
  • To: FreeTDS mailing liste <freetds AT franklin.oit.unc.edu>
  • Subject: Installing freetds_jdbc
  • Date: Thu, 19 Aug 1999 11:11:39 +0200 (CEST)


Hello,

I want to access MS SQL server from a Linux box with Java. I was
very happy to find a GPLed JDBC driver which claims to do this
job.

I'm using Debian/GNU Linux potato with jikes Version 0.55 (28 Jul 99).
According to its error messages I had to remove "+V" from the JFLAGS
variable. But this doesn't help very much when compiling:

> make
jikes -classpath .:/usr/lib/jdk1.1/lib/classes.zip +D +E -g -d .
Logger.java
jikes -classpath .:/usr/lib/jdk1.1/lib/classes.zip +D +E -g -d .
HexDump.java
jikes -classpath .:/usr/lib/jdk1.1/lib/classes.zip +D +E -g -d .
TdsException.java
jikes -classpath .:/usr/lib/jdk1.1/lib/classes.zip +D +E -g -d .
TdsConfused.java
jikes -classpath .:/usr/lib/jdk1.1/lib/classes.zip +D +E -g -d .
TdsNotImplemented.java
jikes -classpath .:/usr/lib/jdk1.1/lib/classes.zip +D +E -g -d .
TdsUnknownPacketSubType.java
jikes -classpath .:/usr/lib/jdk1.1/lib/classes.zip +D +E -g -d .
TdsUnknownPacketType.java
TdsUnknownPacketType.java:39:8:39:35: Error: Duplicate declaration of type
"HexDump". The other occurrence is at location TdsUnknownPacketType.java:38.
make: *** [com/internetcds/jdbc/tds/TdsUnknownPacketType.class] Error 1

I'm really new to Java so that I can't cope with this error message.
Alternatively I tried javac from 1.1.7v2.
With javac I was able to compile the package.

A remark to the Makefile: While performing `make install` the
Makefile should test, if /usr/local/share/LocalJava is existent.
If not, the install process fails.

Kind regards

Andreas.





Archive powered by MHonArc 2.6.24.

Top of Page