venkideshmukh
Posts: 6
Joined: Thu Jun 15, 2006 9:55 am

accessing environmental variable in java executable

Hi,
I have create execuatble jar which contains one simple java program that accesses environmental variable called "Port_Number". this env variable is set during the installation of my application..

Now when executable jar runs during the installation, i shud be able to access latest env variable value..

i am getting old value all the time..
can anybody help me in this regards?
Thanx,
Venki
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

All environment variables created with the package are available after the package is installed so thats why you always get the old values.

Regards,
Gigi
_________________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”