IzPack
  1. IzPack
  2. IZPACK-612

Beta installer crashes in java -jar syntax

    Details

    • Type: Bug Bug
    • Status: Resolved Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 5.0
    • Fix Version/s: 5.0
    • Component/s: Installer
    • Labels:
      None
    • Environment:
      windows xp java 1.6
    • Number of attachments :
      0

      Description

      C:\Documents and Settings\mbowker\My Documents\My Downloads\Installers>java -jar izpack-dist-5.0.0-beta1-installer.jar
      com.izforge.izpack.api.exception.MergeException: Could not find class SummaryLog gerInstallerListener : Current classpath is file:/C:/Documents%20and%20Settings/
      mbowker/My%20Documents/My%20Downloads/Installers/izpack-dist-5.0.0-beta1-install
      er.jar!/META-INF/
      /C:/Documents%20and%20Settings/mbowker/My%20Documents/My%20Downloads/Installers/
      izpack-dist-5.0.0-beta1-installer.jar

      at com.izforge.izpack.merge.resolve.ClassPathCrawler.searchClassInClassP
      ath(ClassPathCrawler.java:123)
      at com.izforge.izpack.core.container.filler.EventFiller.loadCustomData(E
      ventFiller.java:59)
      at com.izforge.izpack.installer.container.impl.InstallerContainer.fillCo
      ntainer(InstallerContainer.java:95)
      at com.izforge.izpack.core.container.AbstractContainer.initBindings(Abst
      ractContainer.java:25)
      at com.izforge.izpack.installer.bootstrap.Installer.initContainer(Instal
      ler.java:77)
      at com.izforge.izpack.installer.bootstrap.Installer.main(Installer.java:
      64)

      On windows xp, java 1.6

        Activity

        Hide
        Anthonin Bonnefoy added a comment -

        Reproducible on linux and windows :
        Launch the installer in a path with a space.

        Show
        Anthonin Bonnefoy added a comment - Reproducible on linux and windows : Launch the installer in a path with a space.
        Hide
        Anthonin Bonnefoy added a comment -

        Fix in 5.0.0-beta2
        The problem came from a bad use of url.getFile().

        new File(url.getFile()) won't work if there is special character in the url. The url should be decoded with URLDecoder.decode beforehand.

        Show
        Anthonin Bonnefoy added a comment - Fix in 5.0.0-beta2 The problem came from a bad use of url.getFile(). new File(url.getFile()) won't work if there is special character in the url. The url should be decoded with URLDecoder.decode beforehand.

          People

          • Assignee:
            Anthonin Bonnefoy
            Reporter:
            Michael Bowker
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: