Where can I locate and browse JDK 7 source files? [closed] - java-7

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
Can anyone direct me to where the jdk 7 source is hosted?

The direct link is this.
If you wonder how this link is got, follow this link, except that select "jdk7/jdk7-gate/jdk" instead of "jdk6/jdk6-gate/jdk" for jdk 7 sources.

For Java source codes in JRE, this website is more useful than hgweb for OpenJDK7.
http://www.docjar.com/projects/openjdk-7-java.html

This is the repository for OpenJDK
As for Oracle's JDK7, there are binaries and docs, but no source to browse.

I find http://www.codatlas.com to be a very handy place to read java code. For example you will find open JDK7 source code here:
http://codatlas.com/github.com/lambdalab-mirror/jdk7u-jdk/master/
It's biggest advantage is that besides syntax highlighting as #Jakub mentioned in his answer, it also supports cross reference, which will makes the code browsing experience 10x easier.
It has bunch of other JVM based projects too (Apache Hadoop, ElasticSearch etc.). It also supports scripting language like ruby and python but the performance is not great at this moment.

You can find the source files here jdk7source
I was looking for it when I found this question and that is why I decided to add this answer, as none of the other answers have it, but there is no web interface for browsing.

There is JDK7 source code mirror on GitHub. Easier to browse, and with syntax highlighting.

I don't think that the source of the Sun JDK is openly available. Why not try the OpenJDK Mercurial repos
Hope that helps.

If you want to browse the source locally.
Then you can find the source in the jvm directory in the src.zip file.
for linux environments the file is located in /usr/lib/jvm/java-7-oracle

Related

Alternatives to SchemaSpy [closed]

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 6 years ago.
Improve this question
I am looking for a open source tool that can be used to generate ER diagram. Currently, this is done using SchemaSpy. Maven scripts are invoked during jenkins build to generate these data model diagrams. I have tried POCs using SchemaCrawler as well. However, the results are not much satisfactory. Would appreciate if I can get pointers to alternative tools that can be used along with the same setup (maven and jenkins).
If you would like to find out good alternatives to SchemaSpy try to use and test this tools:
SchemaCrawler
Red-Gate SQL Doc (not FOSS)
Dataedo (not FOSS)
SchemaSpy 6.0
Each of them has different advantages and disadvantages SchemaCawler is also open source java based and free. SchemaSpy 6.0 this is new version of SchemaSpy that has better look and feel plus fix some major issue.
Dataedo is very interesting tool that has also possibility to generate documentation to pdf, html. With Dataedo you can write comments of tables and columns and after apply them on your database. As I remember on supplier page you can find also free version.
The last solution that I want to recommend is Red-Gate SQL Doc. This is also generate nice looking documentation and has many options. But as usually this solution is not free you need pay to use it.

kcachegrind for windows [duplicate]

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
Is there any tool, other than KCacheGrind, being able to view callgrind results? Preferably for Windows platform?
I have compiled kcachegrind on windows using QT4.7, here is the binary bundle (including the dot utility to generate call graph):
http://sourceforge.net/projects/precompiledbin/files/kcachegrind.zip/download
Try WebGrind: https://github.com/jokkedk/webgrind
Runs on your local PHP server. Be careful, use XDebug profiling with the XDEBUG_PROFILE flag or otherwise you'll risk overwriting your profiling output when you open WebGrind (Since WebGrind is also a PHP web application). The WebGrind website also details other approaches to work around this. Cheers.
You can try WinCacheGrind.
It seems that WinCacheGrind cannot open output of callgrind. I have not tried opening output of cachegrind, but it should work, I guess.
From the Valkyrie page, (as of date) "Currently, Valkyrie supports Memcheck only, although work is in progress to handle Cachegrind and Massif."
alleyoop and valkyrie (broken link) are alternative front ends.
May have enough suport for what you want, you can use mingw to compile for Windows native if SUA does not work out of the box.
There's a new project called XCallGraph for viewing cachegrind files on Windows.
I have tried these:
QCacheGrind
KCachegrind
WinCacheGrind
XCallGraph
They're very similar but differ in details. I can recommend the QCacheGrind which is the most feature packed and has also a graphical representation, which can help to identify problems much faster.

How to work with a Mac on a OpenSource project? [closed]

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 really interested in participating as a new developer in an OpenSource project.
My Problem now is - what is the best way to participate with a Mac on an OSS Project? (Without using a Virtual Machine or DualBoot.)
As there is no usual apt-get system, what is the best way of working on such an existing project? Would you use Xcode or Eclipse or something else completely?
The setup for all those steps (Building, linking libraries etc.) has always been the part that never worked properly for me. Is there a tutorial which explains how to set the stuff up properly with these IDEs?
Thank you!
Fink is a package system for Mac, it gives you most of what apt-get does on a Linux system.
Xcode is the best choice, I think, irrespective of project
I can give you a very simple recipe.
Pick a Java open source project.
Install Eclipse on MacOS.
Go to work.
No libraries, no linking, no fuss, no muss, no bother.
If you want to work in C or C++, the question is going to be whether you are the only person. For a project that has already been ported to mac, you just do what the others are doing. You run 'configure', and all is well, and you use and editor to edit and gdb to debug.

Doxygen documentation for the Boost libraries? [closed]

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 5 years ago.
Improve this question
Is there doxygen documentation of the Boost libraries somewhere on the web?
I could create my own, but I think it should already exist somewhere on the web? Thanks!
There's a few sets of documentation.
The documentation for the current version of boost can be found on the web at the link below (with specific, older versions linked on the right-hand side).
http://www.boost.org/doc/libs/
If you're after a downloadable version of the HTML documentation, then it's also contained in the boost distribution which you can download from the website. Open up the index.html file in the libs directory in your favourite browser.
Personally, I'd quite like a CHM file of the whole lot, but it seems these must be manually generated (boost don't provide them) with Doxygen and hhc.exe on Windows (which I don't use), so would appreciate any info on getting up-to-date CHMs of boost documentation.
I generated some Doxygen output from Boost a while back. It is hosted here:
http://charette.no-ip.com:81/programming/doxygen/boost/doxygen_notes.html
The definitive Boost documentation are the docs available at boost.org. They tend to be quite good for most libraries.
What specific library is it that the docs are not sufficient for?
The Boost libraries have quite a bit of template code and preprocessor macros. Doxygen does not understand templates or macros very well. I would stick to the standard boost documentation.
Though not doxygen based you may find the following site useful.
Boost Graph library (v1.42) online browsable LXR source code available here.
You can jump from definition to usage and vice-versa.
To browse other boost components like bind, type_traits etc just navigate down the main site

Windows Callgrind results browser, alternative to KCacheGrind [closed]

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
Is there any tool, other than KCacheGrind, being able to view callgrind results? Preferably for Windows platform?
I have compiled kcachegrind on windows using QT4.7, here is the binary bundle (including the dot utility to generate call graph):
http://sourceforge.net/projects/precompiledbin/files/kcachegrind.zip/download
Try WebGrind: https://github.com/jokkedk/webgrind
Runs on your local PHP server. Be careful, use XDebug profiling with the XDEBUG_PROFILE flag or otherwise you'll risk overwriting your profiling output when you open WebGrind (Since WebGrind is also a PHP web application). The WebGrind website also details other approaches to work around this. Cheers.
You can try WinCacheGrind.
It seems that WinCacheGrind cannot open output of callgrind. I have not tried opening output of cachegrind, but it should work, I guess.
From the Valkyrie page, (as of date) "Currently, Valkyrie supports Memcheck only, although work is in progress to handle Cachegrind and Massif."
alleyoop and valkyrie (broken link) are alternative front ends.
May have enough suport for what you want, you can use mingw to compile for Windows native if SUA does not work out of the box.
There's a new project called XCallGraph for viewing cachegrind files on Windows.
I have tried these:
QCacheGrind
KCachegrind
WinCacheGrind
XCallGraph
They're very similar but differ in details. I can recommend the QCacheGrind which is the most feature packed and has also a graphical representation, which can help to identify problems much faster.

Resources