Hi,
Please guide me for the problem mentioned in the trailing mail.

On Mon, 26 May 2025 at 7:09 PM, pranav tiwari <pranav...@gmail.com> wrote:

> Hi,
>
> I recently cloned the Flink source code, and am trying to run the main
> method of the *CliFrontend.java *class of the *flink-clients* package,
> but getting the following error message-
>
>
>
> *package sun.rmi.registry is not visible  (package sun.rmi.registry is
> declared in module java.rmi, which does not export it to the unnamed
> module)sun.rmi.registry*
>
> I am running this in intellij. I have added below in VM options of
> intellij run configuration, but still getting the same error.
>
> --add-exports=java.base/sun.net.util=ALL-UNNAMED
> --add-exports=java.rmi/sun.rmi.registry=ALL-UNNAMED
> --add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED
> --add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED
> --add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED
> --add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED
> --add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED
> --add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED
> --add-opens=java.base/java.lang=ALL-UNNAMED
> --add-opens=java.base/java.net=ALL-UNNAMED
> --add-opens=java.base/java.io=ALL-UNNAMED
> --add-opens=java.base/java.nio=ALL-UNNAMED
> --add-opens=java.base/sun.nio.ch=ALL-UNNAMED
> --add-opens=java.base/java.lang.reflect=ALL-UNNAMED
> --add-opens=java.base/java.text=ALL-UNNAMED
> --add-opens=java.base/java.time=ALL-UNNAMED
> --add-opens=java.base/java.util=ALL-UNNAMED
> --add-opens=java.base/java.util.concurrent=ALL-UNNAMED
> --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED
> --add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED
>
> Please let me know how this can be fixed?
>
>
> Thank you
> Pranav
>
>
>

Reply via email to