How to search the javase 6 API

I’m looking for a site that I can search the latest Java API with. I
would have thought this is provided by Sun, but I can’t seem to
find it.

I usually just google for what I want i.e. ‘java polygon’ to find the
java.awt.Polygon API page. But this seems to mostly bring back
pages in the 1.4.* version of the API, as I guess its the most linked
to on the web.

If I just wanted to find stuff in the javase 6 API, whats the best way
of doing that?

Thanks,
Stephen

I use some bot called suzy for that. The bot is over at freenode (as suzy) and over at qnet (as suzy-chan).

The trigger is !api at qnet and ~api at freenode (more specific triggers are class, method and field). It’s ultra quick and it also supports the ‘*’ wildcard.

[Freenet and qnet refer to irc networks.]

Just replace the “j2se/1.4.2” with “javase/6” to get the Java 6 version. :slight_smile:

Or add the number 6 to your search :slight_smile:

You can view them here: http://java.sun.com/javase/reference/api.jsp

or you can download it here: http://java.sun.com/javase/downloads/index.jsp

I always download them and keep them on my machine. I want instant access to them all the time and sometimes you don’t get that trying to view them online.

I download the windows help file versions, that give you built-in search and better navigation with faster loadtimes. Used to be maintained by someone for free, not checked if he still does java 6 versions (no idea why sun never did this themselves. Shrug).

Do you mean these or different ones?

http://www.allimant.org/javadoc/index.php
(I use the links on the right side as the left do not seem to work for me)

Yep, thats the ones.

Thanks everyone. keldon85’s solution of adding a 6 to my google query is the simplest and best. (Don’t know why I didn’t think of that :))

Happy API searching everyone!

…now ‘google java 6 bufferedimage’ …sweet

Sounds like whoever wrote that doesn’t use an IDE for development :-[

I can think of many realy good reasons why having the api as a indexed searchable help file, but the above isn’t one of them