Uploaded image for project: 'OODT (Retired)'
  1. OODT (Retired)
  2. OODT-994

Replace deprecated -Djava.ext.dirs with -classpath

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Blocker
    • Resolution: Unresolved
    • None
    • 2.0
    • radix
    • None
    • Don't Know (Unsure) - The default level

    Description

      I'm back working with coal-sds and will be running it under JDK 10 if possible. Immediately upon launching the RADiX deployment, all hell breaks loose

      Resource Manager started PID file (/usr/local/coal-sds-deploy/resmgr/run/cas.resmgr.pid).
      Workflow Manager started PID file (/usr/local/coal-sds-deploy/workflow/run/cas.workflow.pid).
      -Djava.ext.dirs=/usr/local/coal-sds-deploy/filemgr/lib is not supported.  Use -classpath instead.
      -Djava.ext.dirs=/usr/local/coal-sds-deploy/workflow/lib is not supported.  Use -classpath instead.
      -Djava.ext.dirs=/usr/local/coal-sds-deploy/resmgr/lib is not supported.  Use -classpath instead.
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      

      On my macOS Sierra v10.12.6 the following statement does a find and replace for all instances of '-Djava.ext.dirs', replacing with '-classpath'

      git grep -lz '\-Djava.ext.dirs' | xargs -0 perl -i'' -pE "s/-Djava.ext.dirs/-classpath/g"
      

      PR coming up.

      Attachments

        Issue Links

          Activity

            People

              lewismc Lewis John McGibbney
              lewismc Lewis John McGibbney
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: