Post by TCM on Aug 15, 2011 2:31:29 GMT -5
Chances are, you've updated your Java in the last few months, and with some of the people who've recently gone to chat, noticed they couldn't paste links from other sites into the chat. That's because of a bug in the Java write up. There are two solutions to this. You could downgrade your Java to Java 23 or sooner, but that's a security risk, in addition you may come across the odd program that doesn't work because your Java is so old.
The other fix is here. The post in particular is this one:
A few people including myself twice (once on XP, once on 7) can vouch and say this works and there has been no danger to our computers. Now, I don't remember having to copy the java.policy file and paste/rename it in XP, but in 7 that's a definite must. Fair warning: if you decide to try this, pay close attention so you don't mess up your computer. Should you, that's on you.
The other fix is here. The post in particular is this one:
You can find such file (java.policy) in :
C:\Program Files\Java\jre6\lib\security\
Copy file to User Home folder : (Win7)
C:\Users\--your--user--name--\
AS ".java.policy"
NOTE THE DOT (.) in the front of FILE
add line
permission java.awt.AWTPermission "accessClipboard";
to file
in section :
...
...
// default permissions granted to all domains
grant {
// Allows any thread to stop itself using the java.lang.Thread.stop()
// method that takes no argument.
// Note that this permission is granted by default only to remain
// backwards compatible.
// It is strongly recommended that you either remove this permission
// from this policy file or further restrict it to code sources
// that you specify, because Thread.stop() is potentially unsafe.
// See the API specification of java.lang.Thread.stop() for more
// information.
permission java.lang.RuntimePermission "stopThread";
// allows anyone to listen on un-privileged ports
permission java.net.SocketPermission "localhost:1024-", "listen";
// "standard" properies that can be read by anyone
permission java.awt.AWTPermission "accessClipboard";
..........
....
SAVE file and reload browser (firefox in my case)
C:\Program Files\Java\jre6\lib\security\
Copy file to User Home folder : (Win7)
C:\Users\--your--user--name--\
AS ".java.policy"
NOTE THE DOT (.) in the front of FILE
add line
permission java.awt.AWTPermission "accessClipboard";
to file
in section :
...
...
// default permissions granted to all domains
grant {
// Allows any thread to stop itself using the java.lang.Thread.stop()
// method that takes no argument.
// Note that this permission is granted by default only to remain
// backwards compatible.
// It is strongly recommended that you either remove this permission
// from this policy file or further restrict it to code sources
// that you specify, because Thread.stop() is potentially unsafe.
// See the API specification of java.lang.Thread.stop() for more
// information.
permission java.lang.RuntimePermission "stopThread";
// allows anyone to listen on un-privileged ports
permission java.net.SocketPermission "localhost:1024-", "listen";
// "standard" properies that can be read by anyone
permission java.awt.AWTPermission "accessClipboard";
..........
....
SAVE file and reload browser (firefox in my case)
A few people including myself twice (once on XP, once on 7) can vouch and say this works and there has been no danger to our computers. Now, I don't remember having to copy the java.policy file and paste/rename it in XP, but in 7 that's a definite must. Fair warning: if you decide to try this, pay close attention so you don't mess up your computer. Should you, that's on you.