Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java.io.FilePermission problem #1

Closed
xiegeyang opened this issue Jan 30, 2017 · 2 comments
Closed

java.io.FilePermission problem #1

xiegeyang opened this issue Jan 30, 2017 · 2 comments

Comments

@xiegeyang
Copy link
Owner

On OREILLY page 24. There is a example code shows blow. I am pretty sure the first line of the code if for WIndows and the other one is for Linux.
image
However, explise won't let me compile the code when i copy and paste that. Eclipse told me there is a Syntax Error.
image

I have toke 4 hours try to solve this problem, google did not give me the answer. There is some disscusing posted on the Internet.
URL: https://docs.oracle.com/javase/7/docs/api/java/io/FilePermission.html
https://docs.oracle.com/cd/E19830-01/819-4726/6n6s08de4/index.html
junit-team/junit4#1213

@xiegeyang
Copy link
Owner Author

@xiegeyang
Copy link
Owner Author

Problem solved, permissions should be put into java.policy file

xiegeyang added a commit that referenced this issue Feb 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant