Received: (qmail 24929 invoked by uid 2012); 31 Dec 1998 23:31:26 -0000 Message-Id: <19981231233126.24928.qmail@hyperreal.org> Date: 31 Dec 1998 23:31:26 -0000 From: Noah Mapstead Reply-To: noah@peacekeeper.com To: apbugs@hyperreal.org Subject: Install program fails to locate java executable (%java_exe%) X-Send-Pr-Version: 3.2 >Number: 3614 >Category: mod_jserv >Synopsis: Install program fails to locate java executable (%java_exe%) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: jserv >State: closed >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Thu Dec 31 15:40:00 PST 1998 >Last-Modified: Sun Sep 19 15:02:52 PDT 1999 >Originator: noah@peacekeeper.com >Organization: >Release: NT 1.3.3 jserv1.0b1 >Environment: Tested on 2 intel machines NT4.0 SP4 and NT4.0 SP3 with multiple different versions of Sun's JDK1.x and JRE1.x >Description: Following is an email I sent to MindVision makers of the install program VISE and their response. Initial EMail ============= -----Original Message----- From: Noah Mapstead [mailto:noah@peacekeeper.com] Sent: Thursday, December 31, 1998 1:45 PM To: winsupport@mindvision.com Subject: Question Hello, I know that you are not the manufacture or support provider for installation packages created with your software. I am also not the builder of this installation. However I am trying to install Apache's JServ module ( http://java.apache.org/jserv/dist/Apache_JServ_1.0b1.exe ) and the hangup looks like it might be something on your end. During the final phases of the installation after the files are copied, the installer attempts to locate the java runtime files. It does a search on the hard drive. You have the option of clicking cancel (or waiting for the search to complete) at which time you can select the file yourself if it has not been found. The text says "Setup could not locate the Java runtime interpreter %java_exe%. Please indicate the path where it is located." From my experience %java_exe% looks like a environment variable. However no matter where I define %java_exe% it doesn't work. I've tried it on two machines so far (NT 4.0 SP4, NT 4.0 SP3). I have been defining java_exe in the system and user areas under Control Panel|System|Environment. I have rebooted numerous times and installed various different JDK's/JRE's. In addition there is no way to break out of the installation once it gets to the searching point. If I click cancel it wants me to select the file myself...If it doesn't find the file in the path specified, it starts searching again, looping over and over. If you feel this is a problem with the Apache JServ installation, I will talk to them. Thanks -Noah ========= Response ========= I would suggest checking with the makers of the Apache J Serv ,module. You can download Installer VISE - at www.mindvision.com. You are correct that %java_exe% looks like an environment variable. It is however a variable internal to the installer. You can not specify the value of %java_exe% through the registry or the Autoexec.bat. >How-To-Repeat: >Fix: Possibly allow the user to select the java executable directly because it could be java.exe or jre.exe >Audit-Trail: Responsible-Changed-From-To: apache-jserv Responsible-Changed-By: marc Responsible-Changed-When: Thu Dec 31 16:22:33 PST 1998 Responsible-Changed-Why: mod_jserv problem; needs to be in the mod_jserv category since it isn't an Apache issue. Category-Changed-From-To: other-mod_jserv Category-Changed-By: marc Category-Changed-When: Thu Dec 31 16:22:33 PST 1998 From: Noah Mapstead To: apbugs@Apache.Org Cc: Subject: Re: other/3614: Install program fails to locate java executable (%java_exe%) Date: Mon, 04 Jan 1999 10:57:06 -0800 Additional response by another MindVision employee. Category changed to mod_jserv (not sure if this will make it there but subject is unchanged as requested). Subject: Re: Question Date: Mon, 4 Jan 1999 09:50:06 -0600 From: "Matt Dorsey" To: "Noah Mapstead" CC: Noah, %java_exe% is not a system variable in this context, it's a variable Apache has set up to use inside the installer. I'm guessing it is supposed to be replaced with the file name of the Java runtime interpreter but isn't for some reason. The installer is probably looking for the Java runtime interpreter and can't find it. In any case, you'll need to get a hold of someone at Apache and ask them what the installer is looking for at that point. I tried the installer on my machine and had the same problems you are experiencing. I think there may be something wrong with the way the Apache JServ installer was setup. I've forwarded your message to the contact we have with the Apache project and I'm sure he will get in touch with you. Regards, Matt Dorsey winsupport@mindvision.com MindVision Software Phone: 402-477-3269 ext. 103 Fax: 402-477-1395 From: Noah Mapstead To: Spencer Nassar Cc: apbugs@apache.org, stefano@apache.org Subject: Re: other/3614: Install program fails to locate java executable Date: Wed, 07 Apr 1999 14:37:42 -0700 Hi Spencer, I found that you just have to let the installer search. Even if you point it to the file it will not find it. Just make sure that java.exe or jre.exe exists somewhere. I didn't want to let it run completely because I have a huge hard drive thats packed. But it searches about 2 or 3 times. Each time for something different. Let it run to completion and see what happens. I'm ccing apache so this information will be appended. Also make sure you download the JServ b3 jar file or it won't work. I still have yet to make it work even though its installed. Stefano > I cc'ed you so that maybe you could update the bug based as resolved. This particular bug is no longer a bug. Its just a funky installer :) -Noah Spencer Nassar wrote: > > Hi Noah, > > Did you ever get a solution to your JServ install problem? No resolution is > in the bug database, and I'm right were you were in December. > > Any advice on how to get JServ installed on my NT machine when the installer > can't find the jre? > > Thanks, > > Spencer -- *********************************************************** Noah Mapstead - noah@peacekeeper.com Chief Technology Officer Peacekeeper Enterprises, LLC http://www.peacekeeper.com http://www.SiteMagic.Net The source for SMX programming tips and tricks Home of SMX Manager - RAD Tool for SMX Programming New Tag Line Coming Soon! Its Vapor Tag! State-Changed-From-To: open-closed State-Changed-By: jon@clearink.com State-Changed-When: Sun Sep 19 15:02:51 PDT 1999 State-Changed-Why: this bug has been fixed in 1.0 release. >Unformatted: >From what you describe it sounds as though the installer searches for a file. The Find location assigns the variable java_exe the value of the path. That is then used as an install location. I cannot help you because - I don't know if the files that are installed based off of the find are needed (there may be other events that are triggered based on the success or failure of the find action). Thanks for your response and let me know if I can help in any other way. Mike [In order for any reply to be added to the PR database, ] [you need to include in the Cc line ] [and leave the subject line UNCHANGED. This is not done] [automatically because of the potential for mail loops. ] [If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request ] [from a developer. ] [Reply only with text; DO NOT SEND ATTACHMENTS! ]