[ 
https://issues.apache.org/jira/browse/OODT-994?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16614354#comment-16614354
 ] 

ASF GitHub Bot commented on OODT-994:
-------------------------------------

lewismc opened a new pull request #73: OODT-994 Replace deprecated 
-Djava.ext.dirs with -classpath
URL: https://github.com/apache/oodt/pull/73
 
 
   Issue addresses https://issues.apache.org/jira/browse/OODT-994
   
   My environment is as follows
   ```
   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"
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> 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
>            Priority: Blocker
>             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)

Reply via email to