Hi I've been trying to set up JavaFX on my mac and I followed the tutorial layed out on their website. However, after following through everything, it keeps giving me an error and fails to compile with a message saying access denied in my other accounts Music folder for some reason. I would greatly appreciate any help!
Asked
Active
Viewed 282 times
1

Basil Bourque
- 303,325
- 100
- 852
- 1,154

Advait Kulkarni
- 139
- 2
- 12
-
@matt I am using the guest account on my mac but I have full read and write privilege on this account. So it is referring to the other account on my system. I can build and run a non-javafx project. – Advait Kulkarni Nov 28 '20 at 17:10
-
Idk what the issue was but I ended up fixing it when I tried running it from my main account. – Advait Kulkarni Nov 28 '20 at 17:34
-
Please post an Answer to your own Question and accept it to mark the issue resolved. – Basil Bourque Nov 28 '20 at 18:07
-
In the future, be sure to include text that might help others when searching. I edited your title to include your particular error type. – Basil Bourque Nov 28 '20 at 18:11
1 Answers
2
This happens because you're logged into MacOS as "Guest" user. Since your module-info.java is under the Advait user's directory, the "Guest" user would not have access to read this file.
There are two options to fix this.
- Log in as the Advait user
- Change permissions on the project directory to allow other users to read/write (not recommended)

Dustin
- 693
- 8
- 20