Jump to content
  • Advertisement
Sign in to follow this  
homka

[java] Set the Classpath

This topic is 2451 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello,

I have an application which read xsd file, and [font=sans-serif][size=2] XSD file is supposed to be stored somewhere on CLASSPATH. Do you have any idea?[/font]
[font=sans-serif][size=2]Thx a lot.[/font]blink.gif

Share this post


Link to post
Share on other sites
Advertisement
I don't understand your question. What are you having trouble with:

  • Getting the file into the class path?
  • Reading any file from the class path?
  • Finding the given XSD file on the class path?
  • Setting the class path when running your program?
  • Something else?

    Can you show us any code?

Share this post


Link to post
Share on other sites

I don't understand your question. What are you having trouble with:
  • Getting the file into the class path?
  • Reading any file from the class path?
  • Finding the given XSD file on the class path?
  • Setting the class path when running your program?
  • Something else?
    Can you show us any code?


well, I'm pretty new in java.
Actually i have an xsd file, then I use ant -> build.xml and generate jaxb. then i use those generated *.java classes and compile the project. But I dont know how set the classpath to xsd file .... make my app find the xsd file by classpath.... Hope you understand what do I want.. :(

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!