• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

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

 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ]
 
Bartender
Posts: 3727
39
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Zaikin,

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

Regards
Preethi
 
Yes, of course, and I accept that blame. In fact, i covet that blame. As does this tiny ad:
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic