The values of the minor_version and major_version items are the minor and major version numbers of this class file.Together, a major and a minor version number determine the version of the class file format. If a class file has major version number M and minor version number m, we denote the version of its class file format as M.m. Thus, class file format versions may be ordered lexicographically, for example, 1.5 < 2.0 < 2.1.
A Java virtual machine implementation can support a class file format of version v if and only if v lies in some contiguous range Mi.0 v Mj.m. Only Sun can specify what range of versions a Java virtual machine implementation conforming to a certain release level of the Java platform may support.
The Java virtual machine implementation of Sun's JDK release 1.0.2 supports class file format versions 45.0 through 45.3 inclusive. Sun's JDK releases 1.1.X can support class file formats of versions in the range 45.0 through 45.65535 inclusive. Implementations of version 1.2 of the Java 2 platform can support class file formats of versions in the range 45.0 through 46.0 inclusive.
- The Java Virtual Machine is an object-oriented execution environment for any language so long as it’s Java
- The .NET Platform is an object-oriented execution environment for any language so long as it isn’t Java
Can you run a program written with JDK1.1 on JRE1.4?
If you compile a .NET class, you can run it on a PC that uses MS Windows.
Originally posted by Thomas Paul:
That means no ASP.NET and no ADO.NET (at least not yet).
JAVA's mantra needs to change or JAVA will become a niche language. Thus, "write once, run everywhere" must give way to "1.Write once. 2a. Test everywhere 2b. Compile to native (if speed is an issue) 3. Deploy bytecode or executable as neccessary" Why do i say that ? Look at http://www.excelsior-usa.com/home.html for some exciting options.
The source code will be theoretically compatible if you use no .NET classes specific to Windows.
Only forum leaders or the person that posted this message may edit or delete the message of another member.
It's theoretically possible that they might change this policy in the future, but this would surely cause a lot of unhappy customers unless it were done for a very good reason, and I can't see how this would be in Sun's interest. Not worth worrying about, IMO.