Deploying applets with deployjava.js question

Hi, I'm using deployjava.js and by and large it appears to be working well.
The one thing that's bugging a few customers is that the very first time that we install Java on IE on Windows; after you accept the Activex control in the IE security bar you're redirected away from our site to Java.com and a big download button.
The applet page that we were on is completely gone.
Most people have figured this out but a few others have been confused.
Is there any way to stay on the applet page and avoid the redirect to java.com?
Thanks,
Martin

Hi gimbal2,
By uninstalling Java from the Control Panel and then manually cleaning up the registry and filesystem I managed to get deployJava.js to install on IE8 now. Thank you.
I now have the same problem on all 3 browsers (Firefox, Chrome, IE8) in that the installer takes 2-3 minutes to run, all the time our webpage is being refreshed by deployJava.js every second which looks terrible.
Finally, when the Java installer completes, it fails to perform the final refresh so on FF/Chrome I'm left with a grey box "A plugin is needed" or on IE8 a white box with the red X icon.
We have over 3 million users on our website and use applets for streaming stock price data. Yesterday when the default applet security setting in 7u11 was upped to high our users started getting the warning dialog about an unsigned class we use for Java detection and bootstrapping (fair enough).
The deployJava.js solution now works but looks terrible and leaves the user uncertain as to whether Java installed successfully.
I'll try and modify deployJava.js to reduce the refreshes and make the final refresh work and post findings here if successful.

Similar Messages

  • Deploying Applet using deployJava.js...

    Hello,
    I have followed the directions posted at https://jdk6.dev.java.net/deployment_advice.html which explains how to use deployJava.js to guarantee that a minimum version of the JRE is available on a client desktop. The documentation says that if the client doesn't have the JRE installed, they will be prompted to install it and then redirected back to the site from which they originally came. This last part doesn't seem to work. Once the JRE is installed the client, instead of being redirected back to my site, is redirected to another Sun URL that has a Verify Installation button and the process ends there. The user is never redirected back to my web site. Is there something special I need to do in order to redirect the client back to my web site? Or is this a bug in the deployJava.js? The URL that uses this script is http://www.easypetidtags.com/.

    This is a bug on the java.com website. The returnpage argument is being sent to the sight but is being ignored.
    They have been informed of this and replied that they are in the middle of redesigning the site, and will incorporate the fix with the redesigned site.
    /Andy

  • How to deploy jfxpanel with applet to Tomcat.....

    I want to deploy jfxpanel with in a panel in applet. But a message appear that jfxpanel class not found. when i include the jar file jfxrt.jar, tomcat isn't loaded this file. After that i use the environment varibale and set the class path in javafx runtime lib. but still unable the same exception appeared. I want your help to solve this issue..

    Thank you igor. Your reply resolve most of the issues.. of my application. when i installed javafx runtime alone . the application link http://javafx.com/about-javafx/ that you have given me works fine but it changes the jre or something else... that my own developed application not able to make connection with the tomcat server. when i reinstalled jdk6u29 my application works fine and the link above is not working.
    After that without installing the runtime of javafx 2.0 i install the javafx sdk 2.0.1 the runtime installed by itself. but the same link throws the same exception the exception as after launching my own client application.
    java.lang.RuntimeException: java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
         at java.lang.Class.getDeclaredConstructors0(Native Method)
         at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)
         at java.lang.Class.getConstructor0(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$12.run(Unknown Source)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
         at java.awt.EventQueue.access$000(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.awt.EventQueue$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: javafx.embed.swing.JFXPanel
         at sun.plugin2.applet.Plugin2ClassLoader$2.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Unknown Source)
         at sun.plugin2.applet.JNLP2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         ... 20 more
    Exception: java.lang.RuntimeException: java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
    After installing the runtime of javafx again the link worked successfully and my client application application didn't able to make connection with tomcat.
    is there any way to merge jre with javafx runtime. and with loading of jre , javafx runtime loaded by itself.????

  • Deploy Applet and MySQL - how to read and write

    Question on deploying Applet and MySQL
    I am building an applet that is to be a part of a simple game. The applet is supposed to read data from a MySQL server and use it to place towns on the map. In addition, the applet must be able to write to the base.
    I have build a prototype and ran it in netbeans on my computer. It then successfully read data from a local MySQL base. HOWEVER; when I embed the applet in html code it no longer reads from the base. My method for connecting to the base is
    try{
    Statement stmt;
    ResultSet rs;
    Class.forName("com.mysql.jdbc.Driver");
    String url=adress;
    Connection con=DriverManager.getConnection(url, user, user);
    stmt=con.createStatement();
    rs=stmt.executeQuery("SELECT * " +
    "from "+table+" ORDER BY id");
    while(rs.next()){
    get data...
    Town T=new Town(data...); //construct town object
    TL.put(T); //put town objects in an object TownList to use later
    con.close();
    catch(Exception e){
    So;
    1) Why wont the applet read anymore?
    2) Is there a better way to do this? I have heard that its better to connect applets to servlets in some situations. What demands does this place on the server? Is there software that you need to install on the server to use servlets?

    I think I do need an applet. The map I have written permits a lot of features that I dont know how to achieve in another way.
    1) Zooming in and out on mousewheel
    2) Clicking on on two towns gives the distance and by selecting a trooptype one can get information about the traveltime between cities.
    3) Right now, I have a feature to find players or groups of players that are of special interest. It allows a player to submit a list of interesting players. The applet reads this list and provides a button with the players name. If one clicks the name of a player, all his cities flash between their originall color and white (using thread).
    I need java to do this and I need to run it in a webbrowser because there are som parts of the game that is made up of php. So I assume I have to build it as an applet?

  • Signed applet with jdk1.4.2

    Hello, friends! I'm having difficulties running an applet with jdk1.4.2. This applet was working properly with the previous version, jdk1.4.1. Perhaps I've forgotten some details or some changes in the new version. Any idea?
    Thank you.

    Hi there,
    I am also facing similar problem. Please read the following.
    I have a query regarding JRE 1.4.2_03. What does it have, which makes it differ from JRE 1.4.1_02 ? Actually, I am asking this question, because I have a signed JApplet where, user's select a file displayed in client JApplet's JTable and stores it to the specified location on his/her local drive. The JApplet runs perfectly well running in IE 6.0 with JRE 1.4.1_02. But, gives error on IE 6.0 with JRE 1.4.2_03.
    Any help regarding the same will be helpful...
    I tried a Signed applet with no GUI in it which runs well on JRE 1.4.2_03.
    Both the applets are signed with jdk1.1.6.
    Thanking you in advance,
    Ganesh A Baviskar.

  • How to start java applet with netbeans 6.1

    hey,
    I want to learn how to start java applet (with database) with netbeans.. I'm new to java...can you show me how can i start..if you have any doc about it can you send it to me..thank you..:)

    You really should be asking this NetBeans question at the NB site - these forums are for Java language topics, not NB support.
    [http://www.netbeans.org/kb/61/web/applets.html]
    Almost any NB question you have can be answered by either the NB web documentation or the NB program's Help.

  • Exchange Server Deployment Assistant - Single Sign On Question

    I'm running through the Exchange Server Deployment Assistant to help with a Hybrid deployment and for
    right now, I don't want to be bothered with SSO. In the Assistant, when I answer
    No to the Do you want all users to use their on-premises credentials when they log on to their Exchange Online mailbox? question when I get to the
    Before You Begin section it always shows my answer to that question as being
    Yes.
    Any ideas? Can I simply ignore the sections that relate to AD FS as I work through the steps?
    Thanks!

    Hi Adare,
    I have tested on Exchange Server Deployment Assistant with "Hybrid"->"Exchange 2010 based hybrid", and get the same result as yours.
    Information on "Do you want all users to use their on-premises credentials when they log on to their Exchange Online mailbox?" as below:
    Single sign-on allows users in both the on-premises organization and the Exchange Online organization to access resources and features across the two organizations without being prompted for additional user credentials. Single sign-on is configured for
    a hybrid deployment using identity federation and Active Directory synchronization. If you're planning to have on-premises users access Exchange Online accounts using the Outlook mail client or planning to implement Exchange Online Archiving,
    we strongly recommend selecting Yes for this question and deploying single sign-on in your on-premises organization.
    It seems that this is the reason why Yes has been selected.
    Thanks 
    Mavis Huang
    TechNet Community Support

  • How to use an Applet with multiple-jars

    Hi everybody,
    I would like to use an applet with multiple-jars.
    ex:
    <applet codebase="." archive="main.jar,Addon1.jar,Addon2.jar" code="Appl.class" id="MyTest" width="600" height="30">
         <param name = "MyParam" value = "1;2">
    </applet>
    An applet with :
    -> 1 Main JAR
    -> X Addon JARs (X : a parameter "PRM")
    My main part knows the parameter "PRM" -> knows which addon to use
    My question is, how do I use classes from addons, inside the main part (and vise-versa if possible) ?
    Thanks in advance
    Best regards

    I try what you say :
    === HTML ===
    <applet codebase="." archive="Main.jar,Addon1.jar" code="Test.Appli.class" id="MyTest"  width="600" height="30">
         <param name = "myPrm1" value = "1;2">
    </applet>=== MAIN JAR ===
    package retest;
    interface InterfAddOn1 {
        public void AfficheTest1(String sStrTest);
    public class Ctest {
        public Ctest() {}
        public void unTest(String sClassNameR) {
          String sClassName = "PackTestAddon.TestClass1";
          try {
              Object oObj = Class.forName(sClassName).newInstance();
              ((InterfAddOn1) oObj).AfficheTest1(" Hello World ");
          } catch (ClassNotFoundException ex1) {
              System.out.println("ERR Class not found");
          } catch (IllegalAccessException ex1) {
              System.out.println("ERR Illegal Access");
          } catch (InstantiationException ex1) {
              System.out.println("ERR Instantiation Exception");
    }=== ADDON JAR ===
    package PackTestAddon;
    public interface InterfAddOn1 {
        public void AfficheTest1(String sStrTest);
    package PackTestAddon;
    public class TestClass1 implements InterfAddOn1 {
        public TestClass1() {}
        public void AfficheTest1(String sStrTest) {
          System.out.println("Test :"+sStrTest);
    }I have this error :
    Exception in thread "AWT-EventQueue-2" java.lang.ClassCastException: PackTestAddon.TestClass1
         at retest.Ctest.unTest(Ctest.java:58)
         at retest.Appli.actionPerformed(Appli.java:442)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    I don't really know why ... =;o(
    Helppppp ... Thanks in advance.

  • Deployment Diagram with JDeveloper

    Hi,
    is it possible to draw deployment diagrams with JDeveloper's UML tool?
    Regards,
    Ridvan

    'will it be easy to migrate 10.1.3.3 bpel processes using stored procedures, human tasks, decision rules to 11g?' I think a better place to ask this question would be on the SOA Suite forums:
    SOA Suite and OC4J 11g Technology Preview
    SOA Suite

  • How to run a applet with dependencies???

    Hi all,
    I want to use jasper report with applet. How to add jasper*.jar and commons*.jar in classpath to run applet at client side?
    if anybody done this before or have any idea kindly write.
    Thanks in advance!!
    -Balaji

    Balaji wrote:
    ..I want to use jasper report with applet. How to add jasper*.jar and commons*.jar in classpath to run applet at client side?Add references to the Jars in the archive attribute of the applet (http://download.oracle.com/javase/tutorial/deployment/applet/html.html).
    AKA RTFM.

  • Deployment projects with other installers inside?

    Hello,
    I'm developing application with Kinect and I want to create an installer to distribute it. Also, I need to install .NET Framework 4.0 if it is not installed. I'm working with VS 2012, so I had to install InstallShield LE but does not seem to have the option
    to add an external installer. Do you know how can I do it? Maybe with WiX projects or Nullsoft?
    Thank you!

    Hello,
    Thank you for your post.
    I am afraid that the issue is out of support range of VS General Question forum which mainly discusses the usage of Visual Studio IDE such as
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    I did some search and find an article which may help you:
    http://www.microsoft.com/en-us/kinectforwindows/faq.aspx
    About deploying projects with Kinect, please reference ‘Can you provide some examples of recent Kinect for Windows
    deployments?’ section on that article above. For detailed information and more support, please consult on Kinect for Windows SDK forum:
    http://social.msdn.microsoft.com/Forums/en-US/home?category=kinectsdk
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Debug STK applet   with  JCOP 3.0

    Hi all
    i want to debug my STK applet with JCOP tools in eclipse plugin.but somehow i am not able to debug my SIM toolkit with JCOP.
    first ques , is it possible?
    right now i m debuging in manu project---->debug
    then i m choosing java card application to debug,but its not working:(
    how can i proceed step by step for debuging?
    one more ques,
    is it possible to load applet on java card only with JCOP tools?(means without any s/w like views professional or aspects developer.)
    Regards
    Divyesh.

    Hi all.
    I'm having the same problem. I know that a html file is created everytime the applet is invoked (clicking on debug or run) with a diferent name to be called as argument of appletviewer.
    But I will join to the question... How can we use our testpage to do a test of a devel applet?
    Because mine has to be used with javascript and it's very difficult to test it without a custom test page or appletviewer...
    Thank you all

  • Help creating a login applet with JDBC

    Hi, I'm trying to create a login applet using a table from a database (created with Microsoft Access). The bottom line is that I have very little knowledge of ActionListeners. I do know some things about JDBC, but most of it is through notes and lots of reading. I was wondering how to go about looking through a table (with two columns, user and password), to see if it matches what is typed into a JTextField and a JPasswordField. Just a sample piece of code would be helpful. Thank you very much in advanced. Also, I have the GUI done for what I need, just no ActionListeners or JDBC functionality implemented. Here it is:
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.sql.*;
    public class login extends JFrame /*implements ActionListener*/ {
         private Container container;
         private GridBagLayout layout;
         private GridBagConstraints gbc;
         public login()
              super("Login");
              setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE);
            setSize(300,130);
            setLocationRelativeTo(null);
              container = getContentPane();
              layout = new GridBagLayout();
              container.setLayout(layout);
              gbc = new GridBagConstraints();
              labelUser = new JLabel("Username:");
              gbc.insets = new Insets(2,2,2,2);
              container.add(labelUser, gbc);
              textUser = new JTextField(15);
              gbc.gridx = 1;
              gbc.gridwidth = 3;
              container.add(textUser, gbc);
              labelPassword = new JLabel("Password:");
              gbc.gridy = 1;
              gbc.gridx = 0;
              gbc.gridwidth = 1;
              container.add(labelPassword, gbc);
              textPassword = new JPasswordField(15);
              gbc.gridx = 1;
              gbc.gridwidth = 3;
              container.add(textPassword, gbc);
              button1 = new JButton("Login");
              gbc.gridy = 2;
              gbc.gridx = 1;
              gbc.gridwidth = 1;
              container.add(button1, gbc);
              button2 = new JButton("Cancel");
              gbc.gridx = 2;
              container.add(button2, gbc);
         public static void main(String args[]) {
            new login().setVisible(true);
        private JButton button1, button2;
        private JLabel labelUser, labelPassword;
        private JTextField textUser;
        private JPasswordField textPassword;
    }Thank you again in advanced.

    Sir,
    Much of your question makes middling sense to me. You say applet but you have JFrame for example. I would caution you right now an applet with access for a DB is asking for trouble. Never minding the various security issues Access is not really intended for this sort of operation.
    Now none of that actually seems to be your question but I just thought I'd address that before you go too far down a road fraught with peril.
    As far as what I think you are asking assuming our table looks like this.
    tblUser
    username VARCHAR (access text field) primary key
    password VARCHAR (again known in access as text)then the code would look something like this...
    Connection c; //create your connection
    PreparedStatement ps = c.prepareStatement("SELECT username FROM tblUser WHERE username=? AND password=?");
    ps.setString(1,usernameVariable);
    ps.setString(2,passwordVariable);
    ResultSet rs = ps.executeQuery();
    if(rs.next()){
      // login successful
    }else{
      // login failed!
    rs.close();
    ps.close();
    c.close();Also duffymo will be unhappy if I don't mention that you will really want to give second thought to mixing your database code with your GUI code. Please take a gander through http://java.sun.com/blueprints/patterns/MVC.html
    Sincerely,
    Slappy

  • Deploying Applets on OAS (urgent help needed)

    I have installed and Configured OAS 4.0.7.1 on Win Nt Server ( SP5)
    I have created a very simple Java Applet using JDeveloper 1.1 and followed the deployment method as specified in the Work book (Student Work book).
    I have modified the source to add the ARCHIVE line.Using the Deployment Wizard I have created the archive file (.jar).
    I have the Java class files and the archive file in the same directory.
    I have added a HTTP Listener with port 90 and set the Directory for Virtual path corresponding to the directory where the java class files and archive files are available.
    Now when I enter the URL for the invoking HTML file from the Browser the Applet seems to be loading but it doesn't. The error message at the bottom of the Applet(looks like the Applet Window):
    load: <packagename>.<classname> cannot be instaniated.
    Please help me to resolve the problem at the earliest.
    Thanks
    Thiru

    Marcosk2,
    I am still having problems.
    kindly tell me the steps in detail.
    what i have done is:
    1.i have a simple applet (with frame) with a button.
    2. I have edited the html file and included the following:
    CODEBASE="imtac" -the virtual directory name
    ARCHIVE = "carclas.zip"
    3.with Deployment Wizard I have created the zip file (carclass.zip);
    Whe I run the Applet (in JD1.1) it is not running as it is looking for the path (imtac) but if i remove the virtual path (imtac) then the applet runs. You asked me to include the virtual path name in the CODEBASE parameter.
    Please do let me know in steps so that i too can deploy the applets in the WEB.
    It will be of great help even if u give me your telephone no with country code and area code so that I could talk to u and make things workable here. ( i am in Oman).
    I have to give a demo tomorrow.
    Thanks

  • Deploying Applet which uses JCORBA

    Hi,
    I've a problem with deploying Applet, which uses JCORBA
    application jcoSql (it's on OAS 4 on Windows NT). I need in
    deploy directory package COM/visigenic/vbroker.. (because of
    calling ObjectFactory) and com/swing/... (because of using
    component JDialog in the Applet). But first direcory COM must be
    in uppercase and second com in lowercase!! And that is problem
    on NT. Could somebody help me?
    Thanks,
    Ales
    null

    You can make one (or both) of te packages available in a ZIP or
    JAR file.
    Thanks,
    -Roel.
    Ales Kemr (guest) wrote:
    : Hi,
    : I've a problem with deploying Applet, which uses JCORBA
    : application jcoSql (it's on OAS 4 on Windows NT). I need in
    : deploy directory package COM/visigenic/vbroker.. (because of
    : calling ObjectFactory) and com/swing/... (because of using
    : component JDialog in the Applet). But first direcory COM must
    be
    : in uppercase and second com in lowercase!! And that is problem
    : on NT. Could somebody help me?
    : Thanks,
    : Ales
    null

Maybe you are looking for

  • Making dialog close button ("X") at the top invisible

    Can any one tell me how to make the close button of invisible or enabled(false) i.e should not be visible at all. Any help is appreciated.

  • Access Control functionality in Oracle workflow

    Hi everyone, I am doing research into access control models and workflow systems (separation of duty policies in particular). As far as I could tell, Oracle Workflow does not provide much in terms of securing access to data in a workflow process (exc

  • Print a designer form as pdf  using distiller

    Is it possible to print a life cycle designer form as pdf? We have test reports with diffrent form-fields and signature on it. They are all made with life cycle designer 7.0 and filled in with Acrobat Professional 7.05. Is it possible to print the fo

  • CAMILEO P30 - how to use it as a webcam ?

    I am to able to turn on the webcam function despite it is advertised How to use/configure ? rgds

  • Scalability and Architecture Question

    I am currently working on an app that will generate a resume from a set of user defined input into several different formats from an XML file (MS Word, PDF, TXT, HR-XML, and HTML). We are thinking that we will write all the files once at publish time