I want to know where are the java API's stored. I use openJDK 7. I want to edit some of the code of a class to suit my needs and therefore I want to know where are these API's stored. Can anyone please answer this question?
To get the source code, run (as a regular user, not root)
It will download the source tree used to generate all the openjdk-7 packages. It downloads it to your current directory, so you may want to run something like
The compressed archive
You might need to enable source code repositories: