aspose file tools*
The moose likes Beginning Java and the fly likes Compilation problem--javac not recognised Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Compilation problem--javac not recognised" Watch "Compilation problem--javac not recognised" New topic
Author

Compilation problem--javac not recognised

Shweta Pershad
Greenhorn

Joined: Sep 08, 2004
Posts: 23
Hi,

I just inatalled J2EE 1.4 SDK on my PC running Windows XP. I am trying to compile my first program now and keep getting a message that 'javac' is not recognised as an internal or external command, operable program or batch file.

I checked the PATH. It said C:\java\bin (java being the directory where my SDK is inatalled).

I do not know where I am going wrong. Please help!
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24184
    
  34

The J2EE SDK includes a servlet container, an EJB container, Web services tools, and other paraphernalia needed for J2EE development. It doesn't include a Java compiler or runtime; for that you need the "J2SE SDK", also called the J2SDK or simply JDK. To do J2EE development, you want both.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Compilation problem--javac not recognised