sciuriware
asked on
Deploying JAVA 5.0, targeting 1.4 or 1.3
Hi, as the bytecode didn't change from 1.3 to 1.5, I would assume that I could prepare some .class files
by 5 and run them somewhere on 1.3 or 1.4 (IF ONLY NOT USING API INTRUDUCED SINCE).
When I target an older version in javac I seem to produce other format of .class files? Is the above assumption wrong then?
Before you advise me so: it's no longer possible to compile those sources on 1.3 as you start to write generics.
Any experience with this kind of problems?
Note: many customers demand 1.3 because of product restrictions (BEA) or compliancy (J2EE).
;JOOP!
by 5 and run them somewhere on 1.3 or 1.4 (IF ONLY NOT USING API INTRUDUCED SINCE).
When I target an older version in javac I seem to produce other format of .class files? Is the above assumption wrong then?
Before you advise me so: it's no longer possible to compile those sources on 1.3 as you start to write generics.
Any experience with this kind of problems?
Note: many customers demand 1.3 because of product restrictions (BEA) or compliancy (J2EE).
;JOOP!
you need to use the "-target 1.3" option when compiling.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
:) I add it this time myself.
;JOOP!
;JOOP!