File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Sun Java 1.5.0_15 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Sun Java 1.5.0_15" Watch "Sun Java 1.5.0_15" New topic

Sun Java 1.5.0_15

chut tong

Joined: Jan 03, 2010
Posts: 1
Hi all,

Can some1 explain to me what Sun Java 1.5.0_15 is? Like is it JDK 5.0 or something else?

Thank you
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

It can be a JRE or a JDK. JRE are used to run java programs and JDK are used for java development.
The 1.5 part means it is java 5 and the 0_15 part means it's update 15. It is old and it is better to use
java 6 because java 5 has reached it's EOSL (End of Service Life).

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
Rob Spoor

Joined: Oct 27, 2005
Posts: 20279

Wouter Oet wrote:The 1.5 part means it is java 5 and the 0_15 part means it's update 15.

Almost. The internal Sun version is 1.5.0 which means Java 5.0 (with the .0 added - they only dropped this in Java 6). The _15 means update 15, so without the 0.

As well as dropping the .0 in the Java version, they also dropped using the internal number for Java 6 releases. So instead of 1.5.0_15 you will now see 6u17 - Java 6 update 17.

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: Sun Java 1.5.0_15
It's not a secret anymore!