I have the same question as How to hide the Java SWT program icon in the Dock when the application is in the tray
I have tried the solution given there but it didn't work, probably because Dapple.awt.UIElement="true"
works only for AWT and my app is an SWT application. After going through many similar questions, I came to know that changing LSUIElement
value to 1
will not show any icon in the dock.
But how do I change its value? Can I change it programmatically? If not, where will be my .plist
file? I don't seem to have such a file. I am using Eclipse Juno in Mac OS X 10.9.4
Edit: I have seen this Eclipse info.plist file for OSX and Windows application also and followed the process the answer .But then how do i open the .app file. I tried "open MyApp.app" from cmd.I get the error LSOpenURLsWithRole() failed with error -10810