From owner-freebsd-java@FreeBSD.ORG Thu Apr 10 13:09:34 2008 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66562106566C for ; Thu, 10 Apr 2008 13:09:34 +0000 (UTC) (envelope-from angrywolf@flashmail.com) Received: from mail01d.mail.t-online.hu (mail01d.mail.t-online.hu [84.2.42.6]) by mx1.freebsd.org (Postfix) with ESMTP id 1AC858FC16 for ; Thu, 10 Apr 2008 13:09:34 +0000 (UTC) (envelope-from angrywolf@flashmail.com) Received: from 555555.no-ip.org (catv54032FE8.pool.t-online.hu [84.3.47.232]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mail01d.mail.t-online.hu (Postfix) with ESMTPSA id 6ABE612E404 for ; Thu, 10 Apr 2008 14:52:17 +0200 (CEST) Received: from gep7.555555.no-ip.org (unknown [172.16.0.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by 555555.no-ip.org (Postfix) with ESMTP id 3BD6111448 for ; Thu, 10 Apr 2008 14:52:17 +0200 (CEST) From: AngryWolf To: freebsd-java@freebsd.org Date: Thu, 10 Apr 2008 14:52:06 +0200 User-Agent: KMail/1.9.7 References: <1207778735.1098.4.camel@darkstar.galaxy> <20080410072020.S55272@pukruppa.net> <39888F25D44D6446AFDBC9141591E8D60479889D@FTLPEXCH04.citrite.net> In-Reply-To: <39888F25D44D6446AFDBC9141591E8D60479889D@FTLPEXCH04.citrite.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200804101452.06905.angrywolf@flashmail.com> Subject: Re: java in FreeBSD 7.0 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, 10 Apr 2008 13:09:34 -0000 Hi, Dunno if it helps, but this is the way I installed JDK1.6 on my system (FreeBSD 7.0): 1. Install jdk-1.6 from port, that will install diablo-djk-1.5 as a dependency (as far as I can remember). 2. Set JAVA_HOME environment variable to "/usr/local/jdk1.6.0". 3. Check "java -version" again. I should work because /usr/local/bin/java and javac are just wrapper scripts to start whatever java/javac version you want. I can't help on the compile errors though... -- AngryWolf angrywolf@flashmail.com