Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Where can I find the source code of the Java API?
Install the JDK. The sources for the public classes are packaged in src.zip.
OpenJDK code: Browse here
For example, if you looking for AWTUtilities.java, go here in the above link:
src› share› classes› com› sun› awt› AWTUtilities.java
OpenJDK project homepage where they have all the instructions of downloading and building it
OpenJDK Mercurial Repo hosted here
JDK Documentation here
You can also find them online at http://www.docjar.org/.
I'm not sure what you mean, but here is the API documentation
Source for OpenJDK implementation
Presumably you mean the core libraries?
http://openjdk.java.net/groups/core-libs/
You might this alternative useful too:
http://www.gnu.org/software/classpath/
If you only need to look up some classes, the following page is also a good source:
http://grepcode.com
It works for different versions of various libraries.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I need to use a particular version of the oracle's JDK: 1.8.0_45.
However, I've been clicking around their website for far too long and just can't seem to find it.
I can find a download page for the most recent release (8u60 or whatever) and I can find the release notes for the release I need to use but I just can't find a link for the 1.8.0_45 release.
Do Oracle not host their old JDKs? Where can I download them that is reliable and secure?
I believe you're looking for the Java Archive Downloads - Java SE 8. For other vesions you can browse through the rest of the Java Archive.
You are looking for the Oracle archive. http://www.oracle.com/technetwork/java/archive-139210.html
In the past you had to login with Oracle credentials. But you can register there for free.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Per the title, where is the source code for the native java.lang.math methods JDK 7?
Please don't point me to Where to find source code for java.lang native methods? this only answers for JDK 6.
Oracle no longer appears to provide source for native methods at all.
I looked in http://hg.openjdk.java.net/jdk7/hotspot/hotspot but there are thousands and thousands of files with no obvious relationship to the package structure of the Java core so I cannot see any way to find the java.lang.Math methods.
The Oracle-recommended reference implementation at OpenJDK has the native math methods in the following folder location:
jdk1.6\src\jdk\src\share\native\java\lang\fdlibm\src\*.c
You can start the browsing from StrictMath.c
For example, asin (redefined as jasin) is in e_asin.c
If just research, you can use OPENJDK7&8 instead.
you can download from OpenJDK Project.
you can attach to eclipse.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I need to write an application that will export some data from a LDAP server and store it in a MySQL DB. Is there a suitable Java library for that?
All I've found so far is jLDAP being mentioned in one of SO questions, but the site I found offers two binaries of jldap: one for Windows and one for Unix, not a single jar file as I expected.
Will be grateful for any hints towards exporting LDAP data with Java.
The UnboundID LDAP SDK for Java is free, open source, feature-rich, actively developed, and does not have any external dependencies.
Take a look at Apache Directory Client API.
You can also try Novell LDAP java libraries
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I recently found this which is great as its the API but it doesn't seem to allow me to search
http://docs.oracle.com/javase/7/docs/api/
I am coming from a .NET background so need to be able to search the API.
I guess you are looking for something like this:KiwiDoc - A fresh way to browse and search javadoc
Auto-completion rocks!
For searching in the class/package names and within classes I can highly recommend the javadoc-search-frame. It's available for Google Chrome as an Extension and for all browsers that can run userscripts.
It provides a pretty useful quick-search functionality.
For a full-text search, I'd use Google as well.
Just use google
http://www.google.ee/search?q=RuntimeException+site%3Ahttp%3A%2F%2Fdownload.oracle.com%2Fjavase%2F6%2Fdocs%2Fapi
Use DMelt search
http://jwork.org/dmelt/search/
It searches words in the complete Java JDK 9, plus in 40,000 classes of external community Java packages
Just use CTRL+F in your browser.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for the source code of Sun's standard java compiler, javac.
jdk1.6.0_07 has a few classes that are related, but they are interfaces
(java.lang.Compiler and javax.tools.JavaCompiler). There's also some packages under com.sun.mirror.* and com.sun.source.*, which seem to be interfaces for representing the java abstract syntax tree.
But I can't find the compiler source - anyone know where it is?
Check this site The Java programming-language compiler (javac) group. The sources are in the Mercurial repositories.
jdk7/tl/langtools (for JDK 1.7)
jdk6/jdk6/langtools (for JDK 1.6)
In the header of the two sites I linked to you find download links for the sources (in bz2, zip and gz format)
There you have the sources in src\share\classes\com\sun\tools\javac\
It's here