The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

import-bot (20211) [Avatar] Offline
[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.