Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Jan 2006 11:42:48 -0800
From:      Garrett Cooper <youshi10@u.washington.edu>
To:        freebsd-questions@freebsd.org
Subject:   Re: Java Virtual Machine
Message-ID:  <43D3E038.10705@u.washington.edu>
In-Reply-To: <43D3DD95.4040308@ywave.com>
References:  <43C02026.5020707@gmail.com> <43C041B8.2080008@ywave.com>	<43D3D60C.4090502@pobox.sk> <43D3DD95.4040308@ywave.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43D3E038.10705>