Search:

Type: Posts; User: pbrockway2

Search: Search took 0.08 seconds.

  1. Replies
    42
    Views
    8,794

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

    The CLASSPATH setting will be ignored when they run "java -jar YourProgram.jar". So in that sense they don't need it.

    When you run an executable jar the classpath comes from what is specified in...
  2. Replies
    42
    Views
    8,794

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

    No, you're right, I was misremembering. java.exe is put into windows\system32 or similar.



    So, the PATH will be correct for the user. And the CLASSPATH will be ignored because that's what...
  3. Replies
    42
    Views
    8,794

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

    The user will need to configure the PATH variable if they want the Java runtime to be run simply from the command line. In this respect it is no different to any other software that they want to run...
  4. Replies
    42
    Views
    8,794

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

    No. The jar file is an archive (a sort of zip file, in fact) containing java classes and other resources (images etc) a program needs. Packaged up in this way the program can be run just using the...
Results 1 to 4 of 4