Jar not WORKING FOR ANYONE BUT ME!!!!!!!! HELP
I've made many jars in the past and i keep having the same problem!
http://uppit.com/k040f20m1d6f/client.jar
Error: could not find the main class: client.class Program will exit.
This jar working for me, why wont it work for anyone else?
[Question: Can it be because me jdk is Complete Up to date?]
Re: Jar not WORKING FOR ANYONE BUT ME!!!!!!!! HELP
No. Where is client.class? Is it in the jar? Or is it only on your machine?
Re: Jar not WORKING FOR ANYONE BUT ME!!!!!!!! HELP
Quote:
Error: could not find the main class: client.class
Is your class name: client.class or is it client? Client.class looks like a filename, not a class name..
If it were named client.class then the name of the class file would be: class.class and it would be in the client package.
Remove the .class from where you are specifying the class name.
Re: Jar not WORKING FOR ANYONE BUT ME!!!!!!!! HELP
The client file is uploadd into the jar file, ive mad jar files with command line and have gotten same problem, this time i used a 'jarmaker' and have the same problem, and the error has no .class, my friend typed it wrong when he sent it to me.
Re: Jar not WORKING FOR ANYONE BUT ME!!!!!!!! HELP
Quote:
This jar working for me, why wont it work for anyone else?
Try openning a command prompt and issuing the java command:
java -jar client.jar
Then copy the command prompt console with the error message.
On Windows: To copy the contents of the command prompt window:
Click on Icon in upper left corner
Select Edit
Select 'Select All' - The selection will show
Click in upper left again
Select Edit and click 'Copy'
Paste here.
What version of java did you compile it with?
What version of java is on the machine where it fails?
Re: Jar not WORKING FOR ANYONE BUT ME!!!!!!!! HELP
.-. I DON'T GET A ERROR WORKS 100% FOR ME! :)
JDK 1.7.0_02
Not Sure. Works with other computers with JDK 1.7.0_02
Re: Jar not WORKING FOR ANYONE BUT ME!!!!!!!! HELP
What version of java is on the machine where it fails?
Re: Jar not WORKING FOR ANYONE BUT ME!!!!!!!! HELP
"Not Sure. Works with other computers with JDK 1.7.0_02 "
Re: Jar not WORKING FOR ANYONE BUT ME!!!!!!!! HELP
Re: Jar not WORKING FOR ANYONE BUT ME!!!!!!!! HELP
Re: Jar not WORKING FOR ANYONE BUT ME!!!!!!!! HELP
What version of the java.exe program is executed when the error happens?
Re: Jar not WORKING FOR ANYONE BUT ME!!!!!!!! HELP
Re: Jar not WORKING FOR ANYONE BUT ME!!!!!!!! HELP