Reputation: 35
I am new to using MIPS and I can't find how to open a file that I saved. I saved a .asm file under my downloads folder but when I try to open a file in MARS and navigate to the same downloads folder, the .asm file does not appear.
I'm using MARS on MacOS.
Upvotes: 0
Views: 6470
Reputation: 1
It worked for me by opening the jar file trough terminal. running this command: java -jar Mars4_5.jar
Upvotes: 0
Reputation: 31
As stated above, you need to allow Full Disk Access in your System Preferences in macOS. Here they mention that you need to search for 'JavaLauncher.app'. This is an issue due to macOS changes with security management.
To give Full Disk Access to JAR files on macOS:
That's it. You should be able to access files through your Java application. This helped to fix my issue with MARS MIPS not saving files properly on my laptop. I constantly needed to save it elsewhere.
Upvotes: 3
Reputation: 35
I figured out that I had to allow access to finder directories for jar files. Mac didn't allow mars to initially access any of my directories.
Upvotes: 1