Subject: Re: jdk14 package on current
To: Florence HENRY <Florence.Henry@obspm.fr>
From: John Hayward <John.C.Hayward@wheaton.edu>
List: current-users
Date: 03/05/2004 07:57:45
I seem to remember similar problems.  I think you might try:
o removing /usr/pkg/java/sun-1.4 from the CLASSPATH
o make sure JAVA_HOME=/usr/pkg/java/sun-1.4
to see if that resolves the problem.

I did not attempt to follow up to determine why that seemed to help.

I also had other problems related to omitting the -X flag for NSF mounted
file systems.  This is required for linux emulation programs which access
disks.

Hope this helps.
johnh...

On Fri, 5 Mar 2004, Florence HENRY wrote:

>Date: Fri, 5 Mar 2004 10:34:09 +0100 (CET)
>From: Florence HENRY <Florence.Henry@obspm.fr>
>To: John Hayward <John.C.Hayward@wheaton.edu>
>Cc: current-users@NetBSD.org
>Subject: Re: jdk14 package on current
>
>
>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 ?
>
>----
>Florence HENRY
>florence.henry@obspm.fr
>

johnh...