Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-2436

vbscript fails when JAVA_HOME not set

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 5.0
    • 5.0-RC1
    • Deploy
    • None
    • SB/KB
    • Hide

      Verification is that the application starts even when JAVA_HOME is not set.

      Show
      Verification is that the application starts even when JAVA_HOME is not set.

    Description

      The generated .vbs files have a logic for dealing with undefined JAVA_HOME, but the logic is faulty.

      The script assumes that WshShell.ExpandEnvironmentStrings("%JAVA_HOME%") will return an empty string if %JAVA_HOME% is undefined, but in fact it just returns the string %JAVA_HOME% !!! See http://www.devguru.com/technologies/wsh/17413

      Attachments

        Activity

          People

            csr Colin Rosenthal
            csr Colin Rosenthal
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 8m
                8m