• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java version

 
Ranch Hand
Posts: 355
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Marshal
Posts: 79179
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Bartender
Posts: 689
17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 411
5
IntelliJ IDE Java Linux
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
See Oracle's documentation: Java Platform, Standard Edition 8 Names and Versions
 
Paul Ngom
Ranch Hand
Posts: 355
1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank you all. Things are now clear.
Regards
 
Campbell Ritchie
Marshal
Posts: 79179
377
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You're welcome

Nobody has ever thought the Java version numbering system was clear before
reply
    Bookmark Topic Watch Topic
  • New Topic