Problem changing JNLP file association

I installed SUN JRE 1.5 Update 7 in a fresh Windows XP machine and found the registry recongizes the JNLP file extension is associatied with it. Then I installed an application that downloads IBM WebSphere Application Client 6 which actually uses IBM JRE 1.4.2 . After this installation IBM JRE changes the .jnlp file association from Sun JRE 1.5.0_07 to its own 1.4.2 version.
Now I needed to change the JNLP file association back to previous one. I used Windows Explorer->Tool->Folder Options->File Types->Advanced->Edit and did that. However, I see my registry didn't change the association from IBM JRE to Sun JRE. But when I look at Java Control Panel, it says its associated with Sun JRE. Here is a windows shell script that I run to see the current JNLP file assocaition - which alwasy tells me its OBM JRE which is associated with the JNLP file extension. I tried restarting the machine, removing the cached copy from Java Control Panel without any difference.
Can you tell me when this file type association may not work and why? Is there any Windows Security Patch issue here? Also what are the registry keys that I should look for (a few are mentioned in the script below)?
code:
// To run it:
// CScript //Nologo JWS.js
var fso = new ActiveXObject("Scripting.FileSystemObject")
var gShell = new ActiveXObject("WScript.Shell")
function print(s) {
WScript.Echo(s)
function JavaSoft_JWS() {
var regKey = "HKLM\\SOFTWARE\\JavaSoft\\Java Web Start\\"
var ver = gShell.RegRead(regKey + "\\CurrentVersion")
var path = gShell.RegRead(regKey + "\\" + ver + "\\Home")
var javaws = path + "\\javaws.exe"
print("Sun JWS")
print("\tversion: " + ver)
print("\texe: " + javaws)
function IBM_JWS() {
var ver = "1.4.2"
var regKey = "HKLM\\SOFTWARE\\IBM\\Java Web Start v" + ver + "\\"
var path = gShell.RegRead(regKey + "\\" + ver + "\\Home")
var javaws = path + "\\javaws.exe"
print("IBM JWS for HKLM: ")
print("\tversion: " + ver)
print("\texe: " + javaws)
function JNLP_ASSOC_HKEY_LOCAL() {
var regKey = "HKEY_LOCAL_MACHINE\\SOFTWARE\\Classes\\JNLPFile\\Shell\\Open\\Command\\"
var path = gShell.RegRead(regKey)
var javaws = path + "\\javaws.exe"
print("HKEY LOCAL MACHINE Current JNLP File Association: ")
print("\texe: " + javaws)
function JNLP_assoc_HKCR() {
var regKey = "HKCR\\JNLPFile\\Shell\\Open\\Command\\"
var path = gShell.RegRead(regKey)
print("Current JNLPFIle association for HKCR:\t" + path)
function main(args) {
JNLP_ASSOC_HKEY_LOCAL()
JNLP_assoc_HKCR()
JavaSoft_JWS()
IBM_JWS()
---------------------------------------

Did the clients happen to know what version they were upgrading from? We have seen this mostly when a system upgrades major Java versions, eg from 1.6 or 1.7 or switching from 32 to 64 bit Java and C:\Windows\System32\javaws.exe disappears or something silly.

Similar Messages

  • Change all file associations in get info dialog box

    Hey all,
    I got this program called Style Master to edit all of my CSS files. Well, BBEdit was still the app associated with the .css extension. If I used get info (cmd-i), changed the program from BBEdit to Style Master and then selected 'Change All' it would flip back to being associated with BBEdit. Even if I create a new css document in Style Master, it saves with a BBEdit association and icon. Quite annoying.
    Any ideas why I can't change the file association from BBEdit to another program?

    I believe the prefs associated with this action is: com.apple.LaunchServices.plist. Found in Users/Preferences. Place this file in the trash and retry.
    Regards

  • Problem with .jnlp files

    I have an iMac running 10.6.8. I'm having a problem with .jnlp files. I've downloaded two, cgoban.jnlp and gopanda.jnlp. When I double-click the file, nothing happens. If I Control-click and select Open With Java Web Start, same. Nothing happens. Software Update says my Java is up to date. Any ideas?

    A few other similar threads were solved by this — I'd like to give credit where credit's due but I can't find the original posting.
    /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/XProtect.meta.p list
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
    <!--
            <key>JavaWebComponentVersionMinimum</key>
            <string>1.6.0_37-b06-435</string>
    -->
            <key>LastModification</key>
            <string>Thu, 31 Jan 2013 04:41:14 GMT</string>
            <key>PlugInBlacklist</key>
            <dict>
                    <key>10</key>
                    <dict>
                            <key>com.macromedia.Flash Player.plugin</key>
                            <dict>
                                    <key>MinimumPlugInBundleVersion</key>
                                    <string>11.3.300.271</string>
                            </dict>
    <!--
                            <key>com.oracle.java.JavaAppletPlugin</key>
                            <dict>
                                    <key>MinimumPlugInBundleVersion</key>
                                    <string>1.7.11.22</string>
                            </dict>
    -->
                    </dict>
            </dict>
            <key>Version</key>
            <integer>2028</integer>
    </dict>
    </plist>

  • Changing the File Associations in Get Info doesn't seem to stick

    Hey everyone. I hope I'm posting this in the best possible place. I just bought a new Mac Pro (single hexacore Westmere processor if that makes a difference) and I've found that the file associations aren't working. I will Get Info on a document and change the application it's supposed to open with. If I stop there, everything is great and the associated icon changes, but if I click Change All... (which is exactly what I want to do) and then click Continue, it reverts back to the default and doesn't change anything. I've changed repairing disk permissions but am a bit stumped after that. Anyone have any suggestions? I minor problem but kind of annoying (especially since I want my new baby to work perfectly). Thanks.

    Grab a copy of RCDefaultApp and once installed you have a preference pane to set the Mime type/handling for any extension.

  • Websites changing my file associating from Acrobat Pro to Reader

    Once before everytime I clicked on a pdf, it would open with Reader. Even when I told it to open WITH Acrobat pro. The IT man came and changed my windows file association via the Control Settings, I restarted and the problem was resolved.
    BUT now when I go to a website and use the snapshot tool to capture a map, when I try to open Acrobat Pro, it opens in Reader! I re-associated my settings in the control box but it reverts to Reader. What to do. I want to make a pdf of the image on the website.
    Acro 7 Pro, XP

    Go to the task listing and disable AcroRd32. Then also disable the loading of that plugin in the START menu. You are finding why Adobe does not recommend using both Acrobat and Reader on the same machine.

  • .jnlp file association

    We have a JNLP application. A recent Java7 upgrade seems to have removed the file association between javaws.exe and .jnlp files. We have experienced this on multiple client machines. On one, Windows would not all us to create the association through the normal means of "Open With...".
    Is this a known issue?

    Our workaround was to update the registry manually (obligatory warning about doing this on your machine!)
    Computer\HKEY_CLASSES_ROOT\Applications\javaws.exe\shell\open\command
    Then edit that value to point to a 32-bit javaws.exe – this one happens to be in the jre7 folder:
    "C:\Program Files (x86)\Java\jre7\bin\javaws.exe" "%1"In addition to this check if there is association for .jnlp in the HKCU branch. If you ever tried "Open with" then windows will add association to user branch and it will hide system wide settings.
    Good way to troubleshoot this is to use Process Monitor from sysinternals.com and inspect what .jnlp related registry keys are read.
    Please file a bug if you can find a way to reproduce a problem or will find out what exactly is wrong in the registry.

  • New Apple Java update breaks jnlp file association

    I thought this might be helpful for other people experiencing this problem.
    It seems that the latest Java update for Macs (10.5 update 4) breaks the file association for jnlp files. When you use one it opens up a text editor. To make matters worse they have moved the location of Web Start.
    The only way we have been able to fix this is:
    1. Control-click the jnlp file that was downloaded to the desktop and select “Get Info”
    2. Click “Open with” and select “Other…”.
    3. At the top of the window select “All Applications” in the Enable box.
    4. Browse to /System/Library/CoreServices and select Java Web Start.
    5. Click the “Always Open With” checkbox at the bottom.
    6. Click the “Add” button.
    7. Double-click the jnlp file on the desktop which should now launch the workbook.
    If anyone else has some more information or another solution, then please reply here.

    Thank you so much for this. I didn't find this post the first time I searched on this problem, and I was mired down in versions-specific directories with javaws--which appears only as a link that cannot be used as an association.
    MUCH appreciated!
    --Paul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Problem in jnlp file

    hi,
    For sandbox i created the repository.jnlp file and used.
    at the same time i created the repository.jnlp file for developement server but it giving the error as
    "com.sap.aii.utilxi.misc.api.ReconnectRuntimeException"
    "Cannot open connection on host: (     )  and port:
    i think there is problem in rmi port..
    Is the RMI port is same for both sandbox and Development server????
    regards
    sasi

    hi,
    ur not able to see the file in development pls do chk with the client nos and ports
    make that the file is in active mode
    provide some more info
    thnx
    sampath

  • Problem with .jnlp file

    Hello,
    I am trying to use JFileChooser to open and select a file. I am using NetBeans to develope my application. When I run it in NetBeans it works just fine and I can open and select the file. However, when I run my .jnlp file and click on the button nothing happens. Why is that? Here's a sample of my code:
    private JButton getBtnJFileChooser() {
         if (btnJFileChooser == null) {           
    btnJFileChooser = new JButton("Open...");
    btnJFileChooser.setBounds(275, 110, 90, 20);
    btnJFileChooser.addActionListener(new OpenAction());
         return btnJFileChooser;
    class OpenAction implements ActionListener {
    public void actionPerformed(ActionEvent ae) {
    // Open a file dialog
    fc = new JFileChooser();
    int retVal = fc.showOpenDialog(SC_DOC_gui.this);
    if (retVal == JFileChooser.APPROVE_OPTION) {
    // The user selected a file, process it
    File file = fc.getSelectedFile();
    // Update user interface.
    //lblMsgArea.setText(file.getName());
    lblMsgArea.setText("Load SC_DOC Files");
    }

    I am not quite sure what's going on. When the button is clicked nothing happens. I've been doing research on this and I found a sample code that deals with jnlp and opening files. It's here: http://java.sun.com/docs/books/tutorial/uiswing/components/filechooser.html#advancedexample
    Now, when I want to use this code I get an error message that the package javax.jnlp.* does not exist. So now I'm trying to figure that one out and I haven't yet. I have installed the latest Java Web Start Technology and this should work. Any advice?

  • Can't change mp3 file association

    I am trying to make mp3s open up in quicktime instead of iTunes. I tried changing the association by 'get info' and changing all to quicktime however this does not change the association.
    I have also tried the following in terminal:
    System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchSer vices.framework/Versions/A/Support/lsregister \ -kill -r -domain local -domain system -domain user
    This didn't help either.
    Please help!

    As I mentioned, just because files have an mp3 extension does not mean that they are all of the same type, so I did a search to see if there were any rogues hiding somewhere.
    I didn't see anything, so I changed the associations of types MPG3 to QuickTime, and they all changed as expected. You might try changing the associations from a new user account, or check the types of the files you are trying to change to see if they match (my .mp3 files have a file type of MPG3 and a content type of public.mp3). If you don't have a utility handy, the following AppleScript will put up an information alert for each selected FInder item:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    -- get file types of current Finder selection
    set HomeFolder to (POSIX path of (get path to home folder))
    tell application "Finder" to get the selection as alias list
    repeat with AnItem in the result
    set ItemPath to POSIX path of AnItem
    if ItemPath contains HomeFolder then -- shorten the item name a bit
    set TheItem to "~" & text (count HomeFolder) thru -1 of ItemPath
    else
    set TheItem to ItemPath
    end if
    set {kind:TheKind, file type:FileType} to (info for AnItem)
    set TheKind to "Kind = " & quoted form of TheKind
    set FileType to "File Type = " & quoted form of FileType
    set ContentType to (do shell script "mdls -name kMDItemContentType " & quoted form of ItemPath)
    display alert ¬
    "File Types" message ¬
    TheItem & return & return & ¬
    TheKind & return & ¬
    FileType & return & ¬
    ContentType ¬
    buttons {"Cancel", "OK"} cancel button "Cancel"
    end repeat
    </pre>

  • Changing RoboHelp File Association

    TCS5 | Windows 8.1
    My laptop's been rebuilt, so I've installed TCS5 and then re-installed TCS4. However, because I've done it in this order RoboHelp projects are defaulting to RH10 when opened, as opposed to RH11. I've tried changing the association through the usual "Open with" option, but it doesn't make any difference. Is there a way I can force projects to open in RH11 by default without having to uninstall everything and starting again?
    Thanks
    Jonathan

    Right-clicked the .XPJ, selected Open with..., clicked More options, scrolled to the bottom of the popup window and selected Look for another app on this PC, and then browsed for the Robohelp 11 .EXE. I think what's confusing it is that the both the RH10 and RH11 .EXEs are called RoboHTML.exe, but just in different folders. It's like it isn't recognising the subtle folder difference, e.g. between C:\Program Files (x86)\Adobe\Adobe RoboHelp 10\RoboHTML\RoboHTML.exe and C:\Program Files (x86)\Adobe\Adobe RoboHelp 11\RoboHTML\RoboHTML.exe.

  • How to permanently change Program + File Associations?

    How do I make a program be the default for opening a file in OS X?
    Thanks

    Hi there!
    Right-click (or Control-click) on a file that you wish to change the default application. Then click "Get Info" and change the "Open with" dropdown menu to whatever app you want to use. Then click "Change all". That's it!
    --Travis

  • Changing image file association?

    When I set up the iPhone on my computer I accidently set Publisher as default image program. Now every time I plug in the iPhone it opens Publisher, which I have never used in my life.
    How can I change that to another program?

    One thing that you can do that might help
    When the iphone is connected to the computer, open my computer.
    The iphone should show up under scanners and cameras.
    Right click on the Apple iPhone and choose properties.
    Go to the events tab.
    Here you can set what the computer does when a camera is connected such as the iphone.
    Set it to take no action and the computer will wait until you do something
    Hope this helps.

  • Google Earth/Basecamp  .kmz file association

    The default application for .kmz files is currently basecamp.I want to change this to Google Earth. When I go to 'open with' I can open with Google Earth OK. However when I go to 'Get info' ,'open with' and 'change all' it reverts to Basecamp. Any suggestions why this might be so. I don't have this problem changing other file associations.

    Click on any .kmz file in Finder. Right click on the file and choose > Get Info. Go to "Open With" and select Google Earth. Then click "Change All" so every file afterwards opens with GE.

  • Problem with file association

    I have read on this forum that people have problem with the file association when they haved installed StarOffice 8. I have the same problem.
    I install StarOffice on a computer as network administrator - every thing looks fine. When i then log off and log on as a usual user the file association for MS Office files (.doc, .xls, .ppt) are gone. I will not have the users to change the file association by their own because they don't know how to do.
    I know we have the same problem when we first install StarOffice 7. I got a register hack that changed the association. Now i have tried to change the path's in the registerhack and run it again - but it wont work for SO8. :(
    Is there anyone out here who know a solution for this problem?
    As i mention earlier I have seen many people in the forum with the same problem - but I haven't seen a solution for it.
    // Stefan

    I came across the same problem on windows XP SP2 machines.
    I created a registry key that forces the file associations as follows:
    Windows Registry Editor Version 5.00
    &#91;HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.doc\shell&#93;
    &#91;HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.doc\shell\open&#93;
    &#91;HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.doc\shell\open\command &#93;
    @="\"C:\\Program Files\\Sun\\StarOffice 8\\program\\soffice.exe\" \"%1\""
    &#91;HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.xls\shell&#93;
    &#91;HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.xls\shell\open&#93;
    &#91;HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.xls\shell\open\command &#93;
    @="\"C:\\Program Files\\Sun\\StarOffice 8\\program\\soffice.exe\" \"%1\""
    &#91;HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ppt\shell&#93;
    &#91;HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ppt\shell\open&#93;
    &#91;HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ppt\shell\open\command &#93;
    @="\"C:\\Program Files\\Sun\\StarOffice 8\\program\\soffice.exe\" \"%1\""

Maybe you are looking for

  • I ended a task on Activity Monitor on my iMac and now my desktop and dock keep restarting?

    So, I was on Activity Monitor trying to see how I could speed up my computer and I found this application which was using up a large percentage of my memory so I decided to end it. I can't remember what it was called but now every so often my desktop

  • System datafile block corruption - no backups and database in NOARCHIVELOG mode

    Dear All, Database version - oracle 11.1 Enterprise OS - RHELinux 5.8 What are the options of recovering from physical block corruption when there are no backup available to perform block media recovery? V$DATABASE_BLOCK_CORRUPTION reports two segmen

  • Personal Oracle 8i on Win 95 ?

    Hello everybody. Is there any chance to get Oracle 8i PE to run on Windows 95 ? Or is there no way than upgrading to 98 or ME (using 8.1.7) ? Or is there a PE of Oracle 8.0 running on 95 ? Harald Henkel

  • Printing  Adobe form using Webdynpro Java

    Hi All, I have a requirement to integrate data coming from web services onto a adobe form on the Portal. This form needs to be generated in the background and then automatically sent to the local printer attached to the pc. The idea is that the user

  • How do you delete old time machine back ups?

    I have a 2009 iMac (currently on Snow Leopard) that has been using Time Machine (TM) to back up to a 2009 Time Capsule (TC) since new.  I have a 2011 Macbook Pro (currently on Snow Leopard soon to be Lion) that I would like to begin backing up using