Date: Mon, 6 Dec 2004 15:13:39 +0100 From: Herve Quiroz <herve.quiroz@esil.univ-mrs.fr> To: Jiawei Ye <leafy7382@gmail.com> Cc: freebsd-java@FreeBSD.ORG Subject: Re: javavmwrapper messes up amavisd-new Message-ID: <20041206141338.GA64147@arabica.esil.univ-mrs.fr> In-Reply-To: <c21e92e204120605053fbd175b@mail.gmail.com> References: <20041206101840.3587A1CF@chihiro.leafy.idv.tw> <20041206113803.GA49323@arabica.esil.univ-mrs.fr> <c21e92e204120605053fbd175b@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Dec 06, 2004 at 09:05:15PM +0800, Jiawei Ye wrote: > They are erh....not related at all, which was why it took me about 2 > hrs to figure out why my amavisd-new b0rked. Java is not a dependancy > of amavisd-new nor vice versa. I just happen to use both of them. The > only java-related portion in amavisd is where it needs to figure out > the mime-type of a multipart mail. Other than that, I have no clue why > javavmwrapper clobbers amavisd-new. IMHO, this means that amavisd-new is using a JDK through the 'java' command. It was already doing this BTW, but now javavmwrapper installs a 'java' executable in a directory included in $PATH ($PREFIX/bin/). So I guess we should either disable this use of Java in the amavisd-new port or fix this support. 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041206141338.GA64147>