You can get the java version from the system properties



Properties p = new Properties();
p = System.getProperties();
String ver = p.getProperty("java.version");


David



-----Original Message-----
From: Koshy Asish [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 23, 2000 1:40 PM
To: [EMAIL PROTECTED]
Subject: jdk version from servlet


Dear all,

How can we get to know the Java(jdk) version from a servlet?

Thanks in advance

Asish

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to