Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Originally posted by Marilyn de Queiroz:
Can you run two applications from the same jar file?
Main-Class: Service1
Main-Class: Service2
Main-Class: Service3
or must I make a fourth app to contain the other three?
What if I want to run more than one instance of Service2?
(for example in Linux I would just say
java Service1&
java Service2&
java Service2&
java Service3& )
Originally posted by Dirk Schreckmann:
To be clear, are you trying to figure out whether you can specify something in the manifest of the JAR that would invoke multiple applications, or even duplicate instances of an application, when executing the JAR?
JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Yes, exactly.
Regards,<br /><a href="http://www.mihaiu.name" target="_blank" rel="nofollow">Razvan</a><br /> <br /> <br />SCJP PREPARATION MATERIAL:<br /><a href="http://www.mihaiu.name/2004/sun_java_scjp_310_035/index.html" target="_blank" rel="nofollow">SCJP 310-035</a><br /><a href="http://www.mihaiu.name/2004/sun_java_scjp_310_035_test1/index.html" target="_blank" rel="nofollow">SCJP 310-035 T1</a><br /><a href="http://www.mihaiu.name/2004/sun_java_scjp_310_035_test2/index.html" target="_blank" rel="nofollow">SCJP 310-035 T2</a><br /><a href="http://www.mihaiu.name/2004/sun_java_scjp_310_035_test3/index.html" target="_blank" rel="nofollow">SCJP 310-035 T3</a><br /><a href="http://www.mihaiu.name/2004/sun_java_scjp_310_035_test4/index.html" target="_blank" rel="nofollow">SCJP 310-035 T4</a>
It's just like a fortune cookie, but instead of a cookie, it's pie. And we'll call it ... tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
|