View previous topic :: View next topic |
Author |
Message |
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Fri May 29, 2015 2:23 pm Post subject: Disable java in browser |
|
|
I've read that a java-enabled browser is a security risk even on Linux. How can I be sure I'm not vulnerable? |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Fri May 29, 2015 2:56 pm Post subject: Re: Disable java in browser |
|
|
grant123 wrote: | I've read that a java-enabled browser is a security risk even on Linux. How can I be sure I'm not vulnerable? |
Depends on your browser. Firefox uses java as a plugin. Type about:plugins in the urlbar to see what plugins are activated. |
|
Back to top |
|
|
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Fri May 29, 2015 3:09 pm Post subject: |
|
|
Can I do something Gentoo-wide to disable java in browsers? |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Fri May 29, 2015 3:50 pm Post subject: |
|
|
grant123 wrote: | Can I do something Gentoo-wide to disable java in browsers? |
Have jre and jdk without plugin support or better completely unmerged. No idea if any of your undisclosed browsers has java support without jre or jdk.
And, don't get confused regarding javascript being completely different from java. ok? |
|
Back to top |
|
|
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Fri May 29, 2015 6:14 pm Post subject: |
|
|
charles17 wrote: | grant123 wrote: | Can I do something Gentoo-wide to disable java in browsers? |
Have jre and jdk without plugin support or better completely unmerged. |
I have the jdk and jre virtuals. How can I figure out which packages they are associated with? |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Sat May 30, 2015 9:00 am Post subject: |
|
|
Code: | $ eselect java-nsplugin list |
|
|
Back to top |
|
|
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Sat May 30, 2015 2:05 pm Post subject: |
|
|
Code: | # eselect java-nsplugin list
Available 32-bit Java browser plugins
Available 64-bit Java browser plugins |
I guess this means I don't have a jdk and jre? Why would I have the virtuals? My system is up to date and cleaned. |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Sat May 30, 2015 2:17 pm Post subject: |
|
|
grant123 wrote: | Why would I have the virtuals? My system is up to date and cleaned. | Check Code: | $ equery d virtual/jdk
$ equery d virtual/jre
$ grep -i 'jre\|jdk' /var/lib/portage/world |
|
|
Back to top |
|
|
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Sat May 30, 2015 2:27 pm Post subject: |
|
|
OK I can see that a java program I use does depend on virtual/jre, but then how can it operate without a real jre installed? |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Sat May 30, 2015 4:33 pm Post subject: |
|
|
It cannot. |
|
Back to top |
|
|
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Sat May 30, 2015 5:44 pm Post subject: |
|
|
The java program works for sure and I see that I do have dev-java/icedtea-7.2.4.7 installed, so I guess the question is why doesn't 'eselect java-nsplugin list' indicate that?
EDIT: It must be because I'm using USE="-nsplugin". Is there a method for finding out which jre and jdk are installed? |
|
Back to top |
|
|
charles17 Advocate
Joined: 02 Mar 2008 Posts: 3664
|
Posted: Sun May 31, 2015 7:12 am Post subject: |
|
|
Code: | $ eselect java-vm list |
|
|
Back to top |
|
|
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Sun May 31, 2015 3:04 pm Post subject: |
|
|
It all makes sense now, thank you.
Code: | # eselect java-vm list
Available Java Virtual Machines:
[1] icedtea-7 system-vm |
|
|
Back to top |
|
|
|