* thanks; how to execute a Java program
@ 2001-09-21 3:30 Robert M. Riches Jr.
2001-09-21 14:00 ` alvin
0 siblings, 1 reply; 2+ messages in thread
From: Robert M. Riches Jr. @ 2001-09-21 3:30 UTC (permalink / raw)
To: axp-list
Many thanks to those who explained a few weeks ago where to get
all the stuff needed by the Compaq JDK (1.3.1).
Now for a stupid question: I have a small one-class Java program
I'd like to execute from the shell prompt as if it were a binary
stuck in /usr/local/bin. Is there a more civilized way of doing
that than a one-line shell script that does "exec java progname"?
Thanks.
Robert Riches
richesr1@inetarena.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: thanks; how to execute a Java program
2001-09-21 3:30 thanks; how to execute a Java program Robert M. Riches Jr.
@ 2001-09-21 14:00 ` alvin
0 siblings, 0 replies; 2+ messages in thread
From: alvin @ 2001-09-21 14:00 UTC (permalink / raw)
To: axp-list
"Robert M. Riches Jr." wrote:
>
> Many thanks to those who explained a few weeks ago where to get
> all the stuff needed by the Compaq JDK (1.3.1).
>
> Now for a stupid question: I have a small one-class Java program
> I'd like to execute from the shell prompt as if it were a binary
> stuck in /usr/local/bin. Is there a more civilized way of doing
> that than a one-line shell script that does "exec java progname"?
You will want to use the binfmt features in the kernel.
Take a look at:
http://www.tat.physik.uni-tuebingen.de/~rguenth/linux/binfmt_misc.html
--
Alvin Starr || voice: (416)785-4051
Interlink Connectivity || fax: (416)785-3668
alvin@iplink.net ||
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-09-21 13:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-21 3:30 thanks; how to execute a Java program Robert M. Riches Jr.
2001-09-21 14:00 ` alvin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox