The Artima Developer Community
Sponsored Link

Java Answers Forum
Command line arguments

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Laber

Posts: 1
Nickname: laber73
Registered: Apr, 2004

Command line arguments Posted: Apr 30, 2004 9:37 AM
Reply to this message Reply
Advertisement
Hi

I am starting a program from the command line using

java -jar myjar.jar arg1 arg2

Now, getting the arguments (arg1, arg2) from withing the program is straight forward, but does anyone know how to get the 'myjar.jar' argument within the running program?

Any help is appreciated
Thanks
Laber

Topic: ShowInputDialog problems!! need help Previous Topic   Next Topic Topic: interfaces

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use