Results 1 to 3 of 3
- 02-28-2012, 09:55 PM #1
Member
- Join Date
- Jan 2011
- Posts
- 5
- Rep Power
- 0
Failure of Preferences API under OSX
I'm seeing an apparent failure of the Java Preferences API. A user has loaded my application onto two different OSX computers. One one computer, Preferences.put() and Preferences.get() function as they should but on the other computer, information saved in one session has disappeared when the program is invoked a second time.
My application is distributed as a .JAR file. I have over 300 registered users on Windows and OSX, and probably 10 times that number who have not bothered to register. This is the first I'm hearing of such a problem.
Has anyone run into such a situation before? Or is there a better forum to post this question on?
Jerry
- 02-29-2012, 09:52 AM #2
Moderator
- Join Date
- Apr 2009
- Posts
- 10,481
- Rep Power
- 16
Re: Failure of Preferences API under OSX
Check Java versions.
If they're the same then I would suggest it's something about the setup on the two machines rather than Java.Please do not ask for code as refusal often offends.
- 02-29-2012, 10:20 AM #3
- Join Date
- Sep 2008
- Location
- Voorschoten, the Netherlands
- Posts
- 11,408
- Blog Entries
- 7
- Rep Power
- 17
Re: Failure of Preferences API under OSX
On an MS Windows machine those preferences are stored in the registry database; on Unix machines those preferences are stored as XML files starting in the user's home directory or above (for the system preferences). Check if the user has write rights for those directories.
kind regards,
JosWhen people rob a bank they get a penalty; when banks rob people they get a bonus.
Similar Threads
-
Eclipse: cannot port preferences
By StateMachine in forum New To JavaReplies: 0Last Post: 01-12-2012, 12:32 PM -
java.util.Preferences
By jon80 in forum New To JavaReplies: 0Last Post: 06-06-2009, 11:28 PM -
scripting preferences import
By MikeW in forum EclipseReplies: 2Last Post: 07-18-2008, 03:18 PM -
How to use JFace Preferences and Field Editors
By Java Tip in forum SWTReplies: 0Last Post: 07-07-2008, 04:48 PM -
JFace Preferences Demonstration
By Java Tip in forum SWTReplies: 0Last Post: 07-07-2008, 04:48 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks