Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Disable java in browser
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 980

PostPosted: Fri May 29, 2015 2:23 pm    Post subject: Disable java in browser Reply with quote

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
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2583

PostPosted: Fri May 29, 2015 2:56 pm    Post subject: Re: Disable java in browser Reply with quote

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
View user's profile Send private message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 980

PostPosted: Fri May 29, 2015 3:09 pm    Post subject: Reply with quote

Can I do something Gentoo-wide to disable java in browsers?
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2583

PostPosted: Fri May 29, 2015 3:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 980

PostPosted: Fri May 29, 2015 6:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2583

PostPosted: Sat May 30, 2015 9:00 am    Post subject: Reply with quote

Code:
$ eselect java-nsplugin list
Back to top
View user's profile Send private message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 980

PostPosted: Sat May 30, 2015 2:05 pm    Post subject: Reply with quote

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
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2583

PostPosted: Sat May 30, 2015 2:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 980

PostPosted: Sat May 30, 2015 2:27 pm    Post subject: Reply with quote

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
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2583

PostPosted: Sat May 30, 2015 4:33 pm    Post subject: Reply with quote

It cannot.
Back to top
View user's profile Send private message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 980

PostPosted: Sat May 30, 2015 5:44 pm    Post subject: Reply with quote

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
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2583

PostPosted: Sun May 31, 2015 7:12 am    Post subject: Reply with quote

Code:
$ eselect java-vm list
Back to top
View user's profile Send private message
grant123
l33t
l33t


Joined: 23 Mar 2005
Posts: 980

PostPosted: Sun May 31, 2015 3:04 pm    Post subject: Reply with quote

It all makes sense now, thank you.

Code:
# eselect java-vm list
Available Java Virtual Machines:
  [1]   icedtea-7  system-vm
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum