• 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

Write Classpath as a seperate file

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I am placing my jar files on WEB-INF/lib/ directory. But it ask for classpath. It asks whether the jar files is in path or not. So, i need to write Classpath file. How to write it as a seperate file. So it can be submitted on remote host. And it automatically detected. My host server is resin . Can anyone have idea?
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
this problem r u getting at compilation time of some java file r when running ur web application

bcause i dont think on running time of web app it gives u error

and if it give u compilation time then u have to set classpath r make a bat file
 
Ram kanana
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
But my host server is resin. then what classpath file naming i used. then in that how i used to set class path.
 
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
pawank gupta,
Welcome to JavaRanch!

In an effort to help you get the most from our forums, we've compiled a
list of tips for asking questions here. You can find the list in our
FAQ section here. In particular please see: UseRealWords

Abbreviations such as "u" or "ur" in place of "you" and "you are"
or "you're" confound language translation software making it hard
for our non-English speaking members to read your posts.

Thank you for helping out in this regard.
 
Ram kanana
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
any one have an idea abt question i posted. Please find solution for that.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your question is hard to read.
Using proper capitalization, punctuation, and spacing between sentences may
increase your odds at getting someone who can help to actually read your question.

Can you explain what "it" is in this sentence?

But it ask for classpath.


When and where are you being prompted for a classpath?
[ July 11, 2006: Message edited by: Ben Souther ]
 
Ram kanana
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sorry for inconvienence. When i accessing a jsp page

"No Data found. Make sure that either Data.jar or Sent.jar is in the classpath"

But i put these jar files in "WEB-INF/lib/" Directory

I need to write classpath file so that these jar files can accessing automatically.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I know of no spec compliant way to write a classpath file.
If you believe that Resin has a way to do this, let me know and I'll move the thread to the Resin forum.

If the jar files are in WEB-INF/lib, they should be found.
Have you checked the file permissions on those files?
Have they been corrupted? (if you copy them to a temp dir, can you open them with jar or winzip and see the contents? Did you compare the file size with the originals?).
 
Ram kanana
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser VI Editor Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Ram kANANA:
Thank you



You're welcome.

PS: It's not a part of our naming policy but I'm sure everyone would be grateful if you would fix the casing in your screen name.
In internet forums, typing in all caps is the equivalent to yelling and is considered rude.
You can change it here
 
If you live in a cold climate and on the grid, incandescent light can use less energy than LED. Tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic