Archived
This forum has been archived. Please start a new discussion on GitHub.
Compile error in JAVA hello world demo
Hello,
I am following manual for JAVA server client helloworld program
I get an error while compiling sources:
javac -d classes -classpath classes:$ICEJ_HOME/lib/Ice.jar\-source 1.4 Server.java PrinterI.java generated/Demo/*.java
javac: invalid flag: 1.4
Usage: javac <options> <source files>
use -help for a list of possible options
Can someone help me to execute right command?
- Prasad
I am following manual for JAVA server client helloworld program
I get an error while compiling sources:
javac -d classes -classpath classes:$ICEJ_HOME/lib/Ice.jar\-source 1.4 Server.java PrinterI.java generated/Demo/*.java
javac: invalid flag: 1.4
Usage: javac <options> <source files>
use -help for a list of possible options
Can someone help me to execute right command?
- Prasad
0
Comments
-
The -source 1.4 option should no longer be used. We'll fix that in the manual.
Thanks,
Mark0