class - How to customize ant to compile Java classes with different target JDK versions? -


i'm building regular java application in netbeans.

suppose want compile main class "javac -target 1.1 main.java" , other classes latest jdk version. how do this? can edit build.xml file make happen?

i application can started using java version , can notify user have update java if not using latest jre.

reformulation of problem: want netbeans compiles main.java target 1.1 , rest of project files latest jdk single jar when hit build button.


Comments

Popular posts from this blog

ios - iPhone/iPad different view orientations in different views , and apple approval process -

java Extracting Zip file -

C# WinForm - loading screen -