When I installed JDK it is installed in c:\jdk1.3.1
while the JRE is installed in c:\program files
Inside c:\jdk1.4 folder there is also a \jre\lib\ext folder.
What is the difference between c:\jdk1.3.1\jre\lib\ext and c:\program files\jre\jdk1.3.1\lib\ext ?
What are the purposese of each?
The difference is that a JDK is the java developers kit and includes tools for compiling java. A JDK will always include a JRE, which is a java runtime environment and only allows one to run java binaries.