Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Plz help.. I am stuck in compilation of the first bean..

 
Preethi Tushar
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Whoever has read HF EJB plz help...
I created 2 interfaces and a bean i.e. AdviceBean.java, AdviceHome.java, Advice,java. I am stuck in page 30. I am not able to compile...
I have set JAVA_HOME and J2EE_HOME variables, set the path variable to bin directory.
When I compile I am getting error as
'javac' is not recognized as an internal or external command, operable program or batch file.
I am using Windows 2000 professional.
Somebody plz help, without solving this I can't proceed. I am eagerly waiting for an answer..

Thanx in advance..
Preethi
[ December 09, 2004: Message edited by: Preethi Tushar ]
 
Mikalai Zaikin
Ranch Hand
Posts: 3371
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
All right,

Go to My Computer icon on desktop, right click -> Advanced -> Environment variables -> System variables -> select PATH variable on the list -> add to PATH variable full path to your javac.exe (directory only), press Ok, press Apply and Ok.

Go to command prompt (type cmd.exe in Start -> Run), run 'set path' comman, you should see in the output the directory where 'javac.exe' resides.

Type 'javac' in command prompt - you should see available arguments.

regards,
MZ
 
Preethi Tushar
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Zaikin,

Thanx a lot for ur reply... Now it works perfectly..
Thanx again..

Regards
Preethi
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic