• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java version  RSS feed

 
Paul Ngom
Ranch Hand
Posts: 355
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
My question might seem banal but i need somebody to enlighten me about the subject so that i get right for good.
When i ran java -version in a terminal on my computer i have displayed java version "1.8.0". But i read people writing java 8 as the current version. So, i am confused. Which way to go? What is the correct answer as to the version: java 1.8.0 or java 8?
Kind regards
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37513
554
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
People talk about it as Java 8 regardless of the version number from the command. This has been true for a number of versions of Java.
 
Campbell Ritchie
Marshal
Posts: 56595
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Both. The nomenclature of Java® versions is confusing at best. After Java 1.4.2 they started calling Java by short numbers like Java5 while keeping the long version number 1.5.0_20 where 20 is the update number.
 
Paul Ngom
Ranch Hand
Posts: 355
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jeanne and Campbell, i thank you for your quick replies.
People talk about it as Java 8 regardless of the version number from the command.

Both

Somehow confused by your 2 answers but i think i get them.
 
Mike. J. Thompson
Bartender
Posts: 689
17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The '1.' bit has never changed yet, so to shorten things they just use the bit that does change. The latest java version is java 1.8, but it is called java 8 for short.
 
Rico Felix
Ranch Hand
Posts: 411
5
IntelliJ IDE Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've read somewhere which I can't recall at the moment that one number scheme is used for marketing purposes while the other is to describe the development version of the product.

Marketing Number Scheme: Java® 8
Development Version Number Scheme: java 1.8.0_05
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
 
Paul Ngom
Ranch Hand
Posts: 355
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you all. Things are now clear.
Regards
 
Campbell Ritchie
Marshal
Posts: 56595
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You're welcome

Nobody has ever thought the Java version numbering system was clear before
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!