Configure Error Java.util.jar.pack200 Not Found
van GoogleInloggenVerborgen veldenZoeken naar groepen of berichten
Method java.util.jar Interface Pack200.Packer Enclosing class: Pack200 public static interface Pack200.Packer The packer engine applies various transformations to the input JAR file, making the pack stream highly compressible by a compressor such as gzip or zip. An instance of the engine can be obtained using Pack200.newPacker(). The high degree of compression is achieved by using a number of techniques described in the JSR 200 specification. Some of the techniques are sorting, re-ordering and co-location of the constant pool. The pack engine is initialized to an https://groups.google.com/d/topic/auskey/Bs-01AlP8zM initial state as described by their properties below. The initial state can be manipulated by getting the engine properties (using properties()) and storing the modified properties on the map. The resource files will be passed through with no changes at all. The class files will not contain identical bytes, since the unpacker is free to change minor class https://docs.oracle.com/javase/7/docs/api/java/util/jar/Pack200.Packer.html file features such as constant pool order. However, the class files will be semantically identical, as specified in The Java™ Virtual Machine Specification. By default, the packer does not change the order of JAR elements. Also, the modification time and deflation hint of each JAR element is passed unchanged. (Any other ZIP-archive information, such as extra attributes giving Unix file permissions, are lost.) Note that packing and unpacking a JAR will in general alter the bytewise contents of classfiles in the JAR. This means that packing and unpacking will in general invalidate any digital signatures which rely on bytewise images of JAR elements. In order both to sign and to pack a JAR, you must first pack and unpack the JAR to "normalize" it, then compute signatures on the unpacked JAR elements, and finally repack the signed JAR. Both packing steps should use precisely the same options, and the segment limit may also need to be set to "-1", to prevent accidental variation of segment boundaries as class file sizes change slightly. (
Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] checking for X11... yes checking for https://lists.freebsd.org/pipermail/freebsd-java/2011-November/009448.html a JRE home directory... /usr/local/openjdk6/jre checking for a Java virtual http://www.docjar.com/html/api/java/util/jar/Pack200.java.html machine... /usr/local/openjdk6/jre/bin/java checking if java.util.jar.Pack200 is available... yes checking if java.net.CookieManager is available... yes checking if java.net.HttpCookie is available... yes checking if java.net.CookieHandler is available... yes checking if sun.security.provider.X509Factory is available... yes checking if sun.security.util.SecurityConstants is available... yes checking configure error if sun.security.util.HostnameChecker is available... yes checking if sun.security.x509.X500Name is available... yes checking if sun.misc.BASE64Encoder is available... yes checking if sun.misc.HexDumpEncoder is available... yes checking if sun.security.validator.ValidatorException is available... yes checking if com.sun.net.ssl.internal.ssl.X509ExtendedTrustManager is available... yes checking if sun.awt.X11.XEmbeddedFrame is available... yes checking if sun.misc.Ref is available... yes checking if configure error java.util.jar.pack200 com.sun.jndi.toolkit.url.UrlUtil is available... yes checking if sun.applet.AppletImageRef is available... yes checking if sun.applet.AppletViewerPanel is available and public... 2 configure: error: sun.applet.AppletViewerPanel is not public. ===> Script "configure" failed unexpectedly. Please report the problem to java at FreeBSD.org [maintainer] and attach the "/usr/ports/java/icedtea-web/work/icedtea-web-1.1.4/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/java/icedtea-web. *** Error code 1 Stop in /usr/ports/java/icedtea-web. Regards, web... -- William Bulley Email: web at umich.edu 72 characters width template ----------------------------------------->| -------------- next part -------------- This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by icedtea-web configure 1.1.4, which was generated by GNU Autoconf 2.68. Invocation command line was $ ./configure --wi
THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. Oracle designates this 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 10 * 11 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * version 2 for more details (a copy is included in the LICENSE file that 15 * accompanied this code). 16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 package java.util.jar; 26 27 import java.util.SortedMap; 28 import java.io.InputStream; 29 import java.io.OutputStream; 30 import java.io.File; 31 import java.io.IOException; 32 import java.beans.PropertyChangeListener; 33 34 35 36 37 /** 38 * Transforms a JAR file to or from a packed stream in Pack200 format. 39 * Please refer to Network Transfer Format JSR 200 Specification at 40 * http://jcp.org/aboutJava/communityprocess/review/jsr200/index.html 41 *
42 * Typically the packer engine is used by application developers 43 * to deploy or host JAR files on a website. 44 * The unpacker engine is used by deployment applications to 45 * transform the byte-stream back to JAR format. 46 *
47 * Here is an example using packer and unpacker:
48 *
49 * import java.util.jar.Pack200; 50 * import java.util.jar.Pack200.*; 51 * ... 52 * // Create the Packer object 53 * Packer packer = Pack200.newPacker(); 54 * 55 * // Initialize the state by setting the desired properties 56 * Map p = packer.properties(); 57 * // take more time choosing codings for better compression 58 * p.put(Packer.EFFORT, "7"); // default is "5" 59 * // use largest-possible archive segments (>10% better compression). 60 * p.put(Packer.SEGMENT_LIMIT, "-1"); 61 * // reorder files for better compression. 62 * p.put(Packer.KEEP_FILE_ORDER, Packer.FALSE); 63 * // smear modification times to a single value. 64 * p