D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Opera and Java

 

Samuel Toogood wrote:
> Neil Winchurst wrote:
>   
>> On Fri, 02 Mar 2007 15:23:25 +0000
>> Samuel Toogood <sam_toogood@xxxxxxxxxxxxx> wrote:
>>
>>     
>>> You need to give opera the location of the directory where java is
>>> actually installed, rather than a symlink to it. To find this, if you
>>> type " ls -l /usr/bin/java " at a command prompt, it will give you the
>>> target location for that link. On my system it gives me
>>> /etc/alternatives/java. This is another symlink, so if you now type ls
>>> -l /etc/alternatives/java, you should get the answer you need. On my
>>> system, this is /usr/lib/jvm/java-1.5.0-sun/jre/bin/java.
>>>
>>> Alternatively, you can get the same information by typing dpkg -L
>>> sun-java5-jre or using adept.
>>>
>>> Hope this helps,
>>>
>>> Sam
>>>
>>>       
>> I did as above and it almost worked. When I reach java-1.5.0-sun it
>> turns out to be a link to java-1.5.0.08. So I carry on with /jre/bin
>> but I cannot see any files. They are there and I can see them using
>> konqueror. However Opera is only looking for folders so it doesn't see
>> the files. So I can't set it up in Opera, unless I am missing something.
>>
>> Neil
>>
>>     
> Having looked at it again, it appears to want a directory rather than
> the program itself. Try
> /usr/lib/jvm/java-1.5.0-sun-1.5.0.08/jre/lib/i386, as that's what is in
> mine. I guess it's because it uses the browser plugin rather than the
> command line program.
>
> HTH
>
> Sam
>
>   
If I remember the Opera website says that Opera no longer use the  
browser plug in.
Anyway I use the following path in Opera:-

 /usr/lib/jvm/java-1.5.0-sun-1.5.0.11/jre/lib/i386/

Remember you have to restart Opera before this takes effect.

Test using Sun's website:-

http://www.java.com/en/download/help/testvm.xml

Keith

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html