Rmic command not found

I’m trying to compile a java RMI classes, but the command rmic is not on my system, apparently, even if I added java to my PATH (in fact java and javac work well). What should I do?
Here’s some details:

java --version:
openjdk 21 2023-09-19
OpenJDK Runtime Environment (build 21+35)
OpenJDK 64-Bit Server VM (build 21+35, mixed mode, sharing)
archlinux-java status:
Available Java environments:
  java-21-openjdk (default)

rmic was deprecated a long time ago and has been removed from modern Java. Only old versions of the JDK will have it.

Ok, thanks. I saw the use of this command from my teacher’s slides. I’ll check out how to develop RMI classes with new version of JDK.

1 Like