Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: alvin <alvin@iplink.net>
To: axp-list@redhat.com
Subject: Re: thanks; how to execute a Java program
Date: Fri, 21 Sep 2001 10:00:19 -0400	[thread overview]
Message-ID: <3BAB47F3.AF4A0E0F@iplink.net> (raw)
In-Reply-To: 200109210330.f8L3UhG11758@gtedhcp-183.inetarena.com

"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              ||




      reply	other threads:[~2001-09-21 13:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-21  3:30 thanks; how to execute a Java program Robert M. Riches Jr.
2001-09-21 14:00 ` alvin [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox