Originally posted by raka sinha:
Please help me out as all the latest version of IDE supports either jre 1.5 or 1.4
That's no problem. Install both JDK 1.3 and JDK 6 on your machine, and your IDE (for example Eclipse 3.3).
Then start up Eclipse, and go to Window / Preferences, and select
Java / Installed JREs in the tree on the left. Click the "Add..." button to add your JDK 1.3 installation.
Follow Campbell's instructions to set your project to Java 1.3.
After that, when you run a program, you can choose to run it with JDK 1.3.