I have latest JDK 1.6 installed on my computer. Is there some way I can compile a program with Java 1.5 without removing my 1.6 installation for the new installation?
I searched a bit online and I couldn’t find much information.
I think I might download 1.5 from the website and compile it using it’s path to javac…
Are there any suggestions on what I should do?
Won’t
javac -target 1.5 -source 1.5be enough?