Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Replies
    11
    Views
    2,271

    [SOLVED] Re: java -jar path problem

    That's right. The path/folder needs to be where the java program can see it.
    It would work if the current directory (where ever that is) contained a folder: Testing
  2. Replies
    11
    Views
    2,271

    [SOLVED] Re: java -jar path problem

    The post shows that I was in C: (root)
    The full path to the jar file: C:/Testing/BuildDoIt
    I guess java took the /Testing path to mean: start in the current location and go to the folder: Testing
  3. Replies
    11
    Views
    2,271

    [SOLVED] Re: java -jar path problem

    I have 3 drives on Win7: C:, D: and E: what would the root be for that?

    This worked for me:


    C:\>java -jar /Testing/BuildDoit

    C:\>
  4. Replies
    11
    Views
    2,271

    [SOLVED] Re: java -jar path problem

    @Syed Can you COPY and PASTE the contents of the console window here? I can't do a FIND on text in an image.
    For example I want to see the java command:
    java -jar <Path to jar file>

    The main...
  5. Replies
    11
    Views
    2,271

    [SOLVED] Re: java -jar path problem

    @syed Can you copy the contents of the console and post it showing the filename and the command line used?
  6. Replies
    11
    Views
    2,271

    [SOLVED] Re: java -jar path problem

    I didn't know that the -jar option would work without a jar file name. Are you sure that there isn't a jar file named antir in the directory where the java -jar command is issued?
    The following...
Results 1 to 6 of 6