Hello everybody.. I have small problem..I created a java App in windows and my .jar consist of whole app..i copied this jar file to mac and executed it from there it works fine.. Java App consists of bonjour code if i execute .jar on windows it works fine and bonjour starts advertising...But,for mac the app runs fine but doesnot advertise the bonjourservice.. I am not understanding the difference..can anyone explain me y it is so?
A:
Because on the Mac the OS will do that for you, so you have to register it with the system service, rather than do the whole protocol yourself. Unfortunately, I have no idea how to do that in Java.
Andrew McGregor
2010-01-28 08:03:58