Which JRE is being used?

Recently I was assigned to take care of a web application developed by JSP, Javascript, struts & EJB. The source codes are compiled into different WAR, JAR and EAR files by using JDK 1.4.2_03. The App Server being used is JBOSS 3.2.3. I hava a lot of questions concerning the application in my mind. Here are some of them, Can anyone please help:

(1) From the Java Forums, I know that java applications need JRE to run. But I don't see the web application force me to install any JRE when I try to access it via IE6. Why?

(2) Is there any way (e.g. bat script) that I can know which JRE the web application is using? Can you provide me with some code samples?

(3) I read an artricle somewhere saying that JRE can be bundled to a web application. How can I now whether the JRE 1.4.2_03 is being bundle with my web application?

(4) Since the application is compiled by JDK 1.4.2_03, is this a must to use the JRE 1.4.2_03 only?

Thanks

[975 byte] By [plasticErasera] at [2007-10-2 18:03:54]
# 1

Hi,

All Java compatible web/application servers like Tomcat/Weblogic/Websphere/JBoss ......have build-in JRE. That u dont need to care. You can find the version of jvm ....from the servers's Readme files and and the corresponding documents.

If your java application works fine with the web/app server means, the JRE is already installed.

Bye

Kannan-Ta at 2007-7-13 19:23:06 > top of Java-index,Desktop,Runtime Environment...