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
my java app is a console application, i realise now to open in console mode i have to put the path My.app/Content/MacOs/Universalapplicationstub
I was expecting like in windows when you double click it opens up in a terminal by default.
any way to change that behavior
Not sure, maybe we can include a terminal mode for macOS, so when double clicking your app, universalJavaApplicationStub startuo script opens a terminal and runs your app inside
Workaround for now: run the launcher from a terminal (My.app/Contents/MacOS/universalJavaApplicationStub) or use open -a Terminal My.app/Contents/MacOS/universalJavaApplicationStub. The GNU/Linux equivalent is #345.
Activity
fvarrui commentedon Dec 13, 2023
Hi @akhilmanikandan!
Maybe is
open /path/to/My.appwhat you are looking for?akhilmanikandan commentedon Dec 13, 2023
my java app is a console application, i realise now to open in console mode i have to put the path My.app/Content/MacOs/Universalapplicationstub
I was expecting like in windows when you double click it opens up in a terminal by default.
any way to change that behavior
fvarrui commentedon Feb 29, 2024
Not sure, maybe we can include a terminal mode for macOS, so when double clicking your app, universalJavaApplicationStub startuo script opens a terminal and runs your app inside
fvarrui commentedon Oct 4, 2026
Merging #404 into this one, as both are about console apps on macOS:
.app, installed somewhere inPATH(e.g./usr/local/bin), like the DEB on GNU/Linux.Workaround for now: run the launcher from a terminal (
My.app/Contents/MacOS/universalJavaApplicationStub) or useopen -a Terminal My.app/Contents/MacOS/universalJavaApplicationStub. The GNU/Linux equivalent is #345.