jar problem
Aleksander Rozman
andy at triera.net
Sun May 28 10:32:06 PDT 2006
Hi !
I have come accross some weird problem (I have come accross this problem
before, but since I didn't use freebsd for development I didn't care for
it then.
I am trying to develop under Freebsd and I installed my favorite editor,
changed paths to those that are needed and started build. I got
exception that jar file couldn't be read. Ok I though so this program is
not running up to specs (like on windows), so I fixed my ant script to
allow it to build (I haven't used this option yet, since my software is
not ready to be built by all people). And I come to same problem. Jar
files can't be read.
I will add error result at end of this mail... I have FreeBSD 6.1
(running in i386 mode), with home build java 1.5.0 (patch 3). This jars
are all like I got them from internet... Please help...
Andy
P.S.: I got about the same problem with my favorite editor, except on
some other file... I encountered the same problem before, on other
versions of java under FreeBSD. Where is problem?
Error report:
[javac] An exception has occurred in the compiler (1.5.0-p3). Please
file a bug at the Java Developer Connection
(http://java.sun.com/webapps/bugreport) after checking the Bug Parade
for duplicates. Include your program and the following diagnostic in
your report. Thank you.
[javac] java.lang.InternalError: jzentry == 0,
[javac] jzfile = 140633344,
[javac] total = 1181,
[javac] name = /mnt/i/My_Projects/ZIS/lib/hibernate/hibernate3.jar,
[javac] i = 53,
[javac] message = invalid LOC header (bad signature)
[javac] at java.util.zip.ZipFile$3.nextElement(ZipFile.java:427)
[javac] at java.util.zip.ZipFile$3.nextElement(ZipFile.java:413)
[javac] at
com.sun.tools.javac.jvm.ClassReader.openArchive(ClassReader.java:1442)
[javac] at
com.sun.tools.javac.jvm.ClassReader.list(ClassReader.java:1706)
[javac] at
com.sun.tools.javac.jvm.ClassReader.listAll(ClassReader.java:1846)
[javac] at
com.sun.tools.javac.jvm.ClassReader.fillIn(ClassReader.java:1864)
[javac] at
com.sun.tools.javac.jvm.ClassReader.complete(ClassReader.java:1521)
[javac] at com.sun.tools.javac.code.Symbol.complete(Symbol.java:355)
[javac] at
com.sun.tools.javac.comp.Enter.visitTopLevel(Enter.java:249)
[javac] at
com.sun.tools.javac.tree.Tree$TopLevel.accept(Tree.java:386)
[javac] at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:214)
[javac] at com.sun.tools.javac.comp.Enter.classEnter(Enter.java:228)
[javac] at com.sun.tools.javac.comp.Enter.complete(Enter.java:441)
[javac] at com.sun.tools.javac.comp.Enter.main(Enter.java:426)
[javac] at
com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:382)
[javac] at com.sun.tools.javac.main.Main.compile(Main.java:592)
[javac] at com.sun.tools.javac.main.Main.compile(Main.java:544)
[javac] at com.sun.tools.javac.Main.compile(Main.java:58)
[javac] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
[javac] at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[javac] at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
[javac] at java.lang.reflect.Method.invoke(Method.java:585)
[javac] at
org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:55)
[javac] at
org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:931)
[javac] at
org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
[javac] at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
[javac] at org.apache.tools.ant.Task.perform(Task.java:364)
[javac] at org.apache.tools.ant.Target.execute(Target.java:341)
[javac] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[javac] at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
[javac] at
org.apache.tools.ant.Project.executeTarget(Project.java:1185)
[javac] at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
[javac] at
org.apache.tools.ant.Project.executeTargets(Project.java:1068)
[javac] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[javac] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[javac] at
org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[javac] at
org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)
BUILD FAILED
/mnt/i/Projects_CVS/PIS/trunk/ZIS/src/build/build.xml:81: Compile
failed; see the compiler error output for details.
More information about the freebsd-java
mailing list