Subject: Re: jdk14 package on current
To: Florence HENRY <Florence.Henry@obspm.fr>
From: Chris Wareham <chris.wareham@iosystems.co.uk>
List: current-users
Date: 03/05/2004 14:06:22
Florence HENRY wrote:
> On 10/21/2003, John Hayward wrote :
> 
> 
>>   I am trying to get javac under 1.4.2 to work under NetBSD 1.6ZD
>>(GENERIC_LAPTOP).  It appears that the java interpreter is working
>>in that I can run applet viewers and interpret at least hello world
>>applications.
>>   When I attempt to javac a hello world java file I get warnings and
>>errors complaining about things like:
>>====
>>/usr/pkg/java/sun-1.4/src.zip(java/lang/Object.java):20: class Object is
>>public, should be declared in a file named Object.java (source
>>unavailable).
>>...
>>/usr/pkg/java/sun-1.4/src.zip(java/net/URI.java):2572: warningn as of
>>release 1.4, assert is a keyword, and may not be used as an identifier
>>(source unavailable).
>>....
>>100 errors
>>206 warings
>>====
> 
> 
> I have exactly the same problem with 2 machines i386 running -current.
> Did you manage to solve your problem ?
> 

I'm working around the problem by using the jikes bytecode compiler
(pkgsrc/lang/jikes).

Chris
-- 
chris.wareham@iosystems.co.uk (work)
chris.wareham@btopenworld.com (home)