Search:

Type: Posts; User: copeg

Search: Search took 0.13 seconds.

  1. [SOLVED] Re: the application runs inside Eclipse, but dont run as a jar from cmd

    What is the path you pass to getResourceAsStream, and the path to your xsd file within your jar? At this point, it might help to post an SSCCE that demonstrates this issue.
  2. [SOLVED] Re: the application runs inside Eclipse, but dont run as a jar from cmd

    Is the resource packaged into the jar (you can unpack the jar and look)? Eclipse automatically does this for you...if you are using ant you must make sure all the necessary files are packaged...
  3. [SOLVED] Re: the application runs inside Eclipse, but dont run as a jar from cmd

    What exception do you get when you try to run the jar? Does your manifest file specify the main class? See the following:
    Lesson: Packaging Programs in JAR Files (The Java™ Tutorials > Deployment)
Results 1 to 3 of 3