• 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:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Bear Bibeault
  • Knute Snortum
  • Liutauras Vilda
Sheriffs:
  • Tim Cooke
  • Devaka Cooray
  • Paul Clapham
Saloon Keepers:
  • Tim Moores
  • Frits Walraven
  • Ron McLeod
  • Ganesh Patekar
  • salvin francis
Bartenders:
  • Tim Holloway
  • Carey Brown
  • Stephan van Hulst

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 ()
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
 
You totally ruined the moon. You're gonna hafta pay for that you know. This tiny ad agrees:
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!