How to tie to the dock (Dock) my Java app?

I wrote a small Java application for Mac. The problem is that I can't pin it to the dock. No experience under Mac'om. Programming under Windows, then assembled on a Mac e.

When mounted in the dock, right-click, after closing the app and trying again to run it — there is a terminal and nothing more. I understand the need to write a script to run and secure it in the dock?
October 8th 19 at 03:37
0 answer

Find more questions by tags macOS