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

Comments

  • mes
    mes California
    The -source 1.4 option should no longer be used. We'll fix that in the manual.

    Thanks,
    Mark