compatibility - JDK 1.6 compatible with JDK 1.5? -
Having a consistent issue, my project develops in JDK 1.6, but when I have to post it on the host domain, there is an issue where the host domain used JDK 1.5, how do I make my project with JDK 1.5 Can i be compatible Thank you in advance
You must basically set the -target
attribute. Also see also in Jawaq's document javac /?
. See also
javac-target 1.5 [...]
/ P>
Updates : With the comments you are using using Eclipse, you can change compiler compliance level based on per-project. rightclick project> properties> java compiler> compiler compliance level> 1.5 . .
You can download JDK 1.5 From