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

MacOS: muCommander needs reinstalling after running as administrator #374

Closed
rhstanton opened this issue Sep 18, 2020 · 0 comments
Closed

Comments

@rhstanton
Copy link

SometimesI need to run muCommander as an Administrator, which I do by going to the directory /Applications/muCommander.app/Contents/MacOS and running

sudo JavaAppLauncher

This works fine, but I've noticed that once I do this, I can no longer run muCommander as a regular user. If I click on the icon, nothing happens. If I go to the directory above and type

JavaAppLauncher

I get the following error message:

(base) RS_MacBookPro:MacOS stanton$ JavaAppLauncher
No config.properties found.
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender (file:/Applications/muCommander.app/Contents/Java/mucommander-0.9.5.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
ERROR: Error creating bundle cache.
java.lang.Exception: Unable to create bundle cache lock file: java.io.FileNotFoundException: /Applications/muCommander.app/Contents/Java/felix-cache/cache.lock (Permission denied)
at org.apache.felix.framework.cache.BundleCache.(BundleCache.java:172)
at org.apache.felix.framework.Felix.init(Felix.java:703)
at org.apache.felix.framework.Felix.init(Felix.java:641)
at com.mucommander.main.muCommander.main(muCommander.java:319)
Could not create framework: org.osgi.framework.BundleException: Error creating bundle cache.
org.osgi.framework.BundleException: Error creating bundle cache.
at org.apache.felix.framework.Felix.init(Felix.java:708)
at org.apache.felix.framework.Felix.init(Felix.java:641)
at com.mucommander.main.muCommander.main(muCommander.java:319)
Caused by: java.lang.Exception: Unable to create bundle cache lock file: java.io.FileNotFoundException: /Applications/muCommander.app/Contents/Java/felix-cache/cache.lock (Permission denied)
at org.apache.felix.framework.cache.BundleCache.(BundleCache.java:172)
at org.apache.felix.framework.Felix.init(Felix.java:703)
... 2 more
(base) RS_MacBookPro:MacOS stanton$

Even rebooting doesn't help. The only way to get it working again is to reinstall.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant