[CentOS] Struggling with javac

Seán O Sullivan seanos at seanos.net
Tue Aug 22 21:30:43 UTC 2006


John Hinton wrote:
> javac -classpath /usr/local/tomcat/common/lib/servlet.jar HelloWorld.java
> 
> as instructed fails with a
> 
> gij: unrecognized option -- `-classpath'
> Try `gij --help' for more information.

My guess would be it should be '--classpath' not '-classpath'.

Regards,

Sean



More information about the CentOS mailing list