What is the difference between Java RMI and RPC?

What is the actual difference between Java RMI and RPC? I have read in some places that RMI uses Objects?