From owner-freebsd-java@FreeBSD.ORG Thu Oct 27 14:02:11 2005 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 2D2F116A41F; Thu, 27 Oct 2005 14:02:11 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from sakura.ninth-nine.com (sakura.ninth-nine.com [219.127.74.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8144243D45; Thu, 27 Oct 2005 14:02:10 +0000 (GMT) (envelope-from nork@FreeBSD.org) Received: from nadesico.ninth-nine.com (nadesico.ninth-nine.com [219.127.74.122]) by sakura.ninth-nine.com (8.13.3/8.13.3/NinthNine) with ESMTP id j9RE27Iw040963; Thu, 27 Oct 2005 23:02:07 +0900 (JST) (envelope-from nork@FreeBSD.org) Date: Thu, 27 Oct 2005 23:02:07 +0900 From: Norikatsu Shigemura To: Alexey Zelkin Message-Id: <20051027230207.d077fb37.nork@FreeBSD.org> X-Mailer: Sylpheed version 2.1.4 (GTK+ 2.6.10; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0 (sakura.ninth-nine.com [219.127.74.121]); Thu, 27 Oct 2005 23:02:07 +0900 (JST) Cc: ume@FreeBSD.org, Norikatsu Shigemura , freebsd-java@FreeBSD.org Subject: Default CLASSPATH order 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: Thu, 27 Oct 2005 14:02:11 -0000 Hi Alexey. I have a problem about jce_policy 1.4 which I committed as security/jce_policy14. I contacted following error. - - - - - - - - java.lang.SecurityException: Unsupported keysize or algorithm parameters at javax.crypto.Cipher.init(DashoA6275) : - - - - - - - - I saw that I miss install directory, and java_home in http://java.sun.com/products/jce/index-14.html is ${JAVA_HOME}/jre. But I want to override ${JAVA_HOME}/jre/lib/*.jar. So I have 2 solution of this problem. 1. a method like graphics/xv-m17n original jar files will rename to backup files, and install new jar files. I don't like this solution:-(. 2. change CLASSPATH order ${JAVA_HOME}/lib rathar than ${JAVA_HOME}/jre/lib. I think this is good solution. But I don't know where CLASSPATH order is decided. Do you have any idea?