Built Bonjour-dependent Java app on Mac, copied to Windows, can't find Bonjour

On my Mac, I wrote a Java app that uses Bonjour.  It works just fine.
Then I decided to test it on Windows.  So I installed Java SE and then the Bonjour for Windows package on Windows XP.  When I try to run my program (double-clicking the jar file), nothing happens.  When I do it from the command line, it complains about being unable to find Bonjour:
Exception in thread "main" java.lang.NoClassDefFoundError: com/apple/dnssd/BrowseListener
I assumed that Bonjour for Windows would automatically register itself so that Java could find it.  Is that incorrect? 
What is the correct portable way to make Bonjour available to apps on Windows?
Thanks!

The sad part is that the guide you link to contains a link to the installation instructions right at the top. That should have been a big hint.
To prevent future wrong assumptions, refer to the roadmap:
http://www.oracle.com/technetwork/java/javafx/overview/roadmap-1446331.html

Similar Messages

  • Just bought macbook pro and want to download purchases I have already made from itunes apps but when it says downloaded can't find it. I have run a search and found it in my mac but unable to open or do anything??

    just bought macbook pro and want to download purchases I have already made from itunes apps but when it says downloaded can't find it. I have run a search and found it in my mac but unable to open or do anything?? Do not understand what is happening.

    robynmm wrote:
    so how do I get the same apps for my macbook pro? or is that not possible?
    Not sure if that same Application is designed for Mac Os x, Search for Applications on App Store instead of iTunes on your Macbook Pro, as Applications available on iTunes Store on a Macbook is designed to work only on iOS Device like iPhone, iPad and iPod Touch and whatever is available on App Store on Mac is designed for Mac Os x.

  • I can't find iMovie on my mac any where though it says on the app store it is installed I can not find it to open and use, someone help ?!

    I can't find iMovie on my mac any where though it says on the app store it is installed I can not find it to open and use, someone help ?!

    Welcome to Apple Support Communities
    Open a Finder window, select Applications in the sidebar and look for iMovie. Make sure there are no external disks connected, and if so, disconnect them, open the App Store and install iMovie.
    You can also use Spotlight to look for iMovie, so press Command and Space keys and type iMovie

  • Where can i download java for my mac os x, where can i download java for my mac os x

    where can i download java for my mac os x, where can i download java for my mac os x?

    Type java in google and go to Oracles website to download it.

  • My XP machine is unable to load iTunes 10.5.1. It gets about halfway loaded then says it can't find Bonjour.msi. However, that file is on the computer. I tried loading the Bonjour.msi from another computer but it came up with the same message.

    My XP machine is unable to load iTunes 10.5.1. It gets about halfway loaded then says it can't find Bonjour.msi. However, that file is on the computer. I tried loading the Bonjour.msi from another computer but it came up with the same message. I also tried to remove iTunes from the add/remove sector on Control Panel but it also refused for the same reason. Help, please.

    Try:                                               
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable                     
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar
    The missing apps could have been done by setting the Restrictions that can hid those apps. If the backup was made with those retrictions set the the Restrictions are also restored.
    Thus, if you get it to work restore to factory settings/new iPod, not from backup                               
    You can redownload most iTunes purchases by:        
      Downloading past purchases from the App Store, iBookstore, and iTunes Store

  • How can I synchronize my iPhoto events? my iTunes doesn't read them and with the app Images in the iPad I can only find Photos, Albums, Faces and Places, not Events.

    How can I synchronize my iPhoto events? my iTunes doesn't read them and with the app Images in the iPad I can only find Photos, Albums, Faces and Places, not Events.

    I had a problem a couple of months ago when iPhotos suddenly rearranged the order of my Events (Why won't iPhoto let me arrange my photos?) .  I was told "Use albums not events - events are not a good way to organize - albums and folder are designed for organisation and are very flexible".
    Haha!  I should have paid attention and read between the lines!  My iPhotos were highly organised groupings - not according to date but the way I wanted them - and it was so easy to do!  I see now that if I had them all in albums, as per the Apple Apologist suggestion, I wouldn't have this unholy mess I have been left with just to make iPhone & iCloud users happy.  I am now going through Photos and making Albums (of what used to be in my Events)  ... maybe I'll get this finished before they do another non user friendly update!

  • I can not find "app of the day" from app store on my ipod,how can i find and download it?

    i can not find "app of the day" from app store on my ipod,how can i find and download it?

    It is possible that the app was removed from the App Store. If so you will not be able to get it back, unless you have it downloaded on your computer.
    If you had downloaded it before and it is still in the store, you can go to the App Store app on your iPod and go to the Updates tab. Then you tap on "Purchased" and see if it is available to download from your previous purchases.
    Hope this helps!
    PSkilton

  • Hi i need to find photoshop cs4 full  english , for my mac book pro,  i can't find were to download it? can someone help me?

    hi i need to find photoshop cs4 full  english , for my mac book pro,  i can't find were to download it? can someone help me?

    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 |12 | 11, 10 | 9, 8, 7
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7
    Lightroom:  5.7.1| 5 | 4 | 3 | 2.7(win),2.7(mac)
    Captivate:  8 | 7 | 6 | 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.window using the Lightroom 3 link to see those 'Important Instructions'.

  • HT2534 How do I turn off auto Yearly renewals for news stand subscriptions. It's says in the t's & c's this can be turn off in the app store account settings, but I can't find it? Any ideas?

    How do I turn off auto Yearly renewals for news stand subscriptions. It's says in the t's & c's this can be turn off in the app store account settings, but I can't find it? Any ideas

    There are instructions on this page for how to manage and cancel auto-renewing subscriptions : http://support.apple.com/kb/HT4098

  • Windows Vista cannot find bonjour and it won't allow me access to my ipad.

    For some reason my Windows Vista cannot find bonjour and it won't allow me to do anything on my ipad. If I reinstall itunes will that work? If I update itunes will that work?
    Please Help....
    Thanking You in advance,
    Frankie

    Hi Frankie,
    This article covers how to check if Bonjour is installed correctly and how to reinstall if it's not:
    Bonjour for Windows: How to tell if it successfully installed
    http://support.apple.com/kb/HT2703
    Cheers!
    - Ari

  • Is there a way to get a search protocol of the "Find my iPhone" search app and icloud ? And where can i find a protocol of the chat with a apple support worker

    Is there a way to get a search protocol of the "Find my iPhone" search app and icloud ? And where can i find a protocol of the chat with a apple support worker

    Thanks for the reply however this does not help.  When I check the cloud it shows that I have only 20 photos.  In reality I had a lot more than that.  All the photos on the cloud are those that I have taken since I was at the Apple store.  When I check cloud storage usage on my phone it says that I have 5.1 GB of photos.  This is a lot more than the 20 that I can see.  I am not sure what the Apple employee did to my phone.
    Still looking for answers.  It is really too bad that I can not talk to an Apple person to get help since they messed up my phone.

  • I know my ipod mac adres but i can not find the serial no.p.s my ipod is not with me

    i know my ipods mac adres but i can not find the serial no since the ipod is not with me

    this is the iMac desktop computer forum.  Please re-post your question in the iPod touch forum.  https://discussions.apple.com/community/ipod/ipod_touch

  • I have bough Indesign for Mac yesterday and I can't find my serial number any where. Who can help ?

    I have bough Indesign for Mac yesterday and I can't find my serial number any where. Who can help ?

    You have purchased CC, the order is still under transaction
    The CC does not needs any serial number, it is based on Adobe ID.
    In case you are being asked for serial number then you can refer to.
    Creative Cloud applications ask for serial number
    Re: Invalid serial number?
    Regards
    Rajshree

  • Problem with Java app on Mac OS X... works fine in PPC, not on Intel

    Hi all,
    I'm at a loss... I've always been under the impression that java is the same no matter where it's running, but I've come across something that surely counters that line of thought. At work, we use a java application from DTI to publish our newspaper. This app works just fine on Mac OS X 10.4.x on PPC Macs, but the same application doesn't work on Intel Macs, also 10.4.x.
    The app launches and appears to be working fine, but there's a point where it must download some support files from the server. This is where it breaks with the error:
    java.io.IOException: null, com.dtint.macutils.AppFile.decode
    The corresponding entries in the console log show this:
    java.io.IOException: null,com.dtint.macutils.AppFile.decode
         at com.dtint.macutils.Codec.invoke(Codec.java:96)
         at com.dtint.macutils.Codec.decode(Codec.java:112)
         at com.dtint.install.InstallFile.decode(InstallFile.java:218)
         at com.dtint.install.Download.db2File(Download.java:277)
         at com.dtint.install.Download.run(Download.java:143)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.dtint.macutils.Codec.invoke(Codec.java:91)
         ... 4 more
    Caused by: java.io.IOException
         at com.dtint.macutils.AppFile.decode(AppFile.java:130)
         ... 9 more
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.dtint.macutils.AppFile.decode(AppFile.java:125)
         ... 9 more
    Caused by: java.io.FileNotFoundException: /Volumes/ChopAdSizeMove.scpt.encoded (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at glguerin.macbinary.MBFileDecoder.decodeFile(MBFileDecoder.java)
         at com.dtint.macutils.MacFileIO.decode(MacFileIO.java:163)
         at com.dtint.macutils.AppFile_60.decode(AppFile_60.java:94)
         ... 14 more
    File Download Time (ms) = 12428
    If there are any other logs I can provide, let me know what would be helpful and I'll get them.
    I've got no clue why this wouldn't work across platforms unless it was compiled for the PPC processor or something, but then wouldn't it either launch in Rosetta or not at all on the Intel? I'm a systems admin, not a programmer, so I've really no idea where to start looking.
    What I have done to this point is made sure I'm on the latest Apple-released Java, as well as copied the Java files from the PPC to the Intel to see if there was something there. Nothing makes any difference.
    This would be a major coup if I could get this working... does anyone have any thoughts or ideas about getting this to work?
    Many thanks in advance!
    Jason

    Hi all,
    I'm at a loss... I've always been under the impression that java is the same no matter where it's running, but I've come across something that surely counters that line of thought. At work, we use a java application from DTI to publish our newspaper. This app works just fine on Mac OS X 10.4.x on PPC Macs, but the same application doesn't work on Intel Macs, also 10.4.x.
    The app launches and appears to be working fine, but there's a point where it must download some support files from the server. This is where it breaks with the error:
    java.io.IOException: null, com.dtint.macutils.AppFile.decode
    The corresponding entries in the console log show this:
    java.io.IOException: null,com.dtint.macutils.AppFile.decode
         at com.dtint.macutils.Codec.invoke(Codec.java:96)
         at com.dtint.macutils.Codec.decode(Codec.java:112)
         at com.dtint.install.InstallFile.decode(InstallFile.java:218)
         at com.dtint.install.Download.db2File(Download.java:277)
         at com.dtint.install.Download.run(Download.java:143)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.dtint.macutils.Codec.invoke(Codec.java:91)
         ... 4 more
    Caused by: java.io.IOException
         at com.dtint.macutils.AppFile.decode(AppFile.java:130)
         ... 9 more
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.dtint.macutils.AppFile.decode(AppFile.java:125)
         ... 9 more
    Caused by: java.io.FileNotFoundException: /Volumes/ChopAdSizeMove.scpt.encoded (No such file or directory)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(FileInputStream.java:106)
         at java.io.FileInputStream.<init>(FileInputStream.java:66)
         at glguerin.macbinary.MBFileDecoder.decodeFile(MBFileDecoder.java)
         at com.dtint.macutils.MacFileIO.decode(MacFileIO.java:163)
         at com.dtint.macutils.AppFile_60.decode(AppFile_60.java:94)
         ... 14 more
    File Download Time (ms) = 12428
    If there are any other logs I can provide, let me know what would be helpful and I'll get them.
    I've got no clue why this wouldn't work across platforms unless it was compiled for the PPC processor or something, but then wouldn't it either launch in Rosetta or not at all on the Intel? I'm a systems admin, not a programmer, so I've really no idea where to start looking.
    What I have done to this point is made sure I'm on the latest Apple-released Java, as well as copied the Java files from the PPC to the Intel to see if there was something there. Nothing makes any difference.
    This would be a major coup if I could get this working... does anyone have any thoughts or ideas about getting this to work?
    Many thanks in advance!
    Jason

  • Launch Java app without going to shell window?

    I saw lots of applications that were build with Java but run just like a Windows applications.
    Can you give me any clues on how to do this? For example, what can I do if I wish to launch a Java application without having to open the command-line window?

    yes, javaw meets what i needed @_@

Maybe you are looking for