Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8165932

mainJar and classpath should be relative to srcdir instead of current working directory when executing through JAVA_API in javapackager

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not an Issue
    • P1
    • 9
    • 9
    • deploy
    • java version "9-internal"
      Java(TM) SE Runtime Environment (fastdebug build 9-internal+0-2016-09-21-113038.cbensen.jdk9udev)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 9-internal+0-2016-09-21-113038.cbensen.jdk9udev, mixed mode)

    • 9

    Description

      Please find the attachment readmod.zip which contains readmod module.

      ISSUE:
              if both "MainJar" and "ClassPath" are mentioned via RelativeFileSet BaseDirectory then mainJar should be picked from RelativeFileSet mentioned BaseDirectory instead currently jars are picked from relative to current working directory because of which you cannot execute JAVA_API from other than jars directory.
      i mean you have to be in jars directory to execute Javapackager.

      EXECUTION LOG:
      Please find the attachment maclog for execution log.


      EXPECTED RESULTS:

      Javapackager API should be able to execute from any directory in the system not only from directory containing jars.


      Attachments

        1. maclog.txt
          1.0 kB
          Ramesh Gangadhar

        Activity

          People

            cbensen Chris Bensen (Inactive)
            rgangadhar Ramesh Gangadhar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: