I am using a MacBook Pro running macOS Mojave with the latest version of Java.

When i run my Java program, it shows 2 icons in the Dock. Is it possible to remove 1 or relocate both?

I cannot use a 3rd party hide program, it won't move if I drag it off the Dock. Does anyone have any methods to relocate or hide the icons?


You should be able to right click on the icon in the dock and select hide. This should hide one of the icons. See image

enter image description here

  • it shows a hide option but it doesnt actually happen after i click it – George Rufo III Jul 5 '19 at 5:00
  • 1
    That is to Show/Hide the app, not the icon itself. Wrong answer. – Kamafeather Sep 11 '19 at 14:55

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .