Windows 7 Forums


Windows 7: Java Error "Cannot Copy to the Clipboard"

30 Jul 2012   #1

Windows 7 Home Premium 64-bit SP1
California, US
 
 
Java Error "Cannot Copy to the Clipboard"

I have been having an error with Java lately and I think this issue is the reason for the many Java related issues I've been having. I'm hoping someone here has an effective fix, either it be reinstalling Java entirely or modifying a file.



The error is as follows:
Cannot copy to the clipboard: java.security.AccessControlException , access denied ("java.awt.AWTPermission" "accessClipboard")
My System SpecsSystem Spec

31 Jul 2012   #2

Windows 7 Home Premium 64-bit SP1
California, US
 
 

Anything?

EDIT: Tried full reinstall of both 32 and 64 bit versions, it did not fix the problem at all.

EDIT 2: Well after not wanting to edit the file without the help of someone who knows what they are doing, I searched the web and edited the java.policy file with a line that re-enables copy-pasting again within Java. And it seems to have worked.
Does anyone know why copy-paste was disabled in Java 7 Update 5?

This is what I did:
https://blogs.oracle.com/kyle/entry/..._paste_in_java
My System SpecsSystem Spec
Reply

 Java Error "Cannot Copy to the Clipboard" problems?



Thread Tools



Similar help and support threads for: Java Error "Cannot Copy to the Clipboard"
Thread Forum
Can't copy or move files - error message "open in other program" General Discussion
java.io.IOException: Cannot run program "cmd.exe": CreateProcess error General Discussion
Acer Aspire Alt+F10 Failure - "ERROR: failed to copy napp7.exe to ram" Backup and Restore
Have copied files named "Copy of" instead of "- Copy" (aka XP style) General Discussion
Win7 "workstation" to WinXP "server" file copy FAIL Network & Sharing


All times are GMT -5. The time now is 10:09 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

Windows 7 Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows 7" and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32