Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Thread: jar file

    by Norm
    Replies
    11
    Views
    1,081

    Re: jar file

    That would cause the same version incompatibility problem.
  2. Thread: jar file

    by Norm
    Replies
    11
    Views
    1,081

    Re: jar file

    Did you compile the class file with version 1.7 and try to execute it with version 1.6?
    1.6 can not execute class files from 1.7
  3. Thread: jar file

    by Norm
    Replies
    11
    Views
    1,081

    Re: jar file

    Can you get the full text of the error message:
    Open a command prompt window, change to the folder with the jar file and enter:
    java -jar THEJARFILENAME.jar

    copy the contents of the command...
  4. Thread: jar file

    by Norm
    Replies
    11
    Views
    1,081

    Re: jar file

    Some confusion here. Class names should start with uppercase letters

    The class should have a main() method. Not a class.

    Is the Main class in a package?
    Is there a newline character after the...
  5. Thread: jar file

    by Norm
    Replies
    11
    Views
    1,081

    Re: jar file

    Please copy the full text of the error message and paste it here.
    What is in the manifest file that is in the jar file?
    What are the locations/paths to the class files in the jar file?
  6. Thread: jar file

    by Norm
    Replies
    11
    Views
    1,081

    Re: jar file

    Use the jar command that comes with the jdk

    http://docs.oracle.com/javase/tutorial/deployment/jar/index.html
Results 1 to 6 of 6