From owner-freebsd-questions@FreeBSD.ORG Thu Apr 3 01:32:04 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 947F3106566C for ; Thu, 3 Apr 2008 01:32:04 +0000 (UTC) (envelope-from dangkm@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by mx1.freebsd.org (Postfix) with ESMTP id 50B278FC18 for ; Thu, 3 Apr 2008 01:32:04 +0000 (UTC) (envelope-from dangkm@gmail.com) Received: by py-out-1112.google.com with SMTP id u52so4173816pyb.10 for ; Wed, 02 Apr 2008 18:32:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=ZzRbUEZ2bsJaZDRoGXK2EdF7Nj9cc/VeGHccYYP/a6c=; b=KsQL8SiCjyZYUq1jk1+wV0qgYggtr2AC0cEXV5ZBo6GdXDFBS9JMbg9uVW3UNXofzGE5CYI3UWVZG9RksSQRMUSXjLdj9Na87d1/C0z8FZeCGUyKLLeWKQd8zPaEhEPJlqm+/LEwp1OZulXKPQZ4I9mJ7vZJANbOYUwrThi8Zyk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=p84BVGpAG8elW0DmfM2ZZmtmAbYVJBUqvlUTSkwB67ldr94ZOJvMwtN9ekHhgcZZn8fS/968daiPlMeRn2hVWDlMG0joisbEhxI/nCsox4/Gh1etUEJ+emDgqF3BB/zGAxBzrAC/bWKmSN+1y/WKIvNAEl8quB1ojv2gBBH779Q= Received: by 10.64.208.20 with SMTP id f20mr21403892qbg.63.1207186323405; Wed, 02 Apr 2008 18:32:03 -0700 (PDT) Received: by 10.64.209.16 with HTTP; Wed, 2 Apr 2008 18:32:03 -0700 (PDT) Message-ID: <82f916c90804021832r429e9207mc644fda5f5cb75c7@mail.gmail.com> Date: Thu, 3 Apr 2008 02:32:03 +0100 From: "Kemian Dang" To: "Lowell Gilbert" In-Reply-To: <44fxu41itn.fsf@be-well.ilk.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <82f916c90804011003h43774224w1ddf971ee981ff2f@mail.gmail.com> <44fxu41itn.fsf@be-well.ilk.org> Cc: 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 01:32:04 -0000 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. Best wishes, Kemian 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. >