Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing jar files

Status
Not open for further replies.

chrissyboy

Programmer
Dec 5, 2000
5
0
0
GB
There are several threads about .exe files. I have been using a *.bat file to launch my apps. But have found some jar files that start by clicking on them, I know you have to add the startup program to the manifest but I cannot get the jar file to run, errors read like "Cannot find Main-Class RollCall" (RollCall is my app).
Any ideas.
 
Ackka....good FAQ, but you didn't say what happens if you want to use the jar for applications.

Basically, you just have to include the jar in your classpath.

I have had problems when gif files are bundled in the jar. I believe that they have to be unjarred so that the app can see them. My Home -->
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top