I have recently developed some java applications that i want others to run on their machines. I did some research and now know that to distribute java code you need to create .jar file. Well i did that, but when I am distributed those file it runs on some computers but on others it return an error saying: "Main class could not found".
- Is there any problem with JRE version.
- How would a user know that on which version he/she should run the application.
- can i package the correct jre version with my app/jar file. how??
- Are jar files not compatible with other version of jre except in which they are compiled.