Skip to content

Instantly share code, notes, and snippets.

@atd-schubert
Created April 9, 2013 12:53
Show Gist options
  • Save atd-schubert/5345483 to your computer and use it in GitHub Desktop.
Save atd-schubert/5345483 to your computer and use it in GitHub Desktop.
Solution for starting ArgoUML in Mac OSX Mountain Lion
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
echo "Starting with Mountain Lion start helper"
$DIR/JavaApplicationStub &
@TianCaiBenBen
Copy link

Thank you very much!

It works for Mac OS X Mavericks 10.9.5 as well!

  • java is jdk1.7u71
  • ArgoUML is v0.34

2 things to mention:

  • should put "starter" file under ./ArgoUML/Contents/MacOS/; not "starter.sh" file
  • should change file "starter" to be executable

thanks again for your solution!

@CapnSpellcheck
Copy link

CapnSpellcheck commented Sep 1, 2016

When I did this I got the strange message

You can't open the application "ArgoUML" because PowerPC applications are no longer supported."

After also searching for the same problem, I found a different approach https://oliverdowling.com.au/2014/03/28/java-se-8-on-mac-os-x/
This is preferable since it makes the solution general without need to edit any app bundle.
However - after doing these steps I *still got the Java 6 install prompt - but fortunately I inspect the bundle in Finder and double-click on Contents/MacOS/JavaApplicationStub and finally, it opens.
Hopefully Finder is just caching something and will go away later...
(Next day it worked fine)

@MLKrisJohnson
Copy link

This still works on High Sierra too. Thanks!

@jmussman
Copy link

Relative to where you extracted the application, check the ./ArgoUML/Contents/MacOS/JavaApplicationStub (or ./ArgoUML.app/Contents/MacOS/JavaApplicationStub) file permissions. This is the file the Info.plist is launching by default. The problem seems to be simply that execute permission isn't on this executable when it is extracted. Adding it (chmod +x JavaApplicationStub) fixed the application launching every time I tested it.

@pkrajanand
Copy link

symlink creations as suggested through https://oliverdowling.com.au/2014/03/28/java-se-8-on-mac-os-x/ did work for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment