|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
|
I don't get Java Preferences running on Mac OS X (10.4.3)
(JRE 1.4.2).
It works fine on Windows XP Pro, JRE 1.4.2. It always returns this error: java.util.prefs.BackingStoreException: Synchronization failed for node '/TestNode/' at java.util.prefs.MacOSXPreferences.flush(MacOSXPreferences.java:196) Does anyone know what this means? Not really a useful error message ;).
This is the code, I can't see what could be wrong: public static void main(String[] args)
{
Preferences preferences = Preferences.systemRoot().node("/TestNode");
System.out.println("myKey=" + preferences.get("myKey","DefaultValue"));
preferences.put("myKey", "myValue");
try
{
preferences.flush();
}
catch (Exception exception)
{
exception.printStackTrace();
}
}
|
_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
| Home | Archives | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2011 Apple Inc. All rights reserved.