Using Linux_JDK_1.2_pre-release-v1 for Intel, glibc, I also am having a
problem with jar.  My only other issue with the release is with the
fonts, but I have yet to try the mailing list fixes.

With 1.1.7, I can make a jar file with a manifest containing over 200
classes.  On the same files, however, with 1.2 pre-1 running jar with v
option, it doesn't even get to where you see adding: lines.  Instead, I
simply get:

java.io.IOException: invalid header field
        at java.util.jar.Attributes.read(Compiled Code)
        at java.util.jar.Manifest.read(Compiled Code)
        at java.util.jar.Manifest.<init>(Compiled Code)
        at sun.tools.jar.Main.run(Compiled Code)
        at sun.tools.jar.Main.main(Compiled Code)

Any ideas?

Myles



  

------------------------------------------------------------------
Matthew Hunter ([EMAIL PROTECTED]) wrote:

     I'm running into problems using jar from the 1.2 pre-release. 
Oddly
     enough, the problems are confined to jar itself, the rest of the
jdk
     works fine (at least, the parts I've used).

     I get the following error:
     /usr/local/jdk/bin/i686/native_threads/jar: error in loading shared
     libraries
     libhpi.so: cannot open shared object file: No such file or
directory

     The files exist in:
     /usr/local/jdk/jre/lib/i386/green_threads/libhpi.so
     /usr/local/jdk/jre/lib/i386/native_threads/libhpi.so

     Telling LD to preload the files (LD_PRELOAD) doesn't work.  I've
been
     watching the list and haven't seen this come up, and it isn't in
the bug
     reports for 1.2 either... so has anyone else seen this?  Any ideas?

     --


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to