From owner-freebsd-questions@FreeBSD.ORG Sun Jan 22 19:42:50 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2FB616A41F for ; Sun, 22 Jan 2006 19:42:50 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from mxout1.cac.washington.edu (mxout1.cac.washington.edu [140.142.32.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7EEBA43D48 for ; Sun, 22 Jan 2006 19:42:49 +0000 (GMT) (envelope-from youshi10@u.washington.edu) Received: from smtp.washington.edu (smtp.washington.edu [140.142.33.9]) by mxout1.cac.washington.edu (8.13.5+UW05.10/8.13.5+UW05.09) with ESMTP id k0MJgmnD023080 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 22 Jan 2006 11:42:48 -0800 X-Auth-Received: from [128.208.4.242] (nilakantha.cs.washington.edu [128.208.4.242]) (authenticated authid=youshi10) by smtp.washington.edu (8.13.5+UW05.10/8.13.5+UW05.09) with ESMTP id k0MJgmwA012231 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 22 Jan 2006 11:42:48 -0800 Message-ID: <43D3E038.10705@u.washington.edu> Date: Sun, 22 Jan 2006 11:42:48 -0800 From: Garrett Cooper User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <43C02026.5020707@gmail.com> <43C041B8.2080008@ywave.com> <43D3D60C.4090502@pobox.sk> <43D3DD95.4040308@ywave.com> In-Reply-To: <43D3DD95.4040308@ywave.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Uwash-Spam: Gauge=IIIIIII, Probability=7%, Report='__CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __HAS_MSGID 0, __MIME_TEXT_ONLY 0, __MIME_VERSION 0, __SANE_MSGID 0, __USER_AGENT 0' Subject: Re: Java Virtual Machine 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: Sun, 22 Jan 2006 19:42:51 -0000 Micah wrote: > martinko wrote: > >> Micah wrote: >> >>> Porpoise Power wrote: >>> >>>> Which Java VM is the best for freebsd 5.4, running gnome2, and >>>> firefox? >>>> >>>> James Best >>> >>> >>> >>> Both the native jdk14 and jdk15 provide good Java VMs. jdk15 is >>> newer and might be unstable (hasn't been for me). jdk14 is more >>> tested and is the "default" java for FreeBSD on i386. >>> >>> HTH, >>> Micah >> >> >> can you have both versions installed ? >> and how do you choose which one of them to use (for instance in >> mozilla) ? >> >> m. > > > Yes, you can have both installed at the same time. > /usr/ports/java/javavmwrapper makes switching JVMs easy using > environment variables, however it doesn't seem to support switching > browser plugins. For that you'd probably have to switch the symlink > in /usr/X11R6/lib/browser_plugins and restart the browser. > > HTH, > Micah Good rules of thumb: Use j2sdk 1.4 (not everything compiles under 1.5 I've heard from several people) for compiling, use j2sre 1.5 for browser/applet stuff (for compatibility with all Java stuff). -Garrett