0

I am java newbie using Intellij IDEA. Have a problem compiling Android project (java ver 1.8.0_152) which use java.rmi package. Compiler error says that it doesn't exists. If I understand correctly, I don't need to provide this package separately because it is part of current java version?

What am I missing?

Thnx

Sinclair
  • 1
  • 1
  • 1

1 Answers1

0

java.rmi is part of the JDK (Java Development Kit), but unfortunately, not of the ADK (Android Development Kit). These are 2 different things.

You can check this post: ADK vs JDK vs SDK difference for an explanation

EDIT: In the question I marked as duplicate, they suggest to use the LiperRMI library instead

Bentaye
  • 9,403
  • 5
  • 32
  • 45