Re: Dumb Mac qustion.



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
.



Relevant Pages

  • Re: The Problems With Linux
    ... > Here are the problems with Linux: ... programmers of UNIX, Open Source software, and Shareware. ... programs only available from BSD. ... BSD code is used by Microsoft in it's Windows NT/9x/2K/XP code. ...
    (comp.os.linux)
  • Re: What is a MVP?
    ... I made no claim about my person other than I worked as support for Unix ... Windows is like a platform. ... Do I consider you to be yet another Linux troll?.. ...
    (microsoft.public.windowsxp.general)
  • RE: [Full-Disclosure] CyberInsecurity: The cost of Monopoly
    ... I've used UNIX, ... I've used/use Linux, ... > inefficient operating system - if most other Windows ... This is why I don't run POS operating systems. ...
    (Full-Disclosure)
  • Re: Apple Notebook
    ... die gerne mit Unix Befehlen arbeiten und sich freuen, ... mich stören weder UNIX-Befehle (neben Mac OS X benutze ich selbst z.B. u.A. auch HP-UX, UNIX ist für mich also kein Fremder) noch Leute, die mit ihrem Mac zufrieden sind. ... Mich stört auch nicht, dass Windows mit Ausnahme von Windows Server 2003 R2 keine UNIX-Befehle kann, genauer gesagt geht mir das ziemlich am Allerwertesten vorbei, einfach weil der Bedarf nicht vorhanden ist. ... Und das nicht nur deswegen, weil Apple schlichtweg keinen professionellen Support anbietet, sondern weil die Masse der wichtigen Anwendungen eben nicht unter Mac OS X läuft, sondern unter Windows oder allenfalls noch Linux. ...
    (de.comp.sys.notebooks)
  • Re: Linux no threat to Microsoft
    ... originally developed for Unix. ... Windows has't come on any of the machines I've ever purchased. ... Yet over those years Linux Market Share on the desktop has actually ... philosophy of Apple - later adopted by Microsoft. ...
    (comp.os.linux.setup)