0

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

Community
  • 1
  • 1
user3873909
  • 191
  • 1
  • 3
  • 15
  • This won't help you, but... You shouldn't alter the .app contents once it has been installed. This strategy won't work for non-administrator users. It won't work for sandboxed apps. Whatever the correct solution is, it needs to be one that does not alter the .app contents. – martinez314 Sep 05 '14 at 16:31
  • Have you found solution ? – Pawan Kumar Sep 07 '15 at 12:51

0 Answers0