Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


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

30 Jul 2012   #1
PwnFrnzy

Windows 7 Home Premium 64-bit SP1
 
 
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
PwnFrnzy

Windows 7 Home Premium 64-bit SP1
 
 

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"




Thread Tools





Similar help and support threads
Thread Forum
Can't copy or move files - error message "open in other program"
When moving or renaming files I frequently get an error messages informing me that "The action can't be completed because the folder or a file in it is open in another program". This typically happens with the second or third folder I try to rename or move. Navigating away to another folder and...
General Discussion
Have copied files named "Copy of" instead of "- Copy" (aka XP style)
G'day everyone How can I get Windows 7 to name copied files using the scheme "Copy of" (used in Windows XP and earlier) instead of the default scheme "- Copy", whenever a file is copied to the same directory as the original file? In other words, if you copy a file named "Foo.txt" in a...
General Discussion
"Build 7601 This copy of Windows is not genuine" Not TTS Error
I've been getting the infamous Build 7601 error every now and then for a few weeks. Normally rebooting solves it, but it seems to have become resistant to that strategy. After running tool MGADiag tool everything seems to be in order. The product key matches the one printed on the laptop. ...
Windows Updates & Activation
Acer Aspire Alt+F10 Failure - "ERROR: failed to copy napp7.exe to ram"
Hey guys. Recently my computer's been having an infinite reboot issue, so I looked on various websites on how to fix said problem. Each website I went to directed me towards the alt + F10 method, but whenever I try to use this method it says "Please wait a moment..." for about 10 - 20 minutes then...
Backup and Restore
How to add "Copy path" and "Copy name" to context menu?
Hello! Do you know how to add "Copy path" and "copy name" to context menu? Like this screen shot!:p http://www.freeimagehosting.net/uploads/8cf090f987.png
General Discussion
Win7 "workstation" to WinXP "server" file copy FAIL
This is driving me bonkers and I have almost no hair left. I really hope someone can help. When I attempt to copy or move a file or folder from my Win7 box to my WinXP (SP3) media server, the operation nearly always fails. Take, for example, my trying to copy the VLC Media Player folder (704...
Network & Sharing

Our Sites

Site Links

About Us

Find Us

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

All times are GMT -5. The time now is 03:42.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App