From owner-freebsd-java@FreeBSD.ORG Sun May 28 17:32:04 2006 Return-Path: X-Original-To: freebsd-java@freebsd.org Delivered-To: freebsd-java@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 70F0416BBDA for ; Sun, 28 May 2006 17:32:04 +0000 (UTC) (envelope-from andy@triera.net) Received: from deliver-1.mx.triera.net (deliver-1.mx.triera.net [213.161.0.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id C401743D46 for ; Sun, 28 May 2006 17:32:03 +0000 (GMT) (envelope-from andy@triera.net) Received: from localhost (in-3.mx.triera.net [213.161.0.27]) by deliver-1.mx.triera.net (Postfix) with ESMTP id 643D8BFD7 for ; Sun, 28 May 2006 19:31:53 +0200 (CEST) Received: from smtp.triera.net (smtp.triera.net [213.161.0.30]) by in-3.mx.triera.net (Postfix) with SMTP id 1AE871BC089 for ; Sun, 28 May 2006 19:31:56 +0200 (CEST) Received: from [127.0.0.1] (cpe1-5-51.cable.triera.net [213.161.5.51]) by smtp.triera.net (Postfix) with ESMTP id D53E41A18B2 for ; Sun, 28 May 2006 19:31:56 +0200 (CEST) Message-ID: <4479DEAA.2090604@triera.net> Date: Sun, 28 May 2006 19:32:26 +0200 From: Aleksander Rozman User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: freebsd-java@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Triera AV Service Subject: jar problem X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 28 May 2006 17:32:06 -0000 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.