Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Do we have get any java api or documetation come with mac?

Do we have get any java api or documetation come with mac?
Thread Tools
Dedicated MacNNer
Join Date: Aug 2004
Status: Offline
Reply With Quote
Jul 4, 2005, 10:22 PM
 
As the netbeans said can not find the java documentation, thx.
There were once four people named Everybody, Somebody, Nobody and Anybody. Somebody had to do a job, but Nobody wanted to do it. Nobody could see that Anybody could do it, and Somebody got angry about that because it was Everybody's job. Nobody ended up doing it, and it so happened that Everybody blamed Somebody when Nobody did what Anybody could have done.
     
Forum Regular
Join Date: Jan 2001
Status: Offline
Reply With Quote
Jul 7, 2005, 02:32 PM
 
You can find the Java API at http://www.java.sun.com
     
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status: Offline
Reply With Quote
Jul 7, 2005, 02:48 PM
 
And the Java API reference is included with the Xcode Tools, last I checked.
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
     
Mac Elite
Join Date: Jul 2002
Status: Offline
Reply With Quote
Jul 7, 2005, 06:45 PM
 
It's an optional part of the Xcode Tools install. Be sure to check, or you'll have to run the installer again.
     
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status: Offline
Reply With Quote
Jul 7, 2005, 07:37 PM
 
In the NetBeans, click on Tools->Java Platform Manager
click on the sources tab, then enter the path to src.jar.

Netbeans will now show javadoc for the APIs.
signatures are a waste of bandwidth
especially ones with political tripe in them.
     
maCCer  (op)
Dedicated MacNNer
Join Date: Aug 2004
Status: Offline
Reply With Quote
Jul 8, 2005, 07:43 AM
 
thx guys
There were once four people named Everybody, Somebody, Nobody and Anybody. Somebody had to do a job, but Nobody wanted to do it. Nobody could see that Anybody could do it, and Somebody got angry about that because it was Everybody's job. Nobody ended up doing it, and it so happened that Everybody blamed Somebody when Nobody did what Anybody could have done.
     
maCCer  (op)
Dedicated MacNNer
Join Date: Aug 2004
Status: Offline
Reply With Quote
Jul 8, 2005, 07:49 AM
 
Originally Posted by Kristoff
In the NetBeans, click on Tools->Java Platform Manager
click on the sources tab, then enter the path to src.jar.

Netbeans will now show javadoc for the APIs.
where is the src.jar, i can not found that in my Mac, or i need to download it?
thx
There were once four people named Everybody, Somebody, Nobody and Anybody. Somebody had to do a job, but Nobody wanted to do it. Nobody could see that Anybody could do it, and Somebody got angry about that because it was Everybody's job. Nobody ended up doing it, and it so happened that Everybody blamed Somebody when Nobody did what Anybody could have done.
     
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status: Offline
Reply With Quote
Jul 8, 2005, 12:19 PM
 
should be here:
/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/src.jar

let me know if it's not
signatures are a waste of bandwidth
especially ones with political tripe in them.
     
maCCer  (op)
Dedicated MacNNer
Join Date: Aug 2004
Status: Offline
Reply With Quote
Jul 10, 2005, 12:39 AM
 
Originally Posted by Kristoff
should be here:
/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/src.jar

let me know if it's not
i cannot find that file, i have only got 1 file named "iMoiveplugingAPI.framework"
There were once four people named Everybody, Somebody, Nobody and Anybody. Somebody had to do a job, but Nobody wanted to do it. Nobody could see that Anybody could do it, and Somebody got angry about that because it was Everybody's job. Nobody ended up doing it, and it so happened that Everybody blamed Somebody when Nobody did what Anybody could have done.
     
Mac Elite
Join Date: Jul 2002
Status: Offline
Reply With Quote
Jul 10, 2005, 12:43 AM
 
You're looking in the wrong directory. I think that's /Library/Frameworks, not /System/Library/Frameworks, since /System/Library/Frameworks contains the frameworks all OS X apps use and if it was empty, nothing would work.
     
maCCer  (op)
Dedicated MacNNer
Join Date: Aug 2004
Status: Offline
Reply With Quote
Jul 10, 2005, 12:52 AM
 
Originally Posted by Thinine
You're looking in the wrong directory. I think that's /Library/Frameworks, not /System/Library/Frameworks, since /System/Library/Frameworks contains the frameworks all OS X apps use and if it was empty, nothing would work.
i can only find 1 folder name framewroks in my Mac, and i have try spotlight as well, only 1 file named frameworks, and the file only contains the thing i have mentioned above
thx
There were once four people named Everybody, Somebody, Nobody and Anybody. Somebody had to do a job, but Nobody wanted to do it. Nobody could see that Anybody could do it, and Somebody got angry about that because it was Everybody's job. Nobody ended up doing it, and it so happened that Everybody blamed Somebody when Nobody did what Anybody could have done.
     
Mac Elite
Join Date: Sep 2000
Location: in front of the keyboard
Status: Offline
Reply With Quote
Jul 10, 2005, 01:57 AM
 
Spotlight does not list system files/folders by default.

It's quite simple.

In Netbeans, when you click on "add folder/jar" where I told you previously, it will bring up the typical Swing file chooser, which allows you to pick the root of the HD from the droplist. Then, click System then click Library and so on to find the file in the path I specified.
signatures are a waste of bandwidth
especially ones with political tripe in them.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 09:19 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2