Help coderanch get a
new server
by contributing to the fundraiser
  • 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

help with classpath

 
Ranch Hand
Posts: 60
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Friends,
I am trying to copy my website that uses jsp,servelts,mySQL on to a disc[could be zipdisk or CD]. My client needs a copy on a disc to show and market it to places that may not always be connected to the internet.
I am using the resin server and mysql database. I copied the entire resin server and my project folders, mysql along with my database onto a zipdisc. I choose a zipdisk since the resin server needs to continuously write to the log files...which is not possible on a CD.
On doing so, my html files work great, but when I run jsp pages...I get classpath not found error. In the exception it mentions that maybe I am using jre instead of jdk and I need to add the tools.jar to the classpath.
I tried adding tools.jar to the lib folder of resin and also set the classpath of the tools.jar but the problem still exists.
Also since I do not know which drive is the zipdrive for the user, I do not know how to add the classpath through a batch file???
Do I need to copy j2sdk also to the zipdisk? I do not want to do so...but will do so only if there is no other way out.
Also if you have any better approach let me know.
Any help will me most appreciated !!!
Cheers
Karen
 
I have always wanted to have a neighbor just like you - Fred Rogers. Tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/t/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic