Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

major and minor version of java class

 
chander shivdasani
Ranch Hand
Posts: 206
Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do we mean when we say Major and Minor version of java. I was browsing through one forum where i came across this term.
 
Campbell Ritchie
Sheriff
Pie
Posts: 50196
79
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There aren't minor versions for the most recent versions of Java. The major versions are Java 5 and Java 6. There might be minor versions again in the future.
In older versions, eg 1.4.2, the 1.4 was the major version and the 2 was the minor version.
 
Joanne Neal
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The major and minor version numbers of a java class are used to determine whether an implementation of a Java Virtual Machine can support a given class file. See section 4 of the JVM specification for details.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic