Dear All,
I am trying to understand RMI Concept and have tried the sample steps and programs written in Oracle website http://docs.oracle.com/javase/tutorial/rmi/compiling.html
In this URL they have mentioned to run the command as below
javac -cp c:\home\jones\public_html\classes\compute.jar
client\ComputePi.java client\Pi.java
mkdir c:\home\jones\public_html\classes\client
cp client\Pi.class
c:\home\jones\public_html\classes\client
I have tried the exact command in my computer only change is I have used different directories. The command is not working and throws error as below
C:\>javac -cp c:\compute.jar com\connect\server\ComputePi.java com\connect\server\Pi.java mkdir c:\home\jones\public_html\classes\client cp com\connect\server\Pi.class c:\home\jones\public_html\classes\client
javac: invalid flag: c:\home\jones\public_html\classes\client
Usage: javac <options> <source files>
use -help for a list of possible options
Please advise