Famous words.
Type: Posts; User: Norm
Famous words.
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...
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.
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...
When are you going to try what I suggested in post #3 & #11?
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...
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...
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...
Which variables and what values did you give them?
Others with this problem would probably like to know.
No, you do NOT need the JDK to execute jar files.
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...
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.
90% ??? I doubt it. Unless you are talking about students.
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...