Link to home
Start Free TrialLog in
Avatar of wallway
wallway

asked on

Compiling in Java 5 but targeting Java 1.4

If I write code with Java 5 specific features, will Javac -target 1.4 allow then code to run in a Java 1.4 VM or will it not work because of the Java 5 specific features used in the code?

Thanks
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Haven't you asked this already?
(It won't run)
Avatar of wallway
wallway

ASKER

I just want to give you more points :) I just want to make sure without actually trying it.
ASKER CERTIFIED SOLUTION
Avatar of CEHJ
CEHJ
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
:-)