osx - Path to exec folder in bash script within .app container -


i'm trying make .app run simple bash script launch java app. found instructions making suitable .app container , running .app runs bash. great.

the problem is, want put java app inside .app i'm not sure how bash script launch it.

here's current script:

#! /bin/sh  /library/internet\ plug-ins/javaappletplugin.plugin/contents/home/bin/java -jar -xmx1g javaapp.jar& 

the script runs , shuts down immediately. i'm assuming because either can't find /java or javaapp.jar put in .app container in same folder bash script (macos)


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -