Skip to main content



      Home
Home » Newcomers » Newcomers » Specifying runtime arguments
Specifying runtime arguments [message #137615] Wed, 15 February 2006 11:33 Go to next message
Eclipse UserFriend
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 #137629 is a reply to message #137615] Wed, 15 February 2006 11:58 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hendrik_maryns.despammed.com

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
NotDashEscaped: You need GnuPG to verify this message

Paul schreef:
> 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.

Yes. Go to Run -> Run..., there select the run you want to edit, or
create a new one, and enter the command line arguments in the tab
arguments. You can also change properties of the output console and
stuff here (in case you need UTF-8, for example).

H.

--
Hendrik Maryns

==================
www.lieverleven.be
http://aouw.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD8DBQFD813Fe+7xMGD3itQRAjuFAJ90Mus1zkWkwvDkOA9Yw7IMW99nbACf YrnW
KPvBna1rBbUXV1YZBO4GyOE=
=cyrr
-----END PGP SIGNATURE-----
Re: Specifying runtime arguments [message #137652 is a reply to message #137615] Wed, 15 February 2006 12:57 Go to previous message
Eclipse UserFriend
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.
Previous Topic:New to Eclipse and java
Next Topic:Cannot add new CVS Repository
Goto Forum:
  


Current Time: Sat May 10 21:00:20 EDT 2025

Powered by FUDForum. Page generated in 0.06222 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top