From owner-freebsd-questions@FreeBSD.ORG Fri Feb 5 00:51:09 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 866471065742 for ; Fri, 5 Feb 2010 00:51:09 +0000 (UTC) (envelope-from nlandys@gmail.com) Received: from mail-qy0-f190.google.com (mail-qy0-f190.google.com [209.85.221.190]) by mx1.freebsd.org (Postfix) with ESMTP id 408CF8FC1B for ; Fri, 5 Feb 2010 00:51:09 +0000 (UTC) Received: by qyk28 with SMTP id 28so1506384qyk.25 for ; Thu, 04 Feb 2010 16:51:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=443VDVnjf4qxiDvk5yTV0SDjEYCCqNolFMFhgJ9TIBg=; b=mugFCrJzuQ/fBs8OCs+HdV6pAhmBIR7h8GJfrW5C6n5BSlIWJL39i/bIOt54Hv/FUj gVmGMQ07cIMbWViQHd8p29Sj4AGPj3dY4HA3knavktkACu5jsm8k0kK4HFEIK4hDo9Md 1tN9pSgbMiysYXIY3I9JWCoBORjo2LWQ+8UZc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=u6En8QMGsimouHun53KZ20tYgOHykm1AB80M7eNvh6qmKw7/NMBGd84LN1xrwovc6/ 8xiJSk7WnBHwt1F4QfSMXjlJYxI1G6k9nMIDaIc9edTC61J0oXvUiBWJLqZcMgnONoKd znq6u7p3cAqHTOkXoiyGqskSSsVRAxdlrm6Zw= MIME-Version: 1.0 Received: by 10.229.110.199 with SMTP id o7mr969817qcp.76.1265331068214; Thu, 04 Feb 2010 16:51:08 -0800 (PST) In-Reply-To: <539c60b91002041625o4c0eca58p79cb3491b8cbe3b8@mail.gmail.com> References: <539c60b91002041625o4c0eca58p79cb3491b8cbe3b8@mail.gmail.com> Date: Thu, 4 Feb 2010 16:51:08 -0800 Message-ID: <560f92641002041651r607bd395le5b3174c24020316@mail.gmail.com> From: Nerius Landys To: Steve Franks Content-Type: text/plain; charset=ISO-8859-1 Cc: FreeBSD Mailing List Subject: Re: which java on 8-release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Feb 2010 00:51:09 -0000 > Tried to get any permutation of XYZ-jre or XYZ-jdk installed on 8-rc1 > and gave up. I see still no diablo for 8. What is the best way > forward (and how am I so dense that no one else has even asked this > question, I must be on the wrong track, no?) I saw a few posts about > having to install diablo in order to build openjdk, so that's out > too...what is the 'magic' port that people use? I just want to run > all the apps that need java, I don't plan to write any java on my own. I compiled Java 1.5 from ports on 8.0 (both on i386 and on amd64). > cd /usr/ports/java/jdk15/ > make install clean (Then follow directions about downloading tarballs and placing them in /usr/ports/distfiles/ .) Along the way to building this port, it automatically installed the compat-7 mentioned above, as well as the diablo JDK. When the install was all finished, I uninstalled the diablo JDK so that I'd have just my freshly-compiled JDK 1.5 installed. I'm sure building JDK 1.6 from ports is similar: > cd /usr/ports/java/jdk16/ > make install clean I prefer JDK 1.5 because it's simpler and has less dependencies, but that's just me.