Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

major and minor version of java class  RSS feed

 
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
Marshal
Posts: 54882
155
  • 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.
 
Acetylsalicylic acid is aspirin. This could be handy too:
Thoughts on deprecation in Java
https://coderanch.com/t/683016/java/Deprecation-Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!