Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Write Classpath as a seperate file

 
Ram kanana
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • 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?
 
pawank gupta
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • 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 Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • 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 Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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
  • Quote
  • Report post to moderator
Thank you
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic