Mailing Lists: Apple Mailing Lists

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

Re: import com.apple.cocoa.application.*;



there is no such a jar file
just add the following folder to your classpath:

/System/Library/Javaa
laso it would be useful to add that folder tho the manifest's Class- Path: element



On May 25, 2005, at 11:55 AM, Bill Tschumy wrote:

I am trying to add Services to my Java app. I need to use the class NSApplication, but when I

    import com.apple.cocoa.application.*;

I get "package com.apple.cocoa.application does not exist" when building from ant. Do I need to include a jar file that is not on the default classpath?

--
Bill Tschumy
Otherwise -- Austin, TX
http://www.otherwise.com


_______________________________________________ Do not post admin requests to the list. They will be ignored. Java-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden


Dmitry Markman

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden
References: 
 >import com.apple.cocoa.application.*; (From: Bill Tschumy <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.