JXTA_HOME and autoconfig
Matthias Horst <[email protected]>
| Newsgroups | gmane.comp.java.jxta.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, can I set the JXTA_HOME within my application? Reason: I use extLib and the Configurator in order to automatically generate a Jxta PlatformConfig file before the Jxta system comes up. My software tries to find a place for the jxta home (users home dir, tmp dir, etc) and stores the file there (App. is run from CD so I can not store it there). When the Jxta part initializes, it uses JXTA_HOME env. or .jxta in the application dir, so it does not use my generated config, of course. I also found a Config class, where this information is fixed (static final) and moreover it is depreciated. What is the way I have to do, without modifying the original classes? thanks for the help Matthias