You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@oodt.apache.org by "Lewis John McGibbney (JIRA)" <ji...@apache.org> on 2018/09/14 04:32:00 UTC
[jira] [Created] (OODT-994) Replace deprecated -Djava.ext.dirs with
-classpath
Lewis John McGibbney created OODT-994:
-----------------------------------------
Summary: Replace deprecated -Djava.ext.dirs with -classpath
Key: OODT-994
URL: https://issues.apache.org/jira/browse/OODT-994
Project: OODT
Issue Type: Improvement
Components: radix
Reporter: Lewis John McGibbney
Assignee: Lewis John McGibbney
Fix For: 1.9
I'm back working with [coal-sds|https://github.com/capstone-coal/coal-sds] and will be running it under JDK 10 if possible. Immediately upon launching the RADiX deployment, all hell breaks loose
{code}
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.
{code}
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'
{code}
git grep -lz '\-Djava.ext.dirs' | xargs -0 perl -i'' -pE "s/-Djava.ext.dirs/-classpath/g"
{code}
PR coming up.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)