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 . .

alt text

You can download JDK 1.5 From


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -