You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 4, 2023. It is now read-only.
osascript -e "tell application \"System Events\" to display dialog \"ERROR launching ${CFBundleName}!\n\nNo MainClassName specified!\nJava application cannot be started!\" with title \"${CFBundleName}\" buttons {\" OK \"} default button 1 with icon path to resource \"${CFBundleIconFile}\" in bundle (path to me)"
170
171
# exit with error
171
172
exit 1
172
-
173
-
173
+
174
+
174
175
# check whether $JAVACMD is executable
175
176
elif [ -x"$JAVACMD" ];then
176
177
177
178
# enable drag&drop to the dock icon
178
179
export CFProcessPath="$0"
179
-
180
+
181
+
cd"$JavaFolder"
182
+
pwd
183
+
180
184
# execute Java and set
181
185
# - classpath
182
186
# - dock icon
@@ -186,23 +190,24 @@ elif [ -x "$JAVACMD" ]; then
osascript -e "tell application \"System Events\" to display dialog \"ERROR launching ${CFBundleName}!\n\nYou need to have JAVA installed on your Mac!\nVisit http://java.com for more information...\" with title \"${CFBundleName}\" buttons {\" OK \"} default button 1 with icon path to resource \"${CFBundleIconFile}\" in bundle (path to me)"
0 commit comments