You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Adam Hill <ad...@pobox.com> on 1999/01/09 06:59:06 UTC

mod_jserv/3635: I have a solution to the %java_exe% bug in Win 98 installs.

>Number:         3635
>Category:       mod_jserv
>Synopsis:       I have a solution to the %java_exe% bug in Win 98 installs.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    jserv
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Fri Jan  8 23:10:01 PST 1999
>Last-Modified:
>Originator:     adamhill@pobox.com
>Organization:
apache
>Release:        1.3.3
>Environment:
Win 98 with only the MS-SDK installed (no Sun JDK)
>Description:
I have a solution to the problems described in PR #3614. The problem is it can't find %java_exe%, which turns out to be the value of the Java VM the install is looking for (java.exe for the Sun JDK and jview.exe for the MS JDK).

>How-To-Repeat:
Install mod_jserv on Win32 with ONLY the MS-SDK.
>Fix:
Someone basically did not expand the value of %java_exe% when putting up the error message. The REAL problem is that the installer seems to ALWAYS look for "java.exe" NEVER for "jview.exe" 

I was able to fix the problem by 

1) Waiting for the "Can't find" error message.
2) Renaming "jview.exe" to "java.exe" and pointing the installer at the "<MS-JDK installpath>/bin".
3) The install finishes and then I change the name back to "jview.exe" and change the jserv.properties file line "wrapper.bin" to point to "jview.exe".

Voila!!
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <ap...@Apache.Org> 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!         ]