Search:

Type: Posts; User: Norm

Search: Search took 0.17 seconds.

  1. Replies
    42
    Views
    8,791

    [SOLVED] Re: Jar file only Works on my computer?

    Famous words.
  2. Replies
    42
    Views
    8,791

    [SOLVED] Re: Jar file only Works on my computer?

    That can mean there is no jar file with that name in that folder.

    But you never posted the console window contents that shows the name of the folder.

    You never did a dir command to show what...
  3. Replies
    42
    Views
    8,791

    [SOLVED] Re: Jar file only Works on my computer?

    You get better error messages when you manually enter the java -jar command.
    I don't remember that you did that, copied the command prompt window and posted it.
  4. Replies
    42
    Views
    8,791

    [SOLVED] Re: Jar file only Works on my computer?

    I got the same error message as you reported when I entered an madeup jar file name. If the file had been there you get a different error message. My assumption was that either the file was in...
  5. Replies
    42
    Views
    8,791

    [SOLVED] Re: Jar file only Works on my computer?

    When are you going to try what I suggested in post #3 & #11?
  6. Replies
    42
    Views
    8,791

    [SOLVED] Re: Jar file only Works on my computer?

    The OP never posted the console when the jar was executed from the commandline.
    The one posting was for the case where the jar file was not seen by the java command, probably because the OP was in...
  7. Replies
    42
    Views
    8,791

    [SOLVED] Re: Jar file only Works on my computer?

    Yes, it is possible to have more that one version of java on one computer. I have 3 or 4 and use a command line with a full path to pick the one I want to use.
    Which one is the first one on the...
  8. Replies
    42
    Views
    8,791

    [SOLVED] Re: Jar file only Works on my computer?

    They don't. Something about your jar file has not been resolved. You've made a bunch of what I'd call random changes without really tracking down what the problem is/was.

    No.
    Has the jre...
  9. Replies
    42
    Views
    8,791

    [SOLVED] Re: Jar file only Works on my computer?

    Which variables and what values did you give them?
    Others with this problem would probably like to know.
  10. Replies
    42
    Views
    8,791

    [SOLVED] Re: Jar file only Works on my computer?

    No, you do NOT need the JDK to execute jar files.
  11. Replies
    42
    Views
    8,791

    [SOLVED] Re: Jar file only Works on my computer?

    There are thousands of ways any code including code in a jar file can fail. The main problem is having the OP do EXACTLY what you tell them and report back what happened. Somehow they get distracted...
  12. Replies
    42
    Views
    8,791

    [SOLVED] Re: Jar file only Works on my computer?

    Can you explain where you got that message and what you were doing.
    Does the laptop run Windows? Did you do the steps I described in post #3? If not, please do.
  13. Replies
    42
    Views
    8,791

    [SOLVED] Re: Jar file only Works on my computer?

    90% ??? I doubt it. Unless you are talking about students.
  14. Replies
    42
    Views
    8,791

    [SOLVED] Re: Jar file only Works on my computer?

    Are the java versions at the same version?
    on the laptop, open a command prompt window, change to the folder with the jar file and enter:
    java -jar <THEJARFILENAME>.jar

    Copy the command prompt...
Results 1 to 14 of 14