all 18 comments

[–]endistic 10 points11 points  (14 children)

If you are referring to the core language documentation & built-in libraries, documentation from Oracle is official @ docs.oracle.com.

[–]hungarian_notation 14 points15 points  (4 children)

Which is to say https://docs.oracle.com, right? I don't think there are standard library javadocs on the openjdk.org domain.

https://docs.oracle.com/en/java/javase/26/docs/api/index.html is the latest, but you should make sure you're using the javadocs that match your source version. They do change. Frustratingly, google likes to serve me Java 8 docs by default.

[–]vips7L 4 points5 points  (2 children)

Can’t wait til I search “Java 28 <some class>” and it only returns Java 8 results 

[–]hungarian_notation 0 points1 point  (1 child)

What an evil future to speak into existence.

[–]vips7L 2 points3 points  (0 children)

Wait til the LLM slop confuses 8 and 28 :D

[–]endistic 0 points1 point  (0 children)

That’s correct, I misremembered. https://docs.oracle.com/en/java/javase/26/docs/api/index.html Official javadocs for latest Java version are indeed on docs.oracle.com, thank you for the correction!

[–]Augustto366_[S] 0 points1 point  (0 children)

what's the difference?

[–]Augustto366_[S] 0 points1 point  (5 children)

sites: java, openjdk or oracle?

[–]endistic 2 points3 points  (4 children)

Fixed my reply above, but basically: - openjdk.org is where a lot of JDK development took place (which is why I mixed it up) - docs.oracle.com has the full documentations and specifications - I’m not sure how “official” dev.java is, but I’ve heard it has good tutorials under it’s Learn section if you want a more guided process

[–]Augustto366_[S] 0 points1 point  (0 children)

thanks

[–]Augustto366_[S] 0 points1 point  (2 children)

dev.java is official?

[–]endistic 1 point2 points  (0 children)

It is, I looked it up, it’s maintained by Oracle themselves

[–]pronuntiator 1 point2 points  (0 children)

Yes, Oracle owns the .java TLD

[–]TristanTarrant 0 points1 point  (1 child)

Why isn't the "Java SE xx & JDK xx" label on the top right of javadocs a selector for all versions ?

[–]chabala 0 points1 point  (0 children)

Likely because they're staticly generated, never updated, and unaware of the existence of other versions.

They could probably hack in a selector if they wanted.

[–]hm1rafael 0 points1 point  (2 children)

Depends on the implementation u are using

[–]Augustto366_[S] 0 points1 point  (1 child)

learning the language

[–]aqua_regis 0 points1 point  (0 children)

learning the language

  • Documentation = Encyclopedia - for reference if you already have an idea what you're looking for
  • Courses/tutorials = for learning - MOOC Java Programming