Specifying runtime arguments [message #137615] |
Wed, 15 February 2006 11:33  |
Eclipse User |
|
|
|
Originally posted by: PDK140.bham.ac.uk
Hi all,
I am using a simulation tool known as JIST which requires when running my
test class file in JAVA (called 'hello') to type in:
java jist.runtime.Main hello
This has the effect of loading the simulation kernel. My question is the
following: is there any way of emulating this within Eclipse's run Java
application dialog box so I can run programs from the Eclipse environment,
rather than going to the command prompt? I've had a little look through
the options in the Run dialog and havent come across anything that works
within the 'Arguments' tab, and specifying an alternate java excutable
(tagging java jist.runtime.Main) brings up an error saying that 'java
jist.runtime.Main is not an executable' for my runtime environment.
Any help would be greatly appreciated!
Many Thanks,
Paul
|
|
|
|
Re: Specifying runtime arguments [message #137652 is a reply to message #137615] |
Wed, 15 February 2006 12:57  |
Eclipse User |
|
|
|
Originally posted by: wegener.cboenospam.com
Paul wrote:
> Hi all,
> I am using a simulation tool known as JIST which requires when running my
> test class file in JAVA (called 'hello') to type in:
> java jist.runtime.Main hello
> This has the effect of loading the simulation kernel. My question is the
> following: is there any way of emulating this within Eclipse's run Java
> application dialog box so I can run programs from the Eclipse environment,
> rather than going to the command prompt? I've had a little look through
> the options in the Run dialog and havent come across anything that works
> within the 'Arguments' tab, and specifying an alternate java excutable
> (tagging java jist.runtime.Main) brings up an error saying that 'java
> jist.runtime.Main is not an executable' for my runtime environment.
> Any help would be greatly appreciated!
> Many Thanks,
> Paul
You might be able to do this by adding the JIST jar to your project.
Then, instead of selecting Hello and running it, you could create a launch
configuration using jist.runtime.Main as the class to run. Enter Hello as
an argument on the argument tab.
|
|
|
Powered by
FUDForum. Page generated in 0.06222 seconds