-
-
Save atd-schubert/5345483 to your computer and use it in GitHub Desktop.
#!/bin/bash | |
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | |
echo "Starting with Mountain Lion start helper" | |
$DIR/JavaApplicationStub & |
It works like a charm in OS X 10.9 too. Thank you very much!
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!
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)
This still works on High Sierra too. Thanks!
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.
symlink creations as suggested through https://oliverdowling.com.au/2014/03/28/java-se-8-on-mac-os-x/ did work for me.
I added this starter.sh file to ./ArgoUML/Contents/MacOS/starter and changed the following Key and String in ./ArgoUML/Contents/Info.plist file.
Et voilá, now you can use ArgoUML as a normal OSX application in Mountain Lion, if you had Java installed!