Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Java on 10.3 (was Re: Have Tiger but no tar file)



At 1:34 AM -0500 7/20/04, James Hillhouse wrote:
while running Panther, if I am using the CVS files in mDNSResponder/Clients/Java/, and _this_ is going to sound _very_ basic, but how do I get beyond the compile error that com.apple.dnssd.* does not exist? I was trying to build SimpleChat.java. In my bash .profile, I have my Java Home as,

JAVA_HOME=/Library/Java/Home

Should I also have,

CLASSPATH=/Users/jdhouse4/mDNSResponder/Clients/Java:
CLASSPATH=/Users/jdhouse4/mDNSResponder/mDNSShared/Java:

in my .profile as well? It's been years since I last touched Java but wanted to look at it again.

Hi, Jim. The easiest way to build and install the Java support on 10.3 is to open the mDNSMacOSX/mDNSResponder.pbproj project in Project Builder or Xcode. Choose the "Build All" target and build it.


Put build/dns_sd.jar into /System/Library/Java/Extensions (or /Library/Java/Extensions).

Put build/libjdns_sd.jnilib into /usr/lib/java.

After that, to build the sample code just use javac.
(e.g. 'javac SimpleChat.java'.)


cheers,

Roger.
_______________________________________________
rendezvous mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/rendezvous
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: rendezvous digest, Vol 1 #363 - 3 msgs (From: James Hillhouse <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.