Subject: Re: FreeBSD JDK 1.1.5
To: Scott Telford <st@epcc.ed.ac.uk>
From: Simon J. Gerraty <sjg@quick.com.au>
List: port-i386
Date: 01/22/1998 12:42:50
Scott writes:
>I tried out the recent FreeBSD port of JDK 1.1.5 (at ftp.freebsd.org in
>/pub/FreeBSD/incoming/jdk115 or ftp16.ba.best.com in /pub/bofh/, may be

I've tried this and it is great.  Appletviewer and all work nicely.
So I figured I'd try the latest postgresql.Driver for JDBC.
I get:

: sjg:224; java JDBC_Test jdbc:postgresql:db nobody         
Connecting to Database URL = jdbc:postgresql:db
java.lang.UnsatisfiedLinkError: getInetFamily
        at java.net.InetAddress.<init>(InetAddress.java)
        at 
        at 
        at postgresql.PG_Stream.<init>(PG_Stream.java:35)
        at postgresql.Connection.<init>(Connection.java:79)
        at postgresql.Driver.connect(Driver.java:87)
        at java.sql.DriverManager.getConnection(DriverManager.java:91)
        at java.sql.DriverManager.getConnection(DriverManager.java:134)
        at JDBC_Test.main(JDBC_Test.java:33)

urls like jdbc:postgresql://localhost/db etc get the same result.

I tried adding /emul/freebsd/etc/hosts with no improvement
The same postgresql.jar and JDK 1.1.5 on a Solaris 2.6 box work fine.

Anyone else seen something like this?  I couldn't find any clue in
the FreeBSD jdk as to bug reports etc.  So I started at Sun's 
list of 3rd party ports and found:

ftp://freebsd.org/pub/dap/jdk115/README.dap

which indicates describes "jdk1.1-dap:1998/01/07-05:19"
rather than "jdk1.1-root:1997/12/28-17:07" (from java -version)
which is the version Scott pointed to.

So if you are having problems, try an update.

I'll let you know if it works...

--sjg