Daniel John Debrunner <[EMAIL PROTECTED]> writes: > Never mind: > >> $JAVA_HOME/bin/javac -target 1.4 -source 1.5 > javac: source release 1.5 requires target release 1.5
It seems -target jsr14 is not officially supported for the Sun JDK, at least it is not listed in the javac documentation as a valid target: http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/javac.html#options (quote): The versions supported by javac are: 1.1 Generate class files that will run on VMs in JDK 1.1 and later. 1.2 Generate class files that will run on VMs in JDK 1.2 and later, but will not run on 1.1 VMs. 1.3 Generate class files that will run on VMs in JDK 1.3 and later, but will not run on 1.1 or 1.2 VMs. 1.4 Generate class files that will run on VMs in JDK 1.4 and later, but will not run on 1.1, 1.2 or 1.3 VMs. 1.5 Generate class files that are compatible only with JDK 5 VMs. 5 Synonym for 1.5 Dag
