[
https://issues.apache.org/jira/browse/JCR-4195?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16192771#comment-16192771
]
Robert Munteanu commented on JCR-4195:
--------------------------------------
According to
https://docs.oracle.com/javase/8/docs/technotes/tools/unix/rmic.html, yes:
{quote}
Deprecation Note: Support for static generation of Java Remote Method Protocol
(JRMP) stubs and skeletons has been deprecated. Oracle recommends that you use
dynamically generated JRMP stubs instead, eliminating the need to use this tool
for JRMP-based applications. See the java.rmi.server.UnicastRemoteObject
specification at
http://docs.oracle.com/javase/8/docs/api/java/rmi/server/UnicastRemoteObject.html
for further information.
{quote}
> jcr-rmi on java 9: Cannot use SUN rmic, as it is not available
> --------------------------------------------------------------
>
> Key: JCR-4195
> URL: https://issues.apache.org/jira/browse/JCR-4195
> Project: Jackrabbit Content Repository
> Issue Type: Sub-task
> Reporter: Julian Reschke
> Fix For: 2.16
>
>
> {noformat}
> [ERROR] Failed to execute goal
> org.apache.maven.plugins:maven-antrun-plugin:1.8:run (rmic) on project
> jackrabbit-jcr-rmi: An Ant BuildException has occured: Cannot use SUN rmic,
> as it is not available. A common solution is to set the environment variable
> JAVA_HOME
> [ERROR] around Ant part ...<rmic verify="true"
> classpathref="maven.compile.classpath"
> base="C:\projects\apache\jackrabbit\trunk\jackrabbit-jcr-rmi\target\classes"/>...
> @ 4:140 in
> C:\projects\apache\jackrabbit\trunk\jackrabbit-jcr-rmi\target\antrun\build-main.xml
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)