Article View: borland.public.jbuilder.java.language
Article #7771Re: Execute Program in Red Hat
From: Joi Ellis [TeamB]
Date: Thu, 24 May 2001 16:21
Date: Thu, 24 May 2001 16:21
34 lines
2242 bytes
2242 bytes
Russell <weetat@cesmainternational.com> wrote:
> Hi joi , thanks for your info.
> What is other alternative to do it ?
I don't know what you're trying to do, so I can't really offer any useful
suggestions.
> What do u mean by using something more lightweight?
When I managed a Netware network, I used a variety of methods. Initially
it was just a collection of .bat files (all the workstations were Dos, no
Windows back then.) Later I found a nifty menu program, but it's been so
long since I've thought about that guy I don't remember its name.
> Our project is for apartment blocks. All the apartments will have
> thin client which have java application that mounted to our server.
> Any others suggestion ?? Thanks
I don't understand what your setup is, how big your Java app is, how much
ram the client workstations possess, etc.
To answer your original question, use Runtime.exec() to launch the
star office application. If that is a shell script, launch a copy of
that shell and pass the start office command to it:
exec("/bin/bash /usr/local/StarOffice/bin/staroffice");
To use a made-up example.
--
Joi Ellis (TeamB)
No direct email, please.
For best results, post on news server newsgroups.borland.com!
Newsgroup Info: http://www.borland.com/newsgroups/guide.html
Technical Details
Message-ID:
<3b0d3524_2@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!sunqbc.risq.qc.ca!newsfeed.cwix.com!skynet.be!fu-berlin.de!news.boerde.de!dnews!not-for-mailReferences:
<3B0C6FDA.E0827797@cesmainternational.com> <3b0c7258_1@dnews> <3B0CDF16.8BCF66B2@cesmainternational.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,b7e9e8b6e6911218
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-05-24 09:42:18 PST
Message-ID: <3b0d3524_2@dnews>
From: "Joi Ellis [TeamB]" <joi@aravox.com>
Subject: Re: Execute Program in Red Hat
Newsgroups: borland.public.jbuilder.java.language
References: <3B0C6FDA.E0827797@cesmainternational.com> <3b0c7258_1@dnews> <3B0CDF16.8BCF66B2@cesmainternational.com>
User-Agent: tin/1.4.2-20000205 ("Possession") (UNIX) (Linux/2.2.16-3 (i686))
NNTP-Posting-Host: 209.46.41.66
Date: 24 May 2001 09:21:57 -0700
X-Trace: dnews 990721317 209.46.41.66 (24 May 2001 09:21:57 -0700)
Lines: 34
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-03!supernews.com!cyclone-sjo1.usenetserver.com!news-out-sjo.usenetserver.com!sunqbc.risq.qc.ca!newsfeed.cwix.com!skynet.be!fu-berlin.de!news.boerde.de!dnews!not-for-mail