jdk 1.5.0 : javac : -target option?! Only 1.5 bytecode version is supported

Hi,What has hapend to javac in jdk 1.5? It is able to compile just 1.5 bytecode version. You'll get "javac: target release 1.x conflicts with default source release 1.5" (where x < 5) message otherwise. No source is compiled. ?!
[253 byte] By [hworost] at [2007-9-30 23:30:34]
# 1
There is also a -source option which defaults (in the final release) to 5.You have to set that also, as version 5 source isn't compatible with any earlier version.
ChuckBing at 2007-7-7 14:33:38 > top of Java-index,Administration Tools,Sun Connection...
# 2
Thank you
hworost at 2007-7-7 14:33:38 > top of Java-index,Administration Tools,Sun Connection...
# 3

If you are using the -source and -target flags with javac, most likely you should also be setting -bootclasspath.

Read the javac man page for your platform (Unix or Windows), available here:

http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html#basic

Search for "Cross-Compilation Example"

timbell at 2007-7-7 14:33:38 > top of Java-index,Administration Tools,Sun Connection...