My web server runs Java 1.5, so I'm getting an exception because I am using JDK 1.6 to compile my classes. Running two different versions of the JDK is just confusing me. I can't work out if it's even possible. I read that I can compile using the following:
Can anyone confirm for me that this will produce the same class file as if I had been compiling with the JDK 1.5? I just want to make sure that I have everything right before I try to put things up on the web again.