As part of an installation package I am creating, I need to update a
batch file that sets PATH and CLASSPATH variables. The installation
path for JRE executable is provided as a directory by the user as
he/she is prompted for download destination for JDK. After JDK is
donwloaded, my installation package continues by updating the batch
I was wondering if there is a way I can read the JRE download
directory value so that I can update the path variable. I realize
JAVAHOME holds the installation path for JRE, but I am not sure how to
fetch the value and use it to update the path.
By the way, I am using WISE installbuilder and within the WISE script
I need to update the PATH variable during run time (as Java2 SDK gets
downloaded at a directory specified by the user).
Any help appreciated.