Why do I need security software?

Page 2 - Seeking answers? Join the AnandTech community: where nearly half-a-million members share solutions and discuss the latest tech.

Duwelon

Golden Member
Nov 3, 2004
1,058
0
0
Java is a major PITA. I keep a couple batch files that renames all the JAVA executables whenever i'm not using it or renames them back when I need to use it. I have to use java for work otherwise I'd uninstall that big gaping security hole.
 

SonicIce

Diamond Member
Apr 12, 2004
4,771
0
76
Java is a major PITA. I keep a couple batch files that renames all the JAVA executables whenever i'm not using it or renames them back when I need to use it. I have to use java for work otherwise I'd uninstall that big gaping security hole.

thats a good idea. i got a virus last year from java. i was just entering a website then java icon comes up in system tray and whole comp went haywire and started installing things. havent installed java since but miss it for a couple things. which exes do you rename and will it stop anything from running java?
 

Duwelon

Golden Member
Nov 3, 2004
1,058
0
0
thats a good idea. i got a virus last year from java. i was just entering a website then java icon comes up in system tray and whole comp went haywire and started installing things. havent installed java since but miss it for a couple things. which exes do you rename and will it stop anything from running java?

ALL of them, I take no chances! :D

Code:
batch file to "Disable" java

ren "C:\Program Files (x86)\Java\jre6\bin\java.exe" java.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\javaw.exe" javaw.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\javacpl.exe" javacpl.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\java-rmi.exe" java-rmi.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\jbroker.exe" jbroker.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\javaws.exe" javaws.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\keytool.exe" keytool.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\rmid.exe" rmid.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\jp2launcher.exe" jp2launcher.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\jqs.exe" jqs.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\jqsnotify.exe" jqsnotify.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\kinit.exe" kinit.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\klist.exe" klist.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\ktab.exe" ktab.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\orbd.exe" orbd.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\pack200.exe" pack200.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\policytool.exe" policytool.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\rmiregistry.exe" rmiregistry.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\servertool.exe" servertool.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\ssvagent.exe" ssvagent.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\tnameserv.exe" tnameserv.ex_
ren "C:\Program Files (x86)\Java\jre6\bin\unpack200.exe" unpack200.ex_
pause

Batch file to "re-enable" Java

ren "C:\Program Files (x86)\Java\jre6\bin\java.ex_" java.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\javaw.ex_" javaw.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\javacpl.ex_" javacpl.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\java-rmi.ex_" java-rmi.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\jbroker.ex_" jbroker.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\javaws.ex_" javaws.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\keytool.ex_" keytool.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\rmid.ex_" rmid.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\jp2launcher.ex_" jp2launcher.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\jqs.ex_" jqs.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\jqsnotify.ex_" jqsnotify.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\kinit.ex_" kinit.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\klist.ex_" klist.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\ktab.ex_" ktab.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\orbd.ex_" orbd.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\pack200.ex_" pack200.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\policytool.ex_" policytool.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\rmiregistry.ex_" rmiregistry.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\servertool.ex_" servertool.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\ssvagent.ex_" ssvagent.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\tnameserv.ex_" tnameserv.exe 
ren "C:\Program Files (x86)\Java\jre6\bin\unpack200.ex_" unpack200.exe 
pause

I'm sure there's probably a more clever way but this does it for me. This is on win7, just remember to give the shortcut to the batch file admin rights or it won't work if you're in vista/win7.

It seems to stop the main Java app I use to stop working with just renaming JAVAW.exe or JAVA.exe, so this should close just about any security hole that may exist in java temporarily.
 

think2

Senior member
Dec 29, 2009
250
3
81
Java is a major PITA. I keep a couple batch files that renames all the JAVA executables whenever i'm not using it or renames them back when I need to use it. I have to use java for work otherwise I'd uninstall that big gaping security hole.

I don't get it. In what situation does this protect you?

With google chrome, I have "block all" enabled for all plugins - includes Java applets. For a small number of specific websites that I go to regularly (e.g. youtube) I have Adobe flash enabled. If I want to run a blocked plugin on a particular website, I can right click and select "allow plugin" - real easy. I haven't needed Java anywhere so far.
 

Duwelon

Golden Member
Nov 3, 2004
1,058
0
0
I don't get it. In what situation does this protect you?

With google chrome, I have "block all" enabled for all plugins - includes Java applets. For a small number of specific websites that I go to regularly (e.g. youtube) I have Adobe flash enabled. If I want to run a blocked plugin on a particular website, I can right click and select "allow plugin" - real easy. I haven't needed Java anywhere so far.

What if a friend of family member plugs in a USB drive? What if chrome has an exploit that someone utilizes with Java, skating past your defenses like they didn't exist?

For my time, i'm willing to disable it and re-enable it whenever I need it. If I didn't need it for work, I wouldn't even have it installed, so if you don't use it, more power to you.