This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Cattle Drive and the fly likes Problem in start of BeeServlet.java / autoexec.bat file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » This Site » Cattle Drive
Bookmark "Problem in start of BeeServlet.java / autoexec.bat file" Watch "Problem in start of BeeServlet.java / autoexec.bat file" New topic
Author

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

Rashid Ali
Ranch Hand

Joined: Jan 16, 2001
Posts: 349
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

Joined: May 08, 2001
Posts: 1932
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

Joined: Jan 16, 2001
Posts: 349
Thank you very much.
Problem is solved with your suggestion.
Kind regards
Rashid Ali
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem in start of BeeServlet.java / autoexec.bat file
 
Similar Threads
Compile problem not finding package javax.servlet.http
Servlets - Java Ranch Tutorial Help
Servlets
error messages
What is "ZoneInfo"?