Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem in start of BeeServlet.java / autoexec.bat file

 
Rashid Ali
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everybody... hope you all are fine there.
I have successfully run default example of jsp and servlet mentioned in the instruction page with orion.
Now I try to go through with BeeServlet.java example and make a new directory like c:\java and put also JavaRanchCommon.jar (i rename .zip ext to .jar) in this dir and trying to run it on DOS command using: javac BeeServlet.java and it shows the following errors:

My autoexec.bat file is as follows:

I think i'm forgetting the basic rules for setting the paths and classpaths setting in .bat file.
I installed orion.jar and install it in c:\orion direcotry.
Please note that i have also installed j2sdkee1.3 from the sun to run servlet and installed it properly and tried to set j2ee.jar path to the above .bat file.
Could anybody help me and figure out the problem and oblige.
Thanks and best regards
Rashid Ali
 
jason adam
Chicken Farmer ()
Ranch Hand
Posts: 1932
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure you put the JavaRanchCommon.jar in the c:\orion\lib\ directory, or else Orion can't find the appropriate classes. Also, make sure the c:\java\JavaRanchCommon.jar is in your classpath.
Jason
 
Rashid Ali
Ranch Hand
Posts: 349
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you very much.
Problem is solved with your suggestion.
Kind regards
Rashid Ali
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic