From owner-freebsd-java@FreeBSD.ORG Mon Dec 6 14:31:34 2004 Return-Path: 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 D5B5B16A4CE for ; Mon, 6 Dec 2004 14:31:34 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5B54E43D41 for ; Mon, 6 Dec 2004 14:31:34 +0000 (GMT) (envelope-from leafy7382@gmail.com) Received: by rproxy.gmail.com with SMTP id 1so56985rny for ; Mon, 06 Dec 2004 06:31:34 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=jmWzfagL53gDCwMAw2Za/9J2mOMw8ko2I71Uq2swkI0qXfjY8w5NKpIL0EIW4bW5SISSdzdzqMYQ9QKLd5r68MbL1mgp9N3zXuBWoue159B2gk+V9C2zcPhVtmX5MYH/XfNwnhKQqiWxISpzNzgg+plHttdzZglceR3oaQHLWos= Received: by 10.38.8.40 with SMTP id 40mr1365776rnh; Mon, 06 Dec 2004 06:31:33 -0800 (PST) Received: by 10.38.8.31 with HTTP; Mon, 6 Dec 2004 06:31:33 -0800 (PST) Message-ID: Date: Mon, 6 Dec 2004 22:31:33 +0800 From: Jiawei Ye To: Jiawei Ye , freebsd-java@freebsd.org In-Reply-To: <20041206141338.GA64147@arabica.esil.univ-mrs.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041206101840.3587A1CF@chihiro.leafy.idv.tw> <20041206113803.GA49323@arabica.esil.univ-mrs.fr> <20041206141338.GA64147@arabica.esil.univ-mrs.fr> Subject: Re: javavmwrapper messes up amavisd-new X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Jiawei Ye List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Dec 2004 14:31:34 -0000 On Mon, 6 Dec 2004 15:13:39 +0100, Herve Quiroz wrote: > Do you have any JAVA* variable defined? Please try unsetting all of them > (JAVA_VERSION, JAVA_HOME, JAVAVM...). The error you reported should only > be raised if some criteria is specified regarding the JVM and a suitable > JVM cannot be found. When nothing is specified, any JVM would fit and > thus javavmwrapper will raise no error. > > OTOH, maybe you just have javavmwrapper installed and no JDK, and thus > there is a 'java' executable with no JDK to run on the other side (thus > no suitable JVM, as there's no JVM at all). But I doubt this is the > case. > > Herve I have a valid JDK with no JAVA_* set in the environment. Running 'java' in a normal shell gives normal results. My guess is that amavisd-new runs 'java' with an incorrect search path which is later passed to the javavmwrapper executable. Any thoughts on how to verify that point? Jiawei -- "Without the userland, the kernel is useless." --inspired by The Tao of Programming