在 Windows 上,您在应用程序中从 java.util.prefs.Preferences 访问的 Java 首选项存储在注册表中。 Mac OS X 上存储在哪里?
最佳答案
来自 Apple Developer Connection :
The preferences files generated by the Preferences API are named
com.apple.java.util.prefs
. The user’s preferences file is stored in their home directory (~/Library/Preferences/
). The system preferences are stored in/Library/Preferences/
and are only persisted to disk if the user is an administrator.
关于java - Java 首选项存储在 Mac OS X 上的什么位置?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/675864/