Rajesh Kumar <email@hidden> wrote:
>what u r saying is that if i compile the code in jdk1.3 with the
>-target as 1.1.1 it will work...
Please see 'man javac'. The option is '-target 1.1', not '-target 1.1.1'.
All '-target' really does is change the class-file version-number produced
by the compiler. Compiling against the correct classes for a target Java
version is a different option.
When you read the man page for javac, it has a section on what it calls
cross-compiling, which means targeting different versions of Java. You
usually have to use an option to set the compiler's bootclasspath,
otherwise you won't be compiling against the correct set of core Java
classes. The classes to compile against are simply the MRJ Classes
jar-files installed in the OS 9 System Folder, under Extensions.
-- GG
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden
This email sent to email@hidden