Display current Java Version |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
z390 and zcobol require
J2SE 1.6+ runtime as the only pre-requisite. The yellow box to the right should display the current installed version of J2SE java runtime. See test results. If you do not have J2SE 1.6 or later, you can download and install it from J2SE. Refresh this page to verify install. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Overview of this Java Version Display web page This webpage has been designed to try and run successfully on all platforms with all browsers. If your browser reports an error on the z390 java version display web page or says neither HTML V3 APPLET or HTML V4 OBJECT are supported, please check your browser preferences to make sure you have execution of Java Applets enabled and that the J2SE java browser plugin is enabled. If you have a browser that reports an error or does not function as you think it should, please send screen capture of the error and a list or your operating system, browser, and J2SE versions. See test results below. If you do not have a J2SE 1.6+ runtime installed, you can download and install the latest J2SE 1.6+ version. You can verify that the install was successful and than the associated browser plugin is working using this J2SE verification website. Thanks to Michael Horowitz author of Java Tester website which is where I started research on how to develop this page. The initial version used JavaScript to test which browser release was running, to decide whether an HTML V3 APPLET or HTML V4 OBJECT should be used to launch the Java program to display the current J2SE Java version installed. However, when I discovered that IE8 on XP uses HTML V3 APPLET and IE8 on Vista uses HTML V4 OBJECT, I decided to abandon that approach in favor of trying both and reporting if either failed to be recognized by browser. After installing old J2SE 1.5.0_12 on my Windows XP system to compile the Java Applet source code so it would be compatible with 1.5 as well as 1.6, I discovered that I can use the java javac options -target and -source to compile the Java Applet on 1.6 and make it compatible with 1.4+ so it should work on any system with J2SE 1.4+ installed. Both the Java applet source program javaver.java and the compiled java jjavaver.class files are in the www.z390.org/java directory. I have tested this website on Windows XP and Windows Vista with IE7 and IE8 browsers. I have also tested Ubuntu Linux 8.04 LTS and Windows Vista using both Firefox 3.0.14 and Google Chrome 3.0.195.21 browsers. I would like to hear test results from users of different operating systems, browsers, and J2SE versions. Please send screen capture of your display along with which versions you have to Don Higgins, and I'll add then to this list of test results. If you want to see what version of J2SE is installed on your system without using web browser, you can go to command prompt and enter the command: java -version. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Test results for different operating systems, J2SE versions, and browsers
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
HTML Source Code for Java Version Display The following HTML source code for table cell can be used in any HTML table to display the installed version of J2SE Java Runtime using both HTML V3 APPLET and HTML V4 OBJECT assuming one or the other will be supported by browser (Note IE7 on XP supports both): |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
J2SE Java source code for Applet The following command using J2SE 1.6.0_16 on Windows was used to compile the following source javaver.java into java.class which is compatible with any J2SE 1.4+ Java runtime: "c:\program files\Java\jdk1.6.0_16\bin\javac.exe" -g:none -target 1.4 -source 1.4 javaver.java The javaver.java source code for applet is: import java.applet.*; |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This page last updated
Saturday October 17, 2009.
Webmaster |