Re: Dumb Mac qustion.
- From: Tom Anderson <twic@xxxxxxxxxxxxxxx>
- Date: Sat, 3 Oct 2009 15:50:13 +0100
On Fri, 2 Oct 2009, Mike Schilling wrote:
I'll be writing a command-line Java program whose user will want it to be
runnable as mnay places as possible, certainly including Windows, Linux,
Unix, and Mac. The program itself should run fine on all of these; my
question is about how to make it easy to run it.
For Windows I'll write a batch script that will do the job of looking for the JRE and starting up the Java program. For Unix and Linux this will be a shell script. What's the (rough) equivalent for a Mac? (JavaWebStart isn't a possibility here. I'm not going to host the program anywhere; I'm just going to hand it over.)
In the big Developer Tools package from Apple, there's a tool which makes OS X applications out of JARs - you give it the JAR, specify JVM flags, and give it an icon, and it spits out a .app bundle.
tom
--
[of Mulholland Drive] Cancer is pretty ingenious too, but its best to
avoid. -- Tex
.
- References:
- Simple Java Question
- From: adric22
- Re: Simple Java Question
- From: RedGrittyBrick
- Dumb Mac qustion.
- From: Mike Schilling
- Simple Java Question
- Prev by Date: Re: Pre-Fontal lobotomy (was Re: True font sizes)
- Next by Date: Re: Interview
- Previous by thread: Re: Dumb Mac qustion.
- Next by thread: Re: Simple Java Question
- Index(es):
Relevant Pages
|