This week's giveaway is in the Testing forum.
We're giving away four copies of TDD for a Shopping Website LiveProject and have Steven Solomon on-line!
See this thread for details.
Win a copy of TDD for a Shopping Website LiveProject this week in the Testing forum!
  • 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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
 
"Don't believe every tiny ad you see on the internet. But this one is rock solid." - George Washington
free, earth-friendly heat - a kickstarter for putting coin in your pocket while saving the earth
https://coderanch.com/t/751654/free-earth-friendly-heat-kickstarter
reply
    Bookmark Topic Watch Topic
  • New Topic