System Config.:
RedHad 9, host name: rukbat, Tiger Build 50
Symptom:
When using the system default jar (jdk1.3.1) to list the content of
tools.jar from /usr/java/jdk1.5.0/lib, system returns the following
error message:
[root@rukbat lib]# jar -tvf tools.jar | more
Error in JAR file format. zip-style comment?
But the information returned by the file command indicates that
tools.jar should be able to be extracted by v1.0.
-------------------------------------------------------------------
[root@rukbat lib]# pwd
/usr/java/jdk1.5.0/lib
[root@rukbat lib]#
[root@rukbat lib]# file *
dt.jar: Zip archive data, at least v2.0 to extract
htmlconverter.jar: Zip archive data, at least v2.0 to extract
ir.idl: ASCII C program text
jconsole.jar: Zip archive data, at least v2.0 to extract
orb.idl: C++ program text
sa-jdi.jar: Zip archive data, at least v2.0 to extract
tools.jar: Zip archive data, at least v1.0 to extract
[root@rukbat lib]# java -version
java version "1.3.1"
jdkgcj 0.2.3 (http://www.arklinux.org/projects/jdkgcj)
gcj (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@rukbat /tmp]$ which java
/usr/bin/java
[root@rukbat lib]# cat /etc/*-release
LSB_VERSION="1.3"
Red Hat Linux release 9 (Shrike)
RedHad 9, host name: rukbat, Tiger Build 50
Symptom:
When using the system default jar (jdk1.3.1) to list the content of
tools.jar from /usr/java/jdk1.5.0/lib, system returns the following
error message:
[root@rukbat lib]# jar -tvf tools.jar | more
Error in JAR file format. zip-style comment?
But the information returned by the file command indicates that
tools.jar should be able to be extracted by v1.0.
-------------------------------------------------------------------
[root@rukbat lib]# pwd
/usr/java/jdk1.5.0/lib
[root@rukbat lib]#
[root@rukbat lib]# file *
dt.jar: Zip archive data, at least v2.0 to extract
htmlconverter.jar: Zip archive data, at least v2.0 to extract
ir.idl: ASCII C program text
jconsole.jar: Zip archive data, at least v2.0 to extract
orb.idl: C++ program text
sa-jdi.jar: Zip archive data, at least v2.0 to extract
tools.jar: Zip archive data, at least v1.0 to extract
[root@rukbat lib]# java -version
java version "1.3.1"
jdkgcj 0.2.3 (http://www.arklinux.org/projects/jdkgcj)
gcj (GCC) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
[root@rukbat /tmp]$ which java
/usr/bin/java
[root@rukbat lib]# cat /etc/*-release
LSB_VERSION="1.3"
Red Hat Linux release 9 (Shrike)