hi,
java.util.prefs offers a plattform independent way to make settings persistent (registry, prop-files etc., depends on JRE implementation). is there a way to make system environment variables like $PATH persistently with
java?
i know java is not meant to make platform specific stuff but in my opinion the API could do such a thing not too much different to java.util.prefs. you write with java platform independently that you want to set environment variables (which AFAIK exist on all plattforms) and JRE implementation chooses the way how these settings are accomplished.
the reason why i need this is that i am using an installer written in java which needs to set the $PATH variable persistently. i chose java for my installer because it not only needs to set $PATH, merely it is doing other java specific stuff too.
thanks.