How do I bypass “access denied” with Java?

Question by nahiluhmot: How do I bypass “access denied” with Java?
I’m fairly new to Java… particularly I/O things. Anyway, if I try to write a .txt file to lets say System 32, it says that my access is denied. How do I get around that?

Best answer:

Answer by Dan M
You can’t. JAVA is a language that was designed with the idea of security in mind, and it is greatly limited in it’s ability to interact with elements of the PC.

The long and shot if it is that JAVA is designed specifically not to allow you to do those sort of things.

What do you think? Answer below!

Leave a Reply

Your email address will not be published. Required fields are marked *