I have downloaded this exe and installed it on my machine running windows 2000, it is intalling it under c:\Program Files\Java dir instead of under c:\jdk1_4_1_0, will my progrms work in the existing situation and do i need to set the JAVA_HOME path c:\Program Files\Java. I am unable to run my programs in TextPad may be because it is searching for java runtime under c:\jdk1_4_1_0 dir.
You downloaded the Java Runtime Environment (JRE). Not the Java Development Kit (JDK). The JRE only allows you to execute JAVA programs. Not compile them. I think you need to download the JDK. The JDK also contains the JRE along with it but allows you to develop JAVA applications as well as execute them. TetPad is looking for the JDK path.