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
Type: Posts; User: Norm
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
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
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:\>
@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...
@syed Can you copy the contents of the console and post it showing the filename and the command line used?
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...