By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,469 Members | 1,885 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,469 IT Pros & Developers. It's quick & easy.

executable programs in JAR

P: n/a
I wrote a program that I want to put in a executable jar archive. How do I
do that? Program has 2 classes in a package. I tried something like
"jar -cfv program.jar class1.class class2.class" but it I got error that
main class cannot be found. How can I specify the main class? Tnx.

Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a
damn sorry for this, my news server had problems and I didn't see the
message when I sent it so i posted this one also.

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.