Native jdk1.4.1 working
Georg-W. Koltermann
g.w.k at web.de
Fri Aug 29 14:43:30 PDT 2003
This may have been explained already and I missed it. In case it
wasn't: You are using system preferences in the java.util.prefs API.
System preferences by default are persisted somewhere in $JAVA_HOME.
chown(1) $JAVA_HOME to your user, run the program once again and do a
find(1) for the new file(s). You may then chown $JAVA_HOME back to bin
and just leave the preferences directory writable by you (or world).
I don't know what the proper fix is. The linux JDK 1.4.2 from ports has
the same behavior.
--
Regards,
Georg.
On Do, 2003-08-28 at 21:37, Daniel Eischen wrote:
> So we've got this home-grown java application here at work
> and I'm now running it under native jdk1.4.1 and it works.
> Great job guys!
>
> A question, though. When the application first started
> I get these messages:
>
> Aug 28, 2003 11:14:40 AM java.util.prefs.FileSystemPreferences$3 run
> WARNING: Could not create system preferences directory. System preferences are unusable.
> Aug 28, 2003 11:14:40 AM java.util.prefs.FileSystemPreferences$5 run
> INFO: Created user preferences directory.
>
> After that, at every 30 second or so interval, I get:
>
> Aug 28, 2003 11:15:12 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
> WARNING: Could not lock System prefs.Unix error code 671660902.
> Aug 28, 2003 11:15:12 AM java.util.prefs.FileSystemPreferences syncWorld
> WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
> Aug 28, 2003 11:15:42 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
> WARNING: Could not lock System prefs.Unix error code 671660902.
> Aug 28, 2003 11:15:42 AM java.util.prefs.FileSystemPreferences syncWorld
> WARNING: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
>
> Last 4 lines repeat every 30 seconds.
>
> What is it trying to tell me?
More information about the freebsd-java
mailing list