I want to know how to install java i.e. in order to run java programs what are all the necesssary packages required...
in the same context I would want to install java on windows(XP) as well as on linux (ubuntu) systems,
and also can I be able to install different versions of java 5, 6, 7 on the same OS?
PS: kindly provide a link to get the java package (required to install) (5, 6, 7) versions.
It is very much possible to install multiple versions of java in one OS. You will have to point to the right Java version when you run java programs.i.e The version you need.
If you are looking at Sun jdk the link for installables is http://www.oracle.com/technetwork/java/archive-139210.html
You can definitely install and use multiple versions of JDK on a single machine/OS. Just install the JDKs into different folders and then change the version when compiling your programs. If you want to test your code using different Java versions, you can create .bat files with various versions and then just execute one of those .bat files before using a particular version. For example, a .bat file for JDK 1.6 might look something like this:
You can name the file as jdk6.bat and then only execute this file before testing your program. You can do the same for other JDK versions.
Developer Evangelist @ Aspose. I love to explore and learn new technologies and help other developers along the way.