Results 1 to 6 of 6
Thread: Java API source
- 04-07-2009, 01:49 AM #1
Java API source
When I'm using the Java API I like to be able to go to the source files to see how the classes were implemented. For some reason netbeans 6.5 on linux isn't linked to a jar file which contains the source code. Where can I find such a file link netbeans to it. I've tried searching sun's site, but to no avail.
Thanks,
Joseph
- 04-07-2009, 09:04 PM #2
Look in your jdk folder for src.zip. This can be added to NetBeans favorites.
db
- 04-08-2009, 03:15 AM #3
I figured out the problem was that I needed to install the java source package in ubuntu. I had looked in the jdk folder, however the src.zip archive wasn't there prior to the installation of the source package. After I installed that I linked Netbeans to it and all was fine.
Thanks for your help,
Beans
- 04-08-2009, 05:26 AM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
I think that NetBeans not automatically linked API in installation. You have to do it manually. It happen for me when I'm installing NetBeans 5.5.
- 04-09-2009, 11:12 PM #5
I installed netbeans 6.5. I think it tried to link to the api (and successfully linked to the jdk jar files). However, I didn't have the src.zip in the file so Netbeans would not have been able to correctly link to the source (since it wasn't there). I'm sure if I had the java-6-sun-src (something like that) package installed before I installed Netbeans, it would have linked to it.
- 04-10-2009, 04:02 AM #6
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Quite misguide earlier on my post, sorry about that. Actually the JDK source files are automatically linked with the NetBeans 6.5, but not the API documentation.
On the installation, you prompt for an option to select the Java installation folder in your system.
Similar Threads
-
Open Source Java API for OCR
By SSam Varghese in forum Advanced JavaReplies: 1Last Post: 02-26-2009, 04:24 PM -
Same source file but different source folders for different build configurations?
By m3anman in forum EclipseReplies: 0Last Post: 01-29-2009, 10:43 AM -
Can we Obtain Java Source Code?
By tornado in forum New To JavaReplies: 7Last Post: 12-10-2008, 07:23 PM -
MavenJava - browse source code of all open source projects online
By jirkacelak in forum Java SoftwareReplies: 1Last Post: 11-28-2008, 06:27 PM -
A Java reference source for a quick look
By tapies in forum New To JavaReplies: 6Last Post: 10-03-2008, 06:01 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks