JavaPackager icon indicating copy to clipboard operation
JavaPackager copied to clipboard

mac run console app

Open akhilmanikandan opened this issue 2 years ago • 3 comments

I'm submitting a…

  • [ ] bug report
  • [ ] feature request
  • [x] other

Short description of the issue/suggestion:

How to run packaged console app in terminal for mac

Currently when console app runs in mac no console or terminal is opened just icon appears in dock.

akhilmanikandan avatar Dec 10 '23 03:12 akhilmanikandan

Hi @akhilmanikandan! Maybe is open /path/to/My.app what you are looking for?

fvarrui avatar Dec 13 '23 11:12 fvarrui

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

akhilmanikandan avatar Dec 13 '23 11:12 akhilmanikandan

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

fvarrui avatar Feb 29 '24 19:02 fvarrui