View Single Post
Join Date: May 2008
Posts: 129
Reputation: PhiberOptik is an unknown quantity at this point 
Solved Threads: 4
PhiberOptik's Avatar
PhiberOptik PhiberOptik is offline Offline
Junior Poster

Re: Interpreting JAR's launched with parameters

 
0
  #3
Jan 7th, 2009
args[0] ?

Sorry i am confused, here I will give you a small rundown of the program. I use a program to automatically log myself into Steam. With steam you can launch their games by saying C:\Steam\steam.exe -login username password -applaunch 500 and of course the login and application vary between games. So I have a bunch of icons on my desktop that go to a JAR that logs me into steam automatically, but then I have to launch the game from inside of steam, so I want to know how to launch a JAR and have the jar grab the parameter. Basically I want to say C:\user\thatProgram.jar -500 and have the program look for the parameter and if it's there make it a int inside of my program.

Thanks Jon
History will be kind to me for I intend to write it.
---------------------------------- Sir Winston Churchill
Reply With Quote