On Mon, Apr 08, 2002 at 08:23:27PM +0000, chris pollin wrote: > > i get the following message when i try to compile a java file, , > can you help? > > cd c:/EMACS/JavaProgrammes/ > javac Lab4.java > 'javac' is not recognized as an internal or external command, > operable program or batch file. > > Compilation exited abnormally with code 1 at Mon Apr 08 21:22:31
Sounds like you don't have javac.exe in your PATH. You should set JAVA_HOME system environment variable to point to the directory where you have installed your JDK, and set your PATH system environment variable to include "%JAVA_HOME%/bin" or whatever the proper Windows syntax is. You could alternatively tell JDE where your javac.exe actually resides, but you probably want JAVA_HOME and PATH set correctly, anyway. mike -- Michael R. Head [EMAIL PROTECTED] GPG public key: http://www.core.binghamton.edu/~burner/gpg.key.txt
msg04480/pgp00000.pgp
Description: PGP signature