开发者

cannot run java app on mac properly

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?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜