470,849 Members | 1,133 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,849 developers. It's quick & easy.

executable programs in JAR

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
1 1371
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.

Similar topics

3 posts views Thread by Nickolay | last post: by
1 post views Thread by Walter Cohen | last post: by
3 posts views Thread by codejunkie | last post: by
7 posts views Thread by patrik.kahari | last post: by
10 posts views Thread by Number 11950 - GPEMC! Replace number with 11950 | last post: by
16 posts views Thread by Erwin Moller | last post: by
2 posts views Thread by walterbyrd | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.