Thanks. I ran the Swing app as root and it eventually created the preferences:
11/08/2002 18:42:34 java.util.prefs.FileSystemPreferences$3 run INFO: Created system preferences directory in /etc/.java/.systemPrefs 11/08/2002 18:42:34 java.util.prefs.FileSystemPreferences$5 run INFO: Created user preferences directory. ... although I do not recall supplying the -localinstall parameter when I installed it: http://java.sun.com/j2se/1.4.1/install-linux.html On Sun, 11 Aug 2002 12:33, Nathan Meyers wrote: > On Sun, Aug 11, 2002 at 11:07:26AM +1000, Jesus M. Salvo Jr. wrote: > > I have finally decided to start using JDK 1.4 ( 1.4.1-beta to be exact. > > ). Installed it as root under /usr/local. > > > > When running a Swing app ( under my own account, NOT root ) that was > > originally created with JDK 1.3.1 ( but recompiled for JDK 1.4.1 ), I get > > this: > > > > 11/08/2002 10:43:10 java.util.prefs.FileSystemPreferences$3 run > > WARNING: Could not create system preferences directory. System > > preferences are unusable. > > > > Does anyone know what this is / mean? > > That's the JDK1.4 Preferences API, used to manage system-wide and per-user > preferences. On Windows, the implementation uses the Windows Registry; > on Unix/Linux, it uses the file system. The per-user prefs are kept near > your home directory; the system-wide prefs are kept, I think, in the > JDK installation. Of course, you can't write there unless you're root > (or whoever owns the JDK installation). > > It looks like the JDK is not finding the system prefs directory in the > installation and trying to create it - an installation bug. Annoying, > but not harmful. My guess is running something as root will complete > this step and you'll never see the message again. > > Nathan Meyers > [EMAIL PROTECTED] > > > When I look at the JDK 1.4 API, there is no such class named > > FileSystemPreferences under the given package above. > > > > Is this FileSystemPreferences some sort of "default" implementation of > > Preference if you don't provide one? Where are they stored? ---------------------------------------------------------------------- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]