Automatic detection of installed version of Java WebStart

Hi,
1) In my html file I detect if Java webStart is installed on the client machine
2) Is there a way to determine which version of Java webstart is installed?
eg: Let's say the client machine has Java WebStart 1.0.1.01 installed and Java webStart 1.0.2.01 is available and supported, is there a way to prompt the client to upgarde to the latest version of WebStart.
Is there a JavaScript or VBScript to detect installed version of Java WebStart?
Thanks

here is the detecting...
<SCRIPT LANGUAGE="JavaScript">
var javawsInstalled = 0;
var javaws12Installed = 0;
var javaws142Installed=0;
isIE = "false";
if (navigator.mimeTypes && navigator.mimeTypes.length) {
x = navigator.mimeTypes['application/x-java-jnlp-file'];
if (x) {
javawsInstalled = 1;
javaws12Installed=1;
javaws142Installed=1;
} else {
isIE = "true";
</SCRIPT>
<SCRIPT LANGUAGE="VBScript">
on error resume next
If isIE = "true" Then
If Not(IsObject(CreateObject("JavaWebStart.isInstalled"))) Then
javawsInstalled = 0
Else
javawsInstalled = 1
End If
If Not(IsObject(CreateObject("JavaWebStart.isInstalled.1.4.2.0"))) Then
javaws142Installed = 0
Else
javaws142Installed = 1
End If
End If
</SCRIPT>
and in the next page this is autdownload (for IE only)
<OBJECT CODEBASE="http://java.sun.com/products/plugin/autodl/jinstall-1_4_2-windows-i586.cab"
CLASSID="clsid:CAFEEFAC-0014-0002-0000-ABCDEFFEDCBA" HEIGHT="0" WIDTH="0">
<PARAM NAME="app" VALUE="/theapp.jnlp">
<PARAM NAME="back" VALUE="true">
<!-- Alternate HTML for browsers which cannot instantiate the object -->
<br>
<img src="get_java_blue-button.gif" width="88" height="31" border="0">
</OBJECT>

Similar Messages

  • Check Installed Version of Java / Apache / Tomcat

    Hi,
    I have recently installed Solaris 10 Update 4 on a T2000 and need to confirm exactly which version of Java / Apache / Tomcat Solaris 10 installs by default. This will ebetually become a Web Server for our developers but I need to check this before doing any further work.

    * java -version
    * there's a version number in the realease notes in the root directory of your tomcat server.
    What do mean Apache / Tomcat? Do you mean Apache Tomcat, or are you using both there servers, if you don't know what I mean the answer is "No, just tomcat".

  • Different versions of Java webstart and Java Runtime Environment

    Hi I am using a thin application client (swings application) which is downloaded as a jar file using Java Web Start. The earlier version of the application was deployed on the server and client using the version 1.5.0_09. Due to some performance measures we are changing the Client version of JRE to 1.6.0_03. Will this really help??
    The approach we are following is bit confusing.
    First we are launching the application in JRE 1.5.0_09 and creating a shortcut for that (WebStart shortcut). Later we are changing the Java Web Start version from 1.5.0_09 to 1.6.0_03 in the shortcut.
    And of course also changing the JNLP j2se version tag to 1.6
    The application we are launching using this shortcut but its throwing FailedDownloadException : Unable to Load Resource hxxp://ascdcf.....*.jnlp
    The funny thing is when i launched the same shortcut using the 1.5.0_09 version i.e. only the WebStart version as 1.5.0_09 and the JRE on client as 1.6.0_03 the application starts.
    I searched about this and came to know that webstart just deploys the application jar on the client in a browser independent form and then it is run on JRE. If thats the case (and if i am right) then Webstart version can be anything only the JRE version should be the latest as specified in the JNLP. Can anyone give me suggestions in this regard???
    Also if this approach is correct where will we get more performance???
    1. Is it running application on updated JRE Version i.e. 1.6.0_03
    2. Or on updating Java Web Start i.e. 1.6.0_03 (curretnly which is not running)
    Also the Java Web Start is a part of JRE then where does this lead to....???
    I am just an amateur with great doubts.....kindly help......

    Hello,
    I suggest you really read, understand and trial-and-error the following previously suggested solutions;
    http://stealthpuppy.com/juggling-sun-java-runtimes-in-app-v/
    http://packageology.com/2014/02/sequencing-java-the-definitive-guide-part-1/
    http://packageology.com/2014/02/sequencing-java-definitive-guide-part-2/
    http://packageology.com/2014/02/sequencing-java-definitive-guide-part-3-restricting-access-insecure-java-versions/
    Nicke Källén | The Knack| Twitter:
    @Znackattack

  • Firefox will not recognize installed versions of java

    I am running Windows 7 dual boot with Windows XP. I have installed IE, Firefox and Jave on both. Java plugins are recognized on the plugin check page and up to date. When I go to the Java.com website to test the Java version installed from Firefox, Firefox will crash every time. When I test it in IE, the test works. This happens on both the XP and Windows 7. I have uninstalled all, rebooted, loaded IE 8, Firefox, and Java in that order.

    You try to select a direct connection.
    Control Panel > Java > General tab > "Network Settings...": "Direct Connection" (enable)

  • I use firefox portable and have disabled auto-update in Options, but it still automatically downloaded and installed version 16.0.2 from 14.0.1

    I use Firefox portable 14.0.1 and it was displaying you are on release update channel. Even with the auto-update option disabled, it updated to version 16.0.2 thus resulting in some of my add-ons not working.

    Support for Firefox Portable is here - http://portableapps.com/forums/support/firefox_portable

  • N1 system manager installation faied (newer version of Java web console)

    Hi,
    I am trying to install Sun N1 system manager on Solaris x86 U3 + all patches. Once I run the installer I got:
    N1SM Installer (version 1.3.2 on SunOS)
    1. Install OS packages. [Completed]
    2. Install Expect. [Completed]
    3. Install IPMI tool. [Completed]
    4. Install JDK 1.5. [Completed]
    5. Install service provisioning components. [Completed]
    6. Install OS provisioning components. [Completed]
    7. Copy DHCP configuration file. [Completed]
    8. Install user interface components. [Partially Run]
    9. Install service container components. [Not Completed]
    10. Install N1 System Manager. [Not Completed]
    Failed Step: Install user interface components.
    The following is a portion of the installer
    log which may indicate the cause of the error.
    If this does not indicate the cause of the
    error, you will need to view the full log
    file. More information on how to do that is
    available below.
    The Sun Java(TM) Web Console software already installed (version 3.0.2)
    is newer than the version (3.0) you are attempting to install.
    Downgrading is not supported. If you wish to run the older version,
    you can install it after unintalling the currently installed version.
    Error running lockhart setup: 1792
    Please fix the problem and then try this step again.
    For a full log of the failed install see the file: /var/tmp/installer.log.9327.
    t. Try this step again (correct the failure before proceeding)
    x. Exit
    Enter selection: (t/x) x
    Is there any way to continue my installation and using currently installed version of Java Web Console?

    Tried removing the currently installed Java Web Console as described at http://docs.sun.com/app/docs/doc/817-1985/6mhm8o5l4?a=view
    It says to simply run /usr/share/webconsole/bin/setup -u, however there is no setup binary in the listed dir.
    # ls -l /usr/share/webconsole/bin/
    total 396
    -r-xr-xr-x 1 root sys 9995 Oct 9 08:18 smcwebserver
    -r-xr-xr-x 1 root sys 6571 Oct 9 08:17 smloginmodule
    -r-xr-xr-x 1 root sys 171907 Oct 9 08:17 smreg
    -r-xr-xr-x 1 root sys 1456 Oct 9 08:17 smwebapp
    -r-xr-xr-x 1 root sys 2917 Oct 9 08:17 wcadmin
    # uname -a
    SunOS host 5.10 Generic_118855-33 i86pc i386 i86pc
    It seems the docs are wrong?

  • Java 6 Update 12 64bit Java Webstart documentation

    I notice that 64bit 6 Update 12 comes with 64bit version of Java Webstart - I am just wondering whether there are any documentation on how 64bit Java Webstart works? For example:
    1) By default it will use the 64bit JRE to launch an application. What if an JNLP embedded some 32bit JNI DLLs that requires the use of 32bit JRE?
    2) How can an app specify larger heap if it runs on 64bit host, but less on a 32bit host?
    3) Is there any new extensions to JNLP to support 64bit Java?
    Thanks.

    1.) The initial release of the 64 bit version of javaws will work only with 64 bit JRe's. There is no support yet for mixing.
    2.) You can specify different dlls for use with 64 bit and 32 architectures just as you can with operating systems as follows:
    <resources>
    <java version="1.6+"/>
    <jar href="myapp.jar" main="true"/>
    <resources os="Windows" arch="i586">
    <nativelib href="mydll32.jar"/>
    </resources>
    <resources os="Windows" arch="amd64">
    <nativelib href="mydll64.jar"/>
    </resources>
    </resources>
    3.) There are no new JNLP extensions.
    /Andy

  • I am trying to use a website that requires that my computer have the lastest version of Java, which I have updated and installed, however Firefox does not recon

    I am trying to use a website that requires that my computer have the latest version of Java, which I have updated and installed Java 7 Update 51 (64-bit), however Firefox does not recognize that I even have Java on my computer. My computer is 64-bit
    When I run "Verify Java Version" it show nothing is installed... but it is, I know that for a fact because it shows in my "Control Panel/Programs/Programs and Features".
    When I go back to the Java Download page, the following message is visible:
    "We have detected you may be viewing this page in a 32-bit browser. If you use 32-bit and 64-bit browsers interchangeably, you will need to install both 32-bit and 64-bit Java in order to have the Java plug-in for both browsers."
    My question is this:
    Is there a way to change my Firefox browser from 32-bit to 64-bit.... because it appears that this is way Java is not functioning properly?

    Firefox needs 32-bit plugins, so you'll need to install 32-bit Java for Firefox.
    No, you can't change Firefox from 32-bt to 64-bit. There is a Nightly 64-bit version (alpha) of Firefox, but it is used only to test for regressions until development is resumed.

  • Sun Java Plug-in Required Installing the Sun Java Plug-in, version 1.6.0_19

    Hi,
    am new to this thread, excuse if any issues in posting,
    my pblm is am running my application,
    Sun Java Plug-in Required
    The Sun Java Plug-in must be installed on your local machine in order to run this workbench. The Sun Java Plug-in can be downloaded from the following directory:
    /dsworkbench/clientinstall
    Please contact your system administrator to verify the location of the client installations.
    Installing the Sun Java Plug-in, version 1.6.0_19
    The Sun Java Plug-in is required to run the WebLogic version of this workbench. To install:
    Download the file jre-6u19-windows-i586.exe and execute it.
    On the license terms screen, select Custom setup and click Accept.
    If you want to change the default installation directory, click Change and specify a different directory. Once the installation directory is set, click Next.
    Click Next to accept the default browser registrations.
    Disabling Auto-Update Capability
    By default, the Java Control Panel is configured to automatically download and update to newer releases of the Java Plug-in as they become unavailable.
    It is advisable to turn off this feature so that compatibility between the Java Plug-in and the workbench is maintained. To turn off automatic updates:
    Open the Windows Control Panel, and click Java. The Java Control Panel displays.
    Click the Update tab.
    Under the Update Notification area, deselect Check for Updates Automatically.
    "Java Update - Warning" dialog box displays. Click Never Check.
    Click OK to save and then close the Java Control Panel.I have done the same and I restarted browser and my machine, and when I relogined to the application still the same message is appearing,
    I don't know if I need to set the environment path, but I have done it. any pointers will be helpful

    This tends to be a 32 bits / 64 bits problem. The runtime must match the architecture of the browser you're using; so if it is a 64 bits browser, you MUST have a 64 bits runtime. If it is a 32 bits browser you MUST have a 32 bits runtime. You can install both and cover all cases.

  • I am trying to use screens and it keeps telling me it cannot detect Java even though I have installed and updated Java?  What might be the problem?

    I am trying to use "screenr" and it keeps telling me it cannot detect Java even though I have downloaded and updated Java?  What is going on or what might I do to correct this?
    Thanks

    Firefox needs 32-bit plugins, so you'll need to install 32-bit Java for Firefox.
    No, you can't change Firefox from 32-bt to 64-bit. There is a Nightly 64-bit version (alpha) of Firefox, but it is used only to test for regressions until development is resumed.

  • HT5242 Are the older versions of Java automatically uninstalled during an update?

    Are older versions of Java automatically uninstalled during an update?

    If you open the /Applications/Utilities/Java Preferences.app then the available Java Virtual Machines will be listed. I have a newer mac with 10.6.8 that has latest Java 6 version installed on it and an older macbook pro with the lastest Java 6 Virtual Machine version and the previous Java 6 Virtual Machine version .

  • I've 2 versions of Java installed! How can I uninstall Apple's Java 6?

    This is where I'm at
    * Updated from Snow Leopard to Mountain Lion
    * Installed Oracle Java 7 update 7 dmg
    * Misread an out of date OS X Daily blog where I got this Terminal command java -version. It lead me to think Java 7 wasn't installed
    * Installed Apple Java 6 via the Java Prefs app. Thought this would somehow lead to a Java 7 upgrade along the way.
    * Realised that Oracle Java 7 was installed fine the first time, but java -version doesn't work with it !!
    * Now I have 2 versions of Java installed!
    * I reinstalled Java 7 (this time using 7 update 10) hoping it would remove Apple's Java 6 but it didn't remove it.
    *For some reason too the old Java Prefs app has been automatically deleted too, so I can't switch Apple Java 6 off.
    Confirmation that I have 2 Java versions installed
    If I type the terminal command java -version it says I have Apple Java 6 installed.
    If I open LibreOffice/Preferences/Java it says I have Apple Java 6 installed.
    If I open Play Station 3 Media Server it says it's using Apple Java 6.
    If I open some other Java .jar apps like JOSM it says it's using Oracle Java 7
    Oracle has a FAQ that recomnds deleteing old versions of Java, but very helpfully only gives instructions for Windows.
    How can I uninstall Apple's Java 6?
    Thanks

    Reinstall the OS …  meaning reinstall OS X?!   Is that not a bit over the top?
    >"BTW, do note that all you're really doing is changing the Java Runtime Environment component and not Java."
    At this stage I don't have a clue what I doing !!
    In the past week and a half I have had a belly-full of Java name permutations. What kind of sick, twisted mind came up with Java naming scheme: Just take the word Java and append two or three letters to it using every permutation possible, throw in a few numbers for good measure, and then when discussing it just use the generic term Java… that'll really catch 'em out.
    …Java SE, Jave RE, Java JDK,Java Platform, Apple Java 6, Oracle Java 7, Java 1.6.0_27, Java 1.7.0_10, Java 6, Java 7, ….. not to mention Java FX, Java DB, Java ME, Java EE, Java DST…

  • Error while installing Netweaver 04s sneak preview trial version for java

    Hi Experts,
    I am trying to install SAP netweaver 04s sneak preview trial version for Java in my own desktop.  While installing, it is showing the following error
    ERROR
    CJS-30129  Creating node $(DIR_TRANS) with type DIRECTORY failed. Original exception text was: syslib.filesystem.nodeCreationFailed:Unable to create node
    abcd\sapmnt\ with type DIRECTORY: can't create parent node..
    ERROR
    CJS-30129  Creating node $(DIR_TRANS) with type DIRECTORY failed. Original exception text was: syslib.filesystem.nodeCreationFailed:Unable to create node
    abcd\sapmnt\ with type DIRECTORY: can't create parent node..
    ERROR
    FCO-00011  The step createSystemDirectories with step key |NW_Workplace|ind|ind|ind|ind|0|0|NW_Onehost|ind|ind|ind|ind|0|0|NW_Onehost_System|ind|ind|ind|ind|1|0|NW_System|ind|ind|ind|ind|6|0|createSystemDirectories was executed with status ERROR .
    I gave the database host name as the name of the computer.  While installing the 3rd step, the above error is displaying.  can anyone guide me how to proceed further.
    regards,
    vv

    how are u trying to install it.....i mean...are the source and the installtion drive on the same PC?

  • How to find out jre version installed ,using a java program?

    Hello,
    Is there any way to find out the installed JRE version using a java program ?
    The requirement is as follows:
    There is a html page with 4 steps to install a software. each step is a link, which upon clicking does its work.
    the first step is to install jre 1.4.2_11 if its not installed in the system. But how can i find out whether jre 1.4.2_11 is installed or not ?
    Thanks in advance

    For the hell of it... here is a list of properties you can query:
    java.version Java Runtime Environment version
    java.vendor Java Runtime Environment vendor
    java.vendor.url Java vendor URL
    java.home Java installation directory
    java.vm.specification.version Java Virtual Machine specification version
    java.vm.specification.vendor Java Virtual Machine specification vendor
    java.vm.specification.name Java Virtual Machine specification name
    java.vm.version Java Virtual Machine implementation version
    java.vm.vendor Java Virtual Machine implementation vendor
    java.vm.name Java Virtual Machine implementation name
    java.specification.version Java Runtime Environment specification version
    java.specification.vendor Java Runtime Environment specification vendor
    java.specification.name Java Runtime Environment specification name
    java.class.version Java class format version number
    java.class.path Java class path
    java.library.path List of paths to search when loading libraries
    java.io.tmpdir Default temp file path
    java.compiler Name of JIT compiler to use
    java.ext.dirs Path of extension directory or directories
    os.name Operating system name
    os.arch Operating system architecture
    os.version Operating system version
    file.separator File separator ("/" on UNIX)
    path.separator Path separator (":" on UNIX)
    line.separator Line separator ("\n" on UNIX)
    user.name User's account name
    user.home User's home directory
    user.dir User's current working directory

  • Java applets won't load, have latest version of java installed, have removed all old versions from the hard drive, java console not working in firefox, any suggestions please ?

    java applets will not load,
    i have run the java test page & i have the latest version installed.
    have removed all old versions of java from my hard drive & restarted the computer.
    i have checked that java is enabled in the plug-ins and it is with version se 6 u22, also something called java development toolkit 6.0.220.4 np runtime script plug-in library for java (tm) deploy.
    if i click on java console in tolls nothing happens

    Hi,
    You might want to look in your control panel for 'Java' icon. It should give you an option to enable java plugin into your browser. Let me know if you still face the issue.
    Thanks!

Maybe you are looking for

  • Our hp officejet 6500 e710 printer will not print. it is networked, i can print a test page

    We have a Officejet 6500 E710 printer connected to a HP Pavilion dv7 latop via our home network. Windows 7 op sytsem. I can not get documents to print from the laptop. The network connection appears to be good. I can prnt a test page from the laptop

  • Insert an encrypt data in a Table

    Hi all, i have encrypted a data with HmacMD5, all its fine. but when i've tried to insert encrypt data in my table, hash code may return symbols like �?��Z��x��. then when i do a select data has been corrupted. how can i encrypted in stardand symbols

  • I didn't get my refund

    I requested a refund from itunes and got  an email saying that they issued my refund. But it's been 24hours and the money has not been put back on my credit card. And yes I did pay with my credit card. Does anyone have a solution to my problem.

  • Webgui transaction launcher giving trouble after patching

    Hi We have been using webgui for html fine recently, but after implimenting a patch on ERP we are now getting this error in portal when trying to run a transaction: processed in the system ERP : A:ITS_P:019 XSRF no sec_sesstoken I have looking in SIC

  • About the interface web oracle database express edition

    Hi I want execute a export from web interface I click on link "data" I choose the object table and after I click on link "download" but the file export at format csv contain only the lines which I see on the interface web . is it possible to export a