|
From: H. B. M. <mc...@cs...> - 2003-07-08 19:15:00
|
If you look at the error I'm getting, it is trying to create the
directory. It also is trying to flush system preferences, but the error
it is getting there is probably just caused by the directory not existing.
I haven't looked at the code to be sure. Does teh directory in /etc exist
on your system?
- Brendan
PS also, lets try to keep these messages on the list.
On Tue, 8 Jul 2003, Brent Bryan wrote:
> On Tue, 8 Jul 2003, Brendan McMahan wrote:
>
> >>From FileSystemPreferences.java I see:
> >
> > static {
> > // Temp fix until installation script issues get resolved
> > String systemPrefsDirName = (String)
> > AccessController.doPrivileged( new PrivilegedAction() {
> > public Object run() {
> > return System.getProperty
> > ("java.util.prefs.systemRoot","/etc/.java");
> > }
> > });
> >
> > systemRootDir =
> > new File(systemPrefsDirName, ".systemPrefs");
> > }
>
> >
> >so it looks like the system preferences now live by defaul in /etc/.java ...
> >which of course I don't have write access to as a normal user. One option
> >would be to set the sytemRoot proprety to a different default.
> >
> >Brent, can you see if this code is in the JDK you are using, and if it is, can
> >you see if your "java.util.prefs.systemRoot" property is set? Thanks.
>
> It is actually the same for me. However, you shouldn't need write access,
> just read access.
>
> -Brent
>
> PS. java.util.prefs.systemRoot for me is "null".
>
>
|