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 &
@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