Still cannot build native JDK1.4 with FreeBSD 5.3.

Nick Sayer nsayer at kfu.com
Thu Dec 16 23:19:14 PST 2004


A month ago, I reported problems building the native JDK14 port. I 
haven't gotten any responses. I can't believe I'm the only one in the 
world who is seeing this failure.

I'm running with RELENG_5_3. I have a working Linux 1.4 JDK installed.

To recap, the build fails spitting out about a hundred errors about 
various interfaces not being public and what not. At the bottom, it 
looks like this:

../../../src/share/classes/java/net/SocksSocketImpl.java:335: cannot 
resolve symbol
symbol  : method getHostName ()
location: class java.net.InetSocketAddress
             out.write(epoint.getHostName().length());
                             ^
Note: Some input files use or override a deprecated API.
Note: Recompile with -deprecation for details.
100 errors
gmake[4]: *** [.compile.classlist] Error 1
gmake[4]: Leaving directory 
`/usr/ports/java/jdk14/work/j2se/make/java/java'
gmake[3]: *** [optimized] Error 2
gmake[3]: Leaving directory 
`/usr/ports/java/jdk14/work/j2se/make/java/java'
gmake[2]: *** [all] Error 1
gmake[2]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make/java'
gmake[1]: *** [all] Error 1
gmake[1]: Leaving directory `/usr/ports/java/jdk14/work/j2se/make'
gmake: *** [j2se-build] Error 2
*** Error code 2

Stop in /usr/ports/java/jdk14.


More information about the freebsd-java mailing list