Re: [Java Spec Report] javac -source 1.5 @ mac
Neal Gafter <[email protected]> Sat, 06 Mar 2004 21:10:50 -0800
| Newsgroups | gmane.comp.java.spec-report |
|---|---|
| Message-ID | <[email protected]> |
Pat LaVarre wrote: > We cannot easily grant the natural wish to try javac -source 1.5 in Mac OS X. Although the > javac, "written once", runs as a .class compiled from .java, those .class files actually vary > slightly by system, and do not "run anywhere". > > True or false or irredeemably wrong-headed? javac is system-independent. The class files for javac in tools.jar shipped with Tiger will run on any Tiger VM (they were compiled with -target 1.5). The jsr14 prototype is derived from the same sources and can be run on any 1.4.2 VM. The 1.5 class file format is not the same as the 1.4 class file format with the version number incremented, so decrementing the version number is likely to result in ill-formed class files. To unsubscribe from this mailing list, send an email to: [email protected] Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/java-spec-report/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/