AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Need urgent help with updating path variable based on JAVAHO

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> comp.lang.java.misc
View previous topic :: View next topic  
Author Message
Martin
Guest





PostPosted: Wed Aug 06, 2003 2:40 am    Post subject: Need urgent help with updating path variable based on JAVAHO Reply with quote



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
file.

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.

set path=C:jdk1.3.1_01bin;%PATH%;
set classpath=C:myAPPLICATIONMyappmyApp.jar;%classpath%


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.

Martin
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> comp.lang.java.misc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.