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

[Bundlers] default classpath recognition stopped working in Linux

    XMLWordPrintable

    Details

      Description

      When I'm not specifying CLASSPATH parameter and the jars are linked in MANIFEST.MF, the application is not started with message "Segmentation fault (core dumped)".

      build.xml: <attached>

      App1.cfg:
      app.mainjar=testFxAppWithUtil.jar
      app.version=1.0
      app.mainclass=testapp/App1
      app.classpath=$PACKAGEDIR/Util.jar
      app.preferences.id=testapp

      Jars: <attached>

      If I remove "app.classpath=...", the application starts to work perfectly without any classpath issues (for example, no ClassNotFoundException )

      Workaround is to set CLASSPATH when bundling.

        Attachments

        1. build.xml
          0.8 kB
        2. jars.tar.gz
          5 kB

          Issue Links

            Activity

              People

              Assignee:
              cbensen Chris Bensen (Inactive)
              Reporter:
              dginzbur Dmitry Ginzburg (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported: