From owner-freebsd-questions@FreeBSD.ORG Thu Apr 3 15:10:33 2008 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 D06F3106566B for ; Thu, 3 Apr 2008 15:10:33 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id 923968FC13 for ; Thu, 3 Apr 2008 15:10:33 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 1405228469; Thu, 3 Apr 2008 11:10:18 -0400 (EDT) To: "Kemian Dang" References: <82f916c90804011003h43774224w1ddf971ee981ff2f@mail.gmail.com> <44fxu41itn.fsf@be-well.ilk.org> <82f916c90804021832r429e9207mc644fda5f5cb75c7@mail.gmail.com> From: Lowell Gilbert Date: Thu, 03 Apr 2008 11:10:18 -0400 In-Reply-To: <82f916c90804021832r429e9207mc644fda5f5cb75c7@mail.gmail.com> (Kemian Dang's message of "Thu\, 3 Apr 2008 02\:32\:03 +0100") Message-ID: <44y77v0yat.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Lowell Gilbert , freebsd-questions@freebsd.org Subject: Re: Which one should I use diablo-jdk1.5.0 or jdk-1.6 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: Thu, 03 Apr 2008 15:10:33 -0000 Don't top-post, please. "Kemian Dang" writes: > I want to write Java program, so I want to find which one should I > use, to avoid situation that my code can not be compiled and run on > another machine. So it isn't really a question of diablo versus regular port, you're trying to choose between java 1.5 and 1.6. For maximum portability, I would recommend installing both, and making sure your code runs on both. > On 02/04/2008, Lowell Gilbert wrote: >> "Kemian Dang" writes: >> >> > I am not sure which version of jdk should I use, do they have the same >> > functionality? >> > >> > I know jdk-1.6 is compiled by diablo-jdk and has no run dependency on >> > diablo, but if diablo is the same as the original sun jdk, why should >> > there be another one, or to say, why I need to install another one? >> > >> > So, any suggestions? >> >> >> If you're not writing java code yourself, the differences will >> probably be quite small. >> > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/