Link Details

Link 94666 thumbnail
User 226273 avatar

By Fraaargh
via fraaargh.wordpress.com
Published: Jul 14 2008 / 14:30

Here’s a brief “how-to” for remembering what is possible with a jar file, how to use it, launch its main class and define where the other jars (the libraries used) are stored. I could not find anywhere on the net a good explanation of all this, so decided to write my own.
  • 7
  • 1
  • 1590
  • 370

Comments

Add your comment
User 111696 avatar

bloid replied ago:

0 votes Vote down Vote up Reply

>> I could not find anywhere on the net a good explanation of all this

Seriously?

Also, the layout on the blog entry if anything makes a simple topic more confusing...

User 226273 avatar

Francois MAROT replied ago:

0 votes Vote down Vote up Reply

@unchqua : yes I red all the docs you provided, but they were very unclear to me (I like concrete examples) Moreover, it's never written anywhere that you can't use both -cp and -jar at the same time... Which appears to me as a "would be usefull" feature. I'll add that Sun's examples are always with one jar in the CP... What about the separator who differ whether you set the CP on the command line ( ":" or ";" for Linux & Windows respectively) or in the Manifest (" ") ?!
@bloid : see above. About the layout, you're so right ! Shame on me, I'll update it a bit ;)
,
,

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (1)