Re: where is the java preferences file located
- From: Sabine Dinis Blochberger <no.spam@xxxxxxxxxxxx>
- Date: Mon, 28 Jul 2008 11:51:05 +0100
John B. Matthews wrote:
In article <488a3481$0$3095$7836cce5@xxxxxxxxxxxxx>,I personally would be very angry if an application would meddle in the
Daniel Pitts <newsgroup.spamfilter@xxxxxxxxxxxxxxxxxxx> wrote:
epicwinter wrote:
I am using java preferences. I want to be able to clear theIt is system dependent. In windows, it might store them in the registry,
preferences completely, but i can't figure out where the java
preferences are physically stored on the file system. I want to just
delete them all. Does anyone know where the java preferences are
stored and how they can be deleted?
but on Linux, it could store them in a file. It might be implemented to
store them in a database instead.
If I'm reading the javadocs correctly, you could use
Preferences.systemRoot().removeNode().
I think that would apply all users' Java preferences, as well as throw
an exception:
<http://java.sun.com/javase/6/docs/api/java/util/prefs/Preferences.html#r
emoveNode()>
You'll understand if I'm reluctant to try it! :-)
registry for anything then its own configuration.
I would consider it malware.
Explain what exactly you want to do, there are probably other ways to
achieve it.
--
Sabine Dinis Blochberger
Op3racional
www.op3racional.eu
.
- References:
- where is the java preferences file located
- From: epicwinter
- Re: where is the java preferences file located
- From: Daniel Pitts
- Re: where is the java preferences file located
- From: John B. Matthews
- where is the java preferences file located
- Prev by Date: Re: [General]acces of members of subclass
- Next by Date: Re: [General]acces of members of subclass
- Previous by thread: Re: where is the java preferences file located
- Next by thread: Re: where is the java preferences file located
- Index(es):
Relevant Pages
|