From owner-freebsd-java@FreeBSD.ORG Thu Nov 8 16:39:27 2012 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CB10C2C7 for ; Thu, 8 Nov 2012 16:39:27 +0000 (UTC) (envelope-from zaphod@berentweb.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id A5BFC8FC0C for ; Thu, 8 Nov 2012 16:39:27 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1TWV8Z-0004ph-0d for freebsd-java@freebsd.org; Thu, 08 Nov 2012 08:39:27 -0800 Date: Thu, 8 Nov 2012 08:39:27 -0800 (PST) From: Beeblebrox To: freebsd-java@freebsd.org Message-ID: <1352392767008-5759217.post@n5.nabble.com> Subject: openjdk7 instead of openjdk6? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-java@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting Java to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Nov 2012 16:39:27 -0000 I have openjdk7 installed instead of openjdk6. I have placed in /usr/local a symlink to openjdk7 and named it openjdk6 (any app looking for 6 will be directed to the 7 folder). I have placed an entry in /etc/make.conf so that and port having dependency for openjdk6 is re-directed to 7. Not everything works nicely though: - LibreOffice for example complains that there is no installed JRE - Building math/scilab breaks with: checking to see if we can link a JNI application... no configure: error: could not link file that includes jni.h Either the configure script does not know how to deal with this JVM configuration or the JVM install is broken or corrupted. I think these are or should be very simple errors and easily corrected. Any suggestions on how to fix? Thanks and regards. -- View this message in context: http://freebsd.1045724.n5.nabble.com/openjdk7-instead-of-openjdk6-tp5759217.html Sent from the freebsd-java mailing list archive at Nabble.com.