Hi! >> PS Sanjay, you can find out what version a given class was compiled if >> you look at the unsigned short integers starting at byte offset 4, >> right after 0xCAFEBABE in every class file. See this Javaworld article >> for more details, page 2: >> http://www.javaworld.com/javaqa/2003-05/02-qa-0523-version.html >> > > An easier way to find the classfile version is to run > > javap -classpath {jarfile} -verbose {classname} > > eg > javap -verbose java.lang.String > If you are luck and work on an linux box you can also try "file"
eg # file UserRoleAware.class UserRoleAware.class: compiled Java class data, version 45.3 :-) Ciao, Mario --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
