From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 6951130273 for ; Fri, 21 Sep 2001 09:59:20 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f8LDxJO21909 for axp-list@listman.redhat.com; Fri, 21 Sep 2001 09:59:19 -0400 Received: from ml.comspec.com (IDENT:root@ml.comspec.com [192.139.80.27]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f8LDxIg21905 for ; Fri, 21 Sep 2001 09:59:19 -0400 Received: from mercutio.iplink.net ([192.139.81.54]:32265 "EHLO iplink.net") by ml.comspec.com with ESMTP id ; Fri, 21 Sep 2001 09:59:01 -0400 Message-ID: <3BAB47F3.AF4A0E0F@iplink.net> Date: Fri, 21 Sep 2001 10:00:19 -0400 From: alvin X-Mailer: Mozilla 4.76 [en] (X11; U; Linux 2.2.17-14 i686) X-Accept-Language: en MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: thanks; how to execute a Java program References: <200109210330.f8L3UhG11758@gtedhcp-183.inetarena.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: "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 ||