permaculture playing cards
The moose likes Beginning Java and the fly likes major and minor version of java class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "major and minor version of java class" Watch "major and minor version of java class" New topic

major and minor version of java class

chander shivdasani
Ranch Hand

Joined: Oct 09, 2007
Posts: 206

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.

Enjoy, Chander
SCJP 5, Oracle Certified PL/SQL Developer
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 46375
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

Joined: Aug 05, 2005
Posts: 3742
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.

I agree. Here's the link:
subject: major and minor version of java class
It's not a secret anymore!