How to run Applets with any plug-in version = clsid version.

I to be able to have any version of the plug-in equal or greater than that specified by the clsid and if they don't then download the plug-in version specified by the CODEBASE. This is what its says it is surposed to do in the dev notes(http://java.sun.com/products/plugin/versions.html) but its doesn't work unless I am doing something wrong.
Example:
I currently have version 1.4.1_01 installed and if I set the clsid to:
clasdid="clsid:CAFEEFAC-0014-0000-0000-ABCDEFFEDCBA"
it prompts to download the lastest version which I have specified in the CODEBASE(ie 1.4.1_01):
CODEBASE="http://java.sun.com/products/plugin/autodl/jinstall-1_4_1_01-windows-i586.cab#version=1,4,1,0,1"
I am expecting it to just load the version I have as its already greater than the clsid version.
I have also used clsid:CAFEEFAC-0014-0001-0000-ABCDEFFEDCBA and this does the same.
I have also tried with clasdid="clsid:8AD9C840-
044E-11D1-B3E9-00805F499D93" which is the any plug-in clsid and it does exactly that and just uses any version and does not prompt to install 1.4 when a machine is already has 1.3.

I guess I don't understand what you are asking. As I see it you ask a question and then provide the answer yourself.
To make it absolutely clear: The way to require a minimum JRE version is to use clsid:8AD9C840-044E-11D1-B3E9-00805F499D93 as the classid. This is called dynamic versioning and is described in the "Java Plug-in 1.4.1 Developer Guide": C:\doc\java\1.4.1\docs\guide\plugin\developer_guide\using_tags.html
I don't think there is any other way. And I can't see why you would need another way.

Similar Messages

  • HOw to run Applet in browser.

    Hi guys. I've got 2 problems.
    1. In Window, I've got Java installed (and using NetBean IDE as Java editor), so of course I've got j2sdk_nb-1.4.2 installed as well. But I couldn't run any applet in IE, for example, in games.yahoo.com, I couldn't join any game because applet always failed to load. But yesterday, I've got a pop up asking to install jre1.4.2 and after install this JRE, everything works fine. My point here is, when I have SDK1.4.2 which contains JRE, why should I have to install new JRE to run applets ?
    2. Could anyone tell me how to run applet in Mozilla, Linux. I'm using Linux RedHat 9 as well. And in Redhat, I've got J2sdk_nb-1.4.2 installed with NetBeans IDE. It said that I need appropriate Plugs-in, but in my Java directory, I also found Plugsin directory. So how to configure Mozilla to run applet.
    Thanks for reading.

    Just to let you guys know that I sorted it out already. Well, the problem lies in I'm confused between two directory /usr/lib/Mozilla and /usr/lib/Mozilla and two Java plugs-in available in nsc60 and nsc60-gcc (don't remember exactly)
    For my Linux (Red Hat 9), I've got to create symbol link from nsc60 directory to /usr/lib/Mozilla, not any other way.
    Thanks

  • How to run applications with options in IDEs like Netbeans

    Hi, I'm new to the Netbeans IDE and I'm wondering how to run applications with options.
    Normally I'd enter the following in the command line:
    java -Djavax.net.ssl.keyStore=mykeystore -Djavax.net.ssl.keyStorePassword="..." TLSServer
    java  -Djavax.net.ssl.trustStore=mytruststore -Djavax.net.ssl.trustStorePassword="..." TLSClient localhostProblem is, I've no idea how to do the same thing in IDE's like Netbeans and I can't any settings to add options like "-Djavax.net.ssl.keyStore=mykeystore" before running the application. Any help will be appreciated.
    Message was edited by:
    Wolfgard

    Right-click the project, click properties, clicl run, and add parameters to VM Options.

  • How to run FSG with ADI..

    Hi
    Can any one guide me how to run FSG with ADI..?
    regards
    Ahsan

    Pl post details of OS, database and EBS versions. Pl see if MOS Doc 131505.1(The Beauty of FSG in ADI) can help.
    More information will be present in the manuals for your Apps release at http://www.oracle.com/technetwork/documentation/applications-167706.html
    HTH
    Srini

  • How to run etherape with ordinary user?

    hi
    when run etherape show this massege:
    No capture device found or insufficient privileges.
    Only file replay will be available.
    EtherApe must be run with administrative privileges (e.g. root) to enable live capture.
    Pcap error: no suitable device found
    i create group etherape with this ownership
    ┌─[root@mymind] - [/etc] - [Sat Feb 04, 12:02]
    └─[$] <> groupadd etherape
    ┌─[root@mymind] - [/etc] - [Sat Feb 04, 12:02]
    └─[$] <> chgrp etherape /usr/bin/etherape
    and add my user to this groups
    ┌─[root@mymind] - [/etc] - [Sat Feb 04, 12:02]
    └─[$] <> usermod -G root,network,http,mysql,dbus,mem,bin,daemon,gdm,audio,video,rfkill,wheel,disk,sys,etherape mostafa
    how to run etherape with ordinary user(without root privilege)?
    Last edited by mostafasedaghat (2012-02-03 20:37:44)

    mostafasedaghat wrote:how to run etherape with ordinary user(without root privilege)?
    You can't. It requires root to set network card attributes, which can only be set with administrative priviledges. But it should be no problem to start it with sudo.

  • Urgent: how to run applet which connected to the servlet?

    hi frends:
    i have written an applet on the server side and it supposed to pass parameters to my servlet and retrieve some info from the servlet.
    i put both applet and servlet under tomcat../WEB-INF/classes. but when i run the applet from the web browser, there is no response from the servlet.
    could anyone help me to solve this problem?
    one more thing is i know that applet is able to connect to servlet, but how about java application? is it able to do so? if yes, is it also using URLconnection as applet? and how to run it?
    i will be very appreciate if anyone can help me... thanx a million.

    You can connect to the servlet from an application.There's a URL class in java.net that has an openConnection method. Then cast the return to an HttpURLConnection and use setMethod to set up as a post request.This may be the default if you call setDoOutput(true) on the URLConnection. Then you'll need to get an OutputStream and write properly formatted form POST data to it. It's also possible to encode your data on the URL, even when using the POST method, and this may be easier when doing it programmatically from an application. To send a get request you can append the name-value pair at the end of the url.

  • How to run tasks with priority?

    Hello everyone,
    I want to run tasks with priority, i.e. among several simultaneous running tasks, the task with the higher priority will have more chances to occupy CPU time. I have the following 2 issues dealing with the implementation of such feature.
    - To define each task as a thread or as a method? How to change the priority of each task dynamically when they are running?
    - The priority feature of Java thread does not meet my requirement, since I can not define priority precisely. For example, I want to define that a task with priority A will occupy CPU time 3 times than a task with priority B.
    I am wondering whether I can find similar open source projects or tutorials?
    Thanks in advance,
    George

    how to run autoconfig with out effecting database
    or
    which mode i have to run What do you mean by not affecting the database?
    The database and the database listener should be up and running when you run AutoConfig on the Application/Database tier nodes.
    Please see (Autoconfig FAQ [ID 218089.1]) -- Which files / profile options get changed when I run AutoConfig?
    Thanks,
    Hussein

  • How to run servlet with tomcat

    I have a probrom that how can I run servlet with tomcat?
    I have new a folder classes in webapps\root\WEB-INF\,and put the .class
    programme in it ,but http://localhost:8080/servlet/HelloWorldExample
    can't run ,it give me a error than http:404 not found.
    could you tell me how i can solve the problem.
    Thank u very much.

    Hi,
    Make sure the class is in classpath or in WEB-INF/classes folder and make an entry for servlet tag in web.xml in WEB-INF folder.
    Regards

  • How to run applet in a browser

    I know already how to jar files but my only problem is how to attached my applet in an html.. how to run this in a browser.. please help..

    http://java.sun.com/docs/books/tutorial/deployment/applet/deployindex.html

  • Can't run applet with appletviewer(java.io.FilePermission)

    Guys, I am writing an applet and it has compiled fine but when I try running it with appletviewer, it spews out these error. I have changed permissions on my .class file and .html file.
    Can anyone help? It's pretty frustrating...
    ava.security.AccessControlException: access denied (java.io.FilePermission /.automount/blah/usr/blah/blah/Node.class read)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272)
    at java.security.AccessController.checkPermission(AccessController.java:399)
    at java.lang.SecurityManager.checkPermission(SecurityManager.java:545)
    at java.lang.SecurityManager.checkRead(SecurityManager.java:890)
    thanks.

    See if you find anything here:
    http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A31&qt=%22java.security.AccessControlException%3A+access+denied+%22&x=17&y=14
    It�s a search on the forum, users with the same error.
    Andreas

  • JDB: How to run jdb with sun.* classes.

    I'm attempting to run jdb and step through various classes in sun.*. I run jdb with the sourcepath set to the unzipped contents of the Sun Community License source code that I downloaded (jdb and source code version 1.3.1). However, every time I get to an internal Java API call, the "step" method skips over the call. I can do a "stop in" by specifying the particular internal Java method that I want to stop in and "list" will show me the Java code (which means that it is seeing the Java source). However, typing "step" at this point runs to the end of any of the Java internal methods and back to my own code.
    Is there a way that I can instruct the debugger that I really want to step into the Java internal classes?
    Thanks,
    Kevin Regan
    [email protected]

    Oh yeah, I'm hoping for my first Duke Dollars!
    You must issue an "exclude none" command to jdb
    to be able to trace sun.*
    In fact if you type "exclude" you can see that
    java.*,javax.*,sun.*,com.sun.*
    are excluded from steping by default in jdb(1.4.x)
    -Cameron Elliott
    [email protected]

  • How to run Applet programe in IE

    I' am beginner in java & i want to run applet in IE.But when i tried to do it in IE,"page can not displayed" error is shown.
    why this is so?
    which steps to follow?

    which JVM is used by IE? The 1.1.8JVM from IE is very old so you should use a Java2 JVM or a Swing-Plugin for IE

  • How to run BPF monthly in BPC 7.0 MS Version Sales Rolling ForecastPlanning

    Hi Friends
    I am implementing BPC 7.0 MS Version. Now in this version the Business Process Flow (BPF) instances is only ONCE, even though we have monthly weekly etc.
    For a rolling forecast planning, i need to have the BPF every month.
    Can you please guide me  how to run the BPF monthly in BPC 7.0 MS version.
    Warm Regards

    Hi,
    You are absolutely correct by stating that instance of BPF is ONCE. Every month, you need to re-initiate the BPF. This will have a small admin activity.
    Hope this helps.

  • How to run Applets on IE6.0 with jdk1.4.1 installation

    Hi All,
    I have IE6.0 on my machine. Without any jdk installations applets were working fine on IE6.0. Then I installed jdk1.4.1 on my machine and all the applets stopped working on IE6.0.
    I uninstalled jdk1.4.1 and then again installed jdk1.3.1 hoping that things will become normal.
    But nothing changed and now applets are not working on IE6.0 even with jdk1.3.1.
    I will really appreciate incase some could help me understand or tell me incase there is some MS JVM plug in which will make applets work on IE6.0.
    Regards,
    Anand

    Just disable Sun's Java. In IE go to "Tools|Internet Options|Advanced" and uncheck the option that says something like "Sun Java 2".

  • How to run applet within packages in tomcat

    I have servlet packages and applet packages in my application. I can successfully called my servlet packages by using:
    http://localhost/servlet/mypackage1.mypackage2.myServlet
    However, I can't call my applet packages by using:
    http://localhost/myapplet.html
    <Applet
    CODE = "myApplet.class"
    BASECODE = "mypackage1.mypackage2/"
    </Applet>
    I am currently using tomcat default web services directory structure as follows:
    webapps\ROOT\WEB-INF\classes\mypackage1\mypackage2\myServlet.class
    webapps\ROOT\mypackage1\mypackage2\myApplet.class
    I received the following error:
    noClassDefFoundError:myApplet (wrongname: mypackage1\mypackage2\myApplet)
    Thanks in advance for any helps.

    This doesn't have anything do with servlets. Your
    problem, as you said, is how to write the HTML to run
    an applet. Whatever is trying to load that HTML
    doesn't know anything about your servlets and doesn't
    care. I think it is complaining because you did or
    didn't put your applet in the (badly-named) package
    mypackage1.mypackage2.The package names I used was just an example. My real package names were really long and 10 levels deep so I didn't want to use it. I finally figured out how to tell the browser to find my applet class package. Using my original example (with the bad package names):
    <Applet
    CODE = "mypackage1.mypackage2/myApplet.class"
    </Applet>
    I removed the codebase and just put the package class file in the root directory.
    I am sure there are more than one way to make this thing work but this is how I got my to work. Thanks.

Maybe you are looking for

  • How to skip validation using serverListener

    Hi, I am using Jdev 11.1.2.3.0 My requirement was to called some action using the keyboard key. I tried with Access key first but its behaving differently in different browser. Crome: allowing action on access key press. IE : setting the focus on com

  • I cant place a pdf in Indesign because of missing fonts

    I am running into a problem with a pdf add I am trying to place in a booklet. When I go to export the Indesign  document it tells me it cant because the pdf I placed in it has a font I don't have. I always thought you could place and print pdfs witho

  • FF6 not showing a page I did a 301 redirect to; all other browsers do. Why?

    I'm building a website in Adobe Business Catalyst and am redirecting a page to a blog. Works fine on Chrome, Safari and IE. I get a Page Not Found on Firefox 6. Makes no sense to me...

  • How to recognize a "new" iPad

    I have not seen any physical attribute that makes the third gen iPad look different than the iPad 2.  I am sure the serial number would give it away ... are there any obvious features or markings?  Like the placement of buttons or camera

  • Display Smart form (PDF) in SAP UI5 Error

    Hello everyone, I was following the blog Display Smartform (PDF) in SAPUI5 by @Chandarshekhar . I am getting nothing displayed in the pdf. Just the logo is displayed. I really don't know what the problem is . Any help would be appreciated.