[ 
https://issues.apache.org/jira/browse/OODT-994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Imesha Sudasingha updated OODT-994:
-----------------------------------
    Fix Version/s:     (was: 1.9)

> 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
>         Environment: Apache Maven 3.5.4 
> (1edded0938998edf8bf061f1ceb3cfdeccf443fe; 2018-06-17T11:33:14-07:00)
> Maven home: /usr/local/Cellar/maven/3.5.4/libexec
> Java version: 10.0.2, vendor: Oracle Corporation, runtime: 
> /Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home
> Default locale: en_US, platform encoding: UTF-8
> OS name: "mac os x", version: "10.12.6", arch: "x86_64", family: "Mac"
> OODT master branch
>            Reporter: Lewis John McGibbney
>            Assignee: Lewis John McGibbney
>            Priority: Blocker
>             Fix For: 2.0
>
>
> 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
(v8.3.4#803005)

Reply via email to