Premium accounts
are only £9.99 - Upgrade now

Copy and Paste with latest Java (Java 6 update 24 onwards)

Viewing forum thread.
Back to Game Queries.
Back to Forum List.

Pages:
1
2
nick
nick
Admin
Posts: 4,747
19:17 Fri 15 Apr 11 (BST)  [Link]  
Java 6 update 24 and probably ongoing versions have disallowed copy and paste. This is due to security reasons, I believe it's due to the possibility of having sensitive data on your clipboard there and you are tricked into pressing control-v or paste.

You can override this setting.

1) Navigate to:
C:\Program Files\Java\jre6\lib\security\

2) Open this file in Notepad:
.java.policy

3) Find the following line:
// "standard" properies that can be read by anyone
And add the following on the next line:
permission java.awt.AWTPermission "accessClipboard";
Add it after the following line:

4) Restart browser.

Note that Java, including Applets, can now access your clipboard. So - don't copy and paste sensitive information when using Java websites, including this.
Deleted User
(IP Logged)
23:47 Fri 22 Apr 11 (BST)  [Link]  
It says it can't open ".policy" files...
Deleted User
(IP Logged)
01:15 Sat 23 Apr 11 (BST)  [Link]  
cuegod2 said:
It says it can't open ".policy" files...


Right click on the file then select "Open With" then select Notepad
dgeneratio
dgeneratio
Posts: 38,007
09:50 Sat 23 Apr 11 (BST)  [Link]  
or do what i do and downgrade your java
Deleted User
(IP Logged)
12:42 Tue 3 May 11 (BST)  [Link]  
i done every think nick said to do still not working with copy and paste
jimfaebod
jimfaebod
Posts: 12,176
17:02 Fri 27 May 11 (BST)  [Link]  
nick said:
Java 6 update 24 and probably ongoing versions have disallowed copy and paste. This is due to security reasons, I believe it's due to the possibility of having sensitive data on your clipboard there and you are tricked into pressing control-v or paste.

You can override this setting.

1) Navigate to:
C:\Program Files\Java\jre6\lib\security\

2) Open this file in Notepad:
.java.policy

3) Find the following line:
// "standard" properies that can be read by anyone
And add the following on the next line:
permission java.awt.AWTPermission "accessClipboard";
Add it after the following line:

4) Restart browser.

Note that Java, including Applets, can now access your clipboard. So - don't copy and paste sensitive information when using Java websites, including this.


Got as far as lib, when clicking that, it opened another file: ext

couldnt do anything else after that
nick
nick
Admin
Posts: 4,747
12:31 Sat 28 May 11 (BST)  [Link]  
Try start, run and put in C:\Program Files\Java\jre6\lib\security\

It should open the folder.
jimfaebod
jimfaebod
Posts: 12,176
21:44 Sat 28 May 11 (BST)  [Link]  
nick said:
Try start, run and put in C:\Program Files\Java\jre6\lib\security\

It should open the folder.


I dont have run!
joker86
joker86
Posts: 8,149
23:12 Sat 28 May 11 (BST)  [Link]  
Did you search "run" in the search box Jim? You should have it.
jimfaebod
jimfaebod
Posts: 12,176
08:14 Sun 29 May 11 (BST)  [Link]  
joker86 said:
Did you search "run" in the search box Jim? You should have it.


windows cannot find C:\Program
jimfaebod
jimfaebod
Posts: 12,176
12:03 Tue 7 Jun 11 (BST)  [Link]  
jimfaebod said:
joker86 said:
Did you search "run" in the search box Jim? You should have it.


windows cannot find C:\Program


Any advice or do I just go back to an earlier version of java, which I already had?
joker86
joker86
Posts: 8,149
12:12 Tue 7 Jun 11 (BST)  [Link]  
The only other way I located the files was to copy the location - C:\Program Files\Java\jre6\lib\security\ , and paste this into the address bar in "Computer".

Give that a shot Jim.

I'm thinking you may have updated to the most recent, which is update 25 but that shouldn't change anything because I have that and I am looking at my Java files right now.
jimfaebod
jimfaebod
Posts: 12,176
12:22 Tue 7 Jun 11 (BST)  [Link]  
I am on 25 and have tried this in the with the following:

No items match your search
joker86
joker86
Posts: 8,149
12:39 Tue 7 Jun 11 (BST)  [Link]  
Do you have any other versions of Java installed on your machine? If so, remove them.

Whilst doing that you could uninstall your recent version too and then do a fresh re-install and see if that works.

Are you on windows 7? I'm on vista and never been on 7 so I'm not sure how far apart they are in file locating but I wouldn't have thought there would be much difference.
jimfaebod
jimfaebod
Posts: 12,176
12:42 Tue 7 Jun 11 (BST)  [Link]  
Only have java 25 and am using windows 7
joker86
joker86
Posts: 8,149
12:55 Tue 7 Jun 11 (BST)  [Link]  
Right, have a look here Jim - C:\Program Files\Java\jdk1.6.0_03\jre\lib\security

EDIT:

Edited at 13:06 Tue 07/06/11 (BST)
jimfaebod
jimfaebod
Posts: 12,176
13:03 Tue 7 Jun 11 (BST)  [Link]  
No joy
spinner
spinner
Admin
Posts: 8,914
13:40 Tue 7 Jun 11 (BST)  [Link]  
If its the 64bit version of Win7 the files will be in "program files(486)"

There is no "run" command on the start menu of Win7 by default, easiest way to get it is the <windows key> + R shortcut..
jimfaebod
jimfaebod
Posts: 12,176
18:23 Tue 7 Jun 11 (BST)  [Link]  
spinner said:
If its the 64bit version of Win7 the files will be in "program files(486)"

There is no "run" command on the start menu of Win7 by default, easiest way to get it is the <windows key> + R shortcut..


"program files(486)" means nothing to me!

I have done the windows R and tried to find, C:\Program Files\Java\jre6\lib\security\

Once again no luck.

I have therefore went back to version 23...
dextr
dextr
Posts: 5,250
19:14 Tue 7 Jun 11 (BST)  [Link]  
I think he meant C:\Program Files (x86)\Java\jre6\lib\security\

But i tried and found the line nick was saying i put in the line he said but could not save it access denied and that was running as a admin..
Pages:
1
2
Unable to post
Reason:You must log in before you can post

Copy and Paste with latest Java (Java 6 update 24 onwards)

Back to Top of this Page
Back to Game Queries.
Back to Forum List.