• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

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

 
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
 
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!