Dynamic versioning -- does it work

Despite dynamic versioning being poorly documented in the Java Plugin Guide, I thought I had an understanding of how it should work. However I just learned that it does not behave as I expected. Is this a bug, or did I misunderstand?
Here is my understanding of how dynamic plugin versioning works:
Syntax.
a) classid. Use the dynamic class id (as in my example below).
b) mime type. specify "version" (not "jpi-version"), and specify the 2-digit version, such as "1.2", "1.3", "1.4".
c) codebase. provide a path to download a JRE if necessary.
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codebase="[path_to_the_jre]/j2re-1_4_1_01-windows-i586.exe">
<param name="type" value="application/x-java-applet;version=1.4">
<param name="archive" value="myjar.jar">
<param name="code" value="myapp.MyApp">
</object>
Behavior.
a) If not installed, the user would be prompted to download and install the code located at the specified codebase.
b) If the user had a JRE installed which was less than the major version specified in the mime type (i.e., 1.2, 1.3, 1.4), the program would NOT run using the installed version. Instead, the user would be prompted to download and install the code located at the specified codebase. Once the install completes, the program would run using the newly installed plugin.
c) Otherwise, the program would run using the currently installed plugin.
Is this correct or not? What I am seeing contradicts this. On a cleanly installed Win2k machine, I have only installed JRE 1.3.1. I use a tag like the above which should require the user to install JRE 1.4+ before running the applet. However, no download/install prompt appears, and the applet just runs in the 1.3.1 JRE.
I would appreciate any feedback that you could give. Thanks.

Well I hate to answer my own question, but I solved my problem. I didn't realize that the "#Version=1,4,0,0" portion of the codebase was significant. In the examples given by Sun, I assumed it was part of the download URL. To the contrary, the JRE appears to examine this version number to determine which version to require. I had assumed that this was the purpose of the version specified in the mime type (i.e., "version=1.4"). Live and learn.
The revised code:
<object classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
codebase="[path_to_the_jre]/j2re-1_4_1_01-windows-i586.exe#Version=1,4,0,0">
<param name="type" value="application/x-java-applet;version=1.4">
<param name="archive" value="myjar.jar">
<param name="code" value="myapp.MyApp">
</object>
So there's still 10 Duke's available to whoever wants them...

Similar Messages

  • Premiere Pro to Adobe Audition Dynamic link does not work. Cannot edit audio in Audition.

    Trying to edit Audio from Premiere Pro within Audition thru the Dynamic link but it does not fire up Audition to edit. Seems like a common problem/bug. But no one has posted a solution. Please Help
    -Windows 7
    -Premiere Pro CC 2014
    -Adobe Audition CC 2014

    You dont understand it was all working fine in the previous Adobe versions. matter of fact you can go on youtube and see a couple of videos that shows the work flow between Premiere Pro and audition by way of Dynamic link. If you edit a video clip in Premier Pro and want to add some music or simply edit the audio that is contained in the video there was a time within Premiere Pro you can just right click "Edit in Adobe Audition" and Audition would open with the audio clip in place. Much in the same way Premiere Pro works with After Effects thru the Dynamic Link. The Dynamic Link is the bridge between applications to work with each other. For some reason Premiere Pro and Audition Dynamic Link is not working properly.

  • Dynamic image does not work in the template builder plug-in (Apex-BI Intgr)

    Hi all, I posted this problem in the BI Publisher topic but nobody responded maybe this is because mods thought this is an Apex-BI integration issue.
    If I'm in the wrong place, please do warn me.
    The documentation says:
    Direct Insertion
    Insert the jpg, gif, or png image directly in your template.
    ...This works obviously
    URL Reference
    1. Insert a dummy image in your template.
    2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
    url:{'http://image location'}
    For example, enter: url:{'http://www.oracle.com/images/ora_log.gif'}
    ...This works too when I hardcode an url as url:{'http://www.google.com.tr/images/firefox/mobiledownload.png'}
    Element Reference from XML File
    1. Insert a dummy image in your template.
    2. In Microsoft Word's Format Picture dialog box select the Web tab. Enter the following syntax in the Alternative text region to reference the image URL:
    url:{IMAGE_LOCATION}
    where IMAGE_LOCATION is an element from your XML file that holds the full URL to the image.
    ...This, however, does not work.
    I use Apex' report query tool and My query is like
    select 'http://www.google.com.tr/images/firefox/mobiledownload.png' IMAGE_LOCATION from ... (a single result set for my template)
    the xml data is generated with an IMAGE_LOCATION tag. I load it to word template plug-in. The Url successfully displays in the report if I make it a plain-simple field.
    But when it's in the image format->web->alt text as url:{IMAGE_LOCATION} no image displayed.
    I need to keep this design procedure simple so a simple word user could design a report via using just template builder plug-in. I don't wish to explore the xsl-fo area...yet.
    Could you tell me why I can't get this url:{IMAGE_LOCATION} to work?
    Regards
    PS: My BI version: 10.1.3.4.1

    Hi Oeren,
    your steps seem basically to be correct. I have a tutorial how to do this here (in german)
    http://www.oracle.com/webfolder/technetwork/de/community/apex/tipps/pdf-dyn-images/index.html
    when you see the URL corrently as long as you have it as a plain text field, the XML tag and the
    referencing seem to be OK.
    Here are two thought - the issue might be one of these ...
    How did you insert the dummy image into the word document - did you do it via "insert" or
    via "link to file". "Link to File" does not work - you must choose the simple "insert".
    Another one: Does your BI Server have a connection to the internet - is the proxy server correctly set ..?
    Does this help ..?
    Regards
    -Carsten
    Cloud Computing mit APEX umsetzen. Jetzt!
    http://tinyurl.com/apexcloudde
    SQL und PL/SQL: Tipps, Tricks & Best Practice
    http://sql-plsql-de.blogspot.com

  • Has anyone got dynamic version support to work with the HTML converter?

    I have tried this for some time and followed all the guidelines, but it still don't work. Could someone post the HTML-code for a working applet that is converted with dynamic version support ?

    Using 1.4.1_03
    java -jar htmlconverter.jar -gui
    selected directory, "Standard" template file, "Use any Java 1.4, or higher"
    <html>
    <body>
    <!--"CONVERTED_APPLET"-->
    <!-- HTML CONVERTER -->
    <OBJECT
        classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
        WIDTH = 200 HEIGHT = 100 
        codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4-win.cab#Version=1,4,0,0">
        <PARAM NAME = CODE VALUE = Version.class >
        <PARAM NAME="type" VALUE="application/x-java-applet;version=1.4">
        <PARAM NAME="scriptable" VALUE="false">
        <COMMENT>
         <EMBED
                type="application/x-java-applet;version=1.4"
                CODE = Version.class
                WIDTH = 200
                HEIGHT = 100 
             scriptable=false
             pluginspage="http://java.sun.com/products/plugin/index.html#download">
                 <NOEMBED>
              </NOEMBED>
         </EMBED>
        </COMMENT>
    </OBJECT>
    <!--
    <APPLET CODE = Version.class WIDTH = 200 HEIGHT = 100>
    </APPLET>
    -->
    <!--"END_CONVERTED_APPLET"-->
    </body>
    </html>

  • Crystal Reports dynamic parameter does not work in InfoView

    Hello,
    We have developed Crystal Reports in CR2008 on top of SAP infoset and we have one of our selection parameter as dynamic parameter. It works fine in the CR Dev tool but when i upload the report in the InfoView, report does not show any value in the "Available Values"
    Any input will be much appreciated.
    Thanks.

    I did found the solution for this, i had to go into Business View Manger (BO Client Tools) and Schedule the LOV (List of Values). This is odd setting! but it works....

  • I upgraded Safari in my Mac (10.6.8 Leopard) but the new version does not work with my system so that I now have not a working browser. How can I solve the problem and/or install back my previous Safari version?

    I have upgraded Safari in my Mac, but the new Safari does not work with my system. So I find myself without any working browser. How can I solve this problem and/or install my previous Safari version?

    Reinstall Safari 5.1.10 for OS X 10.6.8: http://support.apple.com/kb/dl1569. Might do the trick.
    But, frankly, I don't think that simply reinstalling the old Safari will work because of all the peripheral, under the hood changes that happen when you upgrade from one version of Safari to another. Reinstalling 5.1.10 may be insufficient to turn back the clock. (This is the moment where a Time Machine or another form of full backup would save your bacon.)
    While you're getting a copy of Safari 5.1.10, get a copy of Firefox (https://www.mozilla.org/en-US/firefox/desktop/), too, so that you have an alternate browser to use as you're sorting matters.

  • Adobe pdf plug in for firefox, 10.1.4 version, does not work but can not update to new version, why?

    Adobe pdf plug in does not work, when I tried to update following message appeared, "Adobe Reader 9.5.1 and lower has been blocked for your protection", how to solve this problem?

    Could you review/adjust your preference for which program opens PDFs? I'm not sure how that drop-list behaves when there are multiple Adobe plugins. You might need to physically remove an old plugin file or two to make sure Firefox is not trying to use the old one.
    * [[Use the Adobe Reader plugin to view or download PDF files]] <br>
    ''Edit: actually this article describe how to use the Options dialog Applications section to review/change the setting: [[How to disable the built-in PDF viewer and use another viewer]]''.
    * C:\Program Files (x86)\Mozilla Firefox\Plugins (only one want nppdf32.dll here)
    * In regedit.exe, check the following key for the source of obsolete plugins: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\MozillaPlugins
    Both the file that stores download handling preferences, and the file which registers plugins, can be renamed and Firefox will regenerate them, so those remains options for further actions as well.

  • Debug version works well, but release version does not work with simulator

    Hi,
    I use iOS 7.0.3 and Xcode 5.0.2.
    I developped one application and I tested with simulator-ipad retina. The debug version works well and release version did not work at all.
    The basic configuraton is like this:
    cocos2d: cocos2d-iphone v2.1
    cocos2d: compiled with Profiling Support: NO
    cocos2d: OS version: 7.0.3 (0x07000300)
    cocos2d: GL_VENDOR:   Apple Computer, Inc.
    cocos2d: GL_RENDERER: Apple Software Renderer
    cocos2d: GL_VERSION:  OpenGL ES 2.0 APPLE-9.2.1
    cocos2d: GL_MAX_TEXTURE_SIZE: 4096
    cocos2d: GL_MAX_TEXTURE_UNITS: 8
    cocos2d: GL_MAX_SAMPLES: 4
    cocos2d: GL supports PVRTC: YES
    cocos2d: GL supports BGRA8888 textures: YES
    cocos2d: GL supports NPOT textures: YES
    cocos2d: GL supports discard_framebuffer: YES
    cocos2d: GL supports shareable VAO: NO
    What is the reason and how to fix it?

    Well, yes...you need to upgrade to OS X Server 4.0 ($19.99)...I already did it also!

  • Latest version does not work with godaddy ftp file manager

    Godaddy has a facility call FTP file manager which is easy to use for the small file uploads via your browser. It is very conveinent and worked in exactly the same way on old versions of firefox as it does on IE.
    Now using the latest Firefox it does not.It presents a different screen without the ability to overwrite an existing file.

    OBIEE 11.1.1.6.0 only supports WebLogic 10.3.5 and 10.3.6.
    Regards,
    Kalyan Chukkapalli
    http://123obi.com

  • I just upgraded to Firefox 5. How can I get a copy of Firefox 4. The new version does not work with Skype's auto dialer.

    How can I get a copy of the previous version of Firefox? The latest version (5) does not support Skype's auto dialer. I use this tool to be more productive.

    Due to security vulnerabilities, rolling back to Firefox 4.0.1 is not recommended.
    If Firefox disabled some add-ons (especially extensions), it likely is because they include a list of compatible Firefox versions and haven't yet been updated for Firefox 5. If they worked on Firefox 4, there is a good chance they will work on Firefox 5.
    You can force Firefox to ''ignore'' add-on version restrictions by (what else) installing an add-on. Then you can test whether the add-ons important to you actually work in Firefox 5.
    [https://addons.mozilla.org/en-US/firefox/addon/add-on-compatibility-reporter/ Add-on Compatibility Reporter :: Add-ons for Firefox]
    After you install this add-on and restart Firefox, there will still be a message that "--- is incompatible with Firefox 5.0" but the add-on will be enabled and a Disable button will appear for that entry.
    Please report back on your results.

  • Trial version does not work properly

    I downloaded the Encore DVD 2.0 trialversion and I have the impression that it is not fully functional i.e.
    - very few menus in the library, compared to what appears from the Help
    directory
    - the frame by frame buttons on the monitor do not work
    - the button routing cannot be changed, whatever I tried
    - specifying a new name in Disc > Properties has no effect: the player
    window still shows: Unknown DVD
    Since I already spent much time searching for functions that apparently are missing, could anyone please let me know what I am doing wrong or which functions are disabled in the trial version?
    Many thanks,
    Jolt Oostra

    Jolt.
    To make a disc show up with the correct name in Media Player, the title would need to be registered with www.windowsmedia.com
    It's the same reason a home cooed CD will show up as "Unknown CD" until it gets registered with the Freedb database.
    Activation.
    You cannot activate the trial version - this times out after 30 days, and you will need to uninstall it & then re-install the full version - as you cannot enter a serial number to a trial copy.
    Functionality is identical, but there is a much larger library with the full version.
    Chapter Points.
    These can only be placed on GOP headers, or approximately every 0.4 or 0.5 seconds. However, if using an AVI file, Chapter points can be placed anywhere at all as long as you leave a gap of 0.5 seconds minimum between points. When it gets transcoded to MPEG-2, the transcoder will create GOP headers at each chapter point. As such, an AVI will allow greater accuracy in placement.
    Hope this helps

  • MOBILE VERSION DOES NOT WORK!!!!  Is Adobe not aware that encrypted forms fail using mobile reader??

    I created a PDF Form in Acrobat Pro 9, and encrypted it with a password.  No other restrictions were placed on the document.
    When I open the document on an android device (tablet or phone) or an iPod, it does not allow me to fill in any of the fields or apply a signature of any kind.
    However, when I open the same exact form with the desktop version (Reader XI), it does allow me to fill it out and sign it with no problem.
    I have no problems filling it out and applying a signature with a mobile device when the document is not encrypted.
    PLEASE HELP! 
    I have updated all my versions to the most latest.

    Yes, apparently Adobe is aware of this.
    For Adobe to omit such basic functionality to its mobile version is appalling.
    I would have expected this from Microsoft, but not from Adobe.

  • Dynamic path does not work in Css files

    Hi,
    I have a css file in which i have used few images, but when i try to make the path dynamic and include that css in my page the image doesn't appear but when i put the complete path in it it works.
    It works when used in this way :
    .inputrightbg
         background-image: url(http://<hostname>:<port>/idc/groups/public/documents/omp_images/input_rightbg.gif); background-repeat: no-repeat; background-
    position: right top; float: left; padding: 4px 10px 4px 0px; height: 26px;
    Doesn't work when use in this way :
         background-image: url(<!--$HttpRelativeWebRoot-->groups/public/documents/omp_images/input_rightbg.gif); background-repeat: no-repeat;
    background-position: right top; float: left; padding: 4px 10px 4px 0px; height: 26px;
    Thanks,
    Abhijit

    Right, you can't put IdocScript in css.
    You can use the Web URL Map though to make urls that are easy to deposit in CSS.
    Check these out:
    http://www.corecontentonly.com/index.php/2009/10/14/web-url-map-extras/
    http://blogs.oracle.com/kyle/2009/09/friendly_urls_for_ucm.html
    -Jason
    http://www.corecontentonly.com
    http://www.redstonecontentsolutions.com

  • The website for adding "sync" to my Firefox version, does not work. Is there another fix for this problem?

    I'm trying to sync bookmarks from our laptop to our desktop computer. The laptop is running Firefox 16.0.2 and the desktop has version 3.6.8. On the desktop, under "Tools, Options" there is no selection for "Sync". The desktop is running Windows XP Media Center Edition.
    I did try to download a patch from your site, but the download website is no longer working. Is there some other patch you can offer to solve this problem? Can I upgrade the desktop to a newer Firefox version?

    The old Firefox Sync extension for older Firefox versions was discontinued by Mozilla over a year ago. Update Firefox.
    Firefox app button > Help > Check for Updates
    Or download the current release version and install it after you uninstall that old 3.6.8 version.<br />
    http://www.mozilla.org/en-US/firefox/fx/#desktop

  • Dynamic Reloading - does it work?

    Hi,
    has anyone succeded to get class files reloaded dynamically?
    I need this feature very much, but can't get it working...
    The tutorial says to put the new files at
    <J2EE_HOME>/domains/domain1/applications/j2ee-modules/context_root
    but the 'j2ee-modules' directory is empty!!!
    Instead there is a 'backup' directory that contains another 'j2ee-modules' directory.
    I have tried both these directories, also tried using the .reload files but it doesn't work...
    Can anyone give me detailed instructions?

    RockGuy23,
    I had a couple questions for you. Since this thread has been live for a while, I have put them "in context".
    Hi,
    has anyone succeded to get class files reloaded
    dynamically?I have.
    I need this feature very much, but can't get it
    working...
    The tutorial says to put the new files at
    <J2EE_HOME>/domains/domain1/applications/j2ee-modules/c
    ntext_root
    but the 'j2ee-modules' directory is empty!!!Are you using directory deployment? (the asadmin's deploydir subcommand)
    If you are, you will need to put the dot-reload file into the Location of the web app.
    To verify the correct place to put the dot-reload, use the admin console.
    Select your web-app in the tree control on the left-hand side.
    The pane to the right has a Location field (fourth from the top). The dot-reload file needs to in the listed directory
    Instead there is a 'backup' directory that contains
    another 'j2ee-modules' directory.
    I have tried both these directories, also tried using
    the .reload files but it doesn't work...
    Can anyone give me detailed instructions?

Maybe you are looking for

  • How to get the values of a multiple radiobutton selection?

    Hi. I have the next region source: FOR c1 IN(SELECT rownum, ttexto_opcion, id_item FROM tb_opciones where id_prueba=:p_id_prueba) LOOP HTP.P(APEX_ITEM.radiogroup(1,c1.ttexto_opcion,1)||c1.ttexto_opcion); END LOOP; That query returns a list of records

  • DBMS_SCHEDULER behavior in a RAC environment

    What is the behavior of DBMS_SCHEDULER in a RAC environment (say 2 nodes, N1 and N2): Is the behavior of a DBMS_SCHEDULER job created using a connection to the RAC service name be the same as if the job were created using a connection to N1 iusing th

  • Using ps3 to play tunes

    Good evening! I've posted this question here because I'm not sure where else to put it. If a mod feels this needs to be moved, go ahead. Anyway, our house has speakers built into the wall in all the different rooms. These wires (the old fashioned spe

  • GR value is less than PO value

    Hi, PO has been created for  150000 l qty and gross price is 31.81. GR made for 21202 qty amount is 671034 but manual calculation it is 674435. 3000 rs price difference is their. How find find the difference

  • UNIX command for disabling Firewall in Leopard?

    I'd like to use ARD to send a unix command to all my Macs running Leopard that will set the OS's application firewall to "allow all incoming connections." I believe that's the default setting, but I've run into some machines that are setting specific