[Originally posted by bbrauer] As of the writing of this message, The JDK from Sun latest version 1.4 generates class files for version 1.2 of the Virtual Machine. However, the PreVerify utility is expecting version 1.1 class files (isn't this the fun part of programming?). So, if you want the preverify utility to work under this environment, you must compile the Hello World tutorial app in section 4.2.3 with the following command: >javac -target 1.1 -g:none -bootclasspath.... etc.. The -target option causes 1.1 classes to be generated rather than 1.2, allowing preverify to work properly.
|