Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Compilation problem--javac not recognised

 
Shweta Pershad
Greenhorn
Posts: 23
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 24204
34
Chrome Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic