Results 1 to 17 of 17
  1. #1
    ki_ha1984 is offline Senior Member
    Join Date
    Aug 2011
    Posts
    118
    Rep Power
    0

    Default what is happens now with applets and the npapi

    Hi everyone,

    I have a lot of applets online and how does not work in chrome.
    Does anyone knows what i have to do in order to run again my applets in chrome or how to transform my applets to any browser runnable application?

    Thank you in advance

  2. #2
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    1,983
    Rep Power
    8

    Default Re: what is happens now with applets and the npapi

    From here: https://duckduckgo.com/?q=applets+chrome
    To here: https://www.java.com/en/download/faq/chrome.xml

    Chrome no longer supports NPAPI (technology required for Java applets)

    The Java plug-in for web browsers relies on the cross platform plugin architecture NPAPI, which has been supported by all major web browsers for over a decade. Google's Chrome version 45 (scheduled for release in September 2015) drops support for NPAPI, impacting plugins for Silverlight, Java, Facebook Video and other similar NPAPI based plugins.
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2™ © 2013

  3. #3
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    13,541
    Rep Power
    26

    Default Re: what is happens now with applets and the npapi

    As far as Applets in general goes, Oracle is going to drop them entirely in 9.
    linky
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  4. #4
    warelephant is offline Member
    Join Date
    Apr 2016
    Posts
    2
    Rep Power
    0

    Default Re: what is happens now with applets and the npapi

    JavaFX (2, 3) will be the new standard with FXML. (HTML like)

    It makes more sense that way.


    (removed advert)
    Last edited by Tolls; 04-08-2016 at 09:38 AM. Reason: remove advert

  5. #5
    ki_ha1984 is offline Senior Member
    Join Date
    Aug 2011
    Posts
    118
    Rep Power
    0

    Default Re: what is happens now with applets and the npapi

    I know that the chrome has disabled the NPAPI plugin, but what is going to happen with our applet based applications?

    Today I export an applet as webstar application, but get the same result, it did not run in chrome. Do I have to make any change in order to run?

    Or is some way to export my applet in html5?

    Thanks for your aswers

  6. #6
    ki_ha1984 is offline Senior Member
    Join Date
    Aug 2011
    Posts
    118
    Rep Power
    0

    Default Re: what is happens now with applets and the npapi

    Dear warelephant Is there any way to transform my applet to JavaFX in order to have it running in all browsers?

    Thank you

  7. #7
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    13

    Default Re: what is happens now with applets and the npapi

    Quote Originally Posted by ki_ha1984 View Post
    but what is going to happen with our applet based applications?
    Applets are old tech and have been the subject of security issues. You will probably have to develop
    an alternative to applets. Perhaps JNLP and Java Webstart would work.

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  8. #8
    ki_ha1984 is offline Senior Member
    Join Date
    Aug 2011
    Posts
    118
    Rep Power
    0

    Default Re: what is happens now with applets and the npapi

    Dear Jim,

    in my applet's properties -> Application ->Web star i have enabled it, as follow.
    what is happens now with applets and the npapi-untitled.png
    After i built the application i got an .html, a .njlp, a .jar and a lin folder.
    After i transfer them to my server they could not run in chrome again.

    Is there any tutorial about this problem, that i face ?

    Thank you again.

  9. #9
    ki_ha1984 is offline Senior Member
    Join Date
    Aug 2011
    Posts
    118
    Rep Power
    0

    Default Re: what is happens now with applets and the npapi

    Now i export my webstar application and i try it in chrome, when i press the launch button it redirect me to oracle portal to download the Java which is already in stalled.
    In mozilla i don have thus problem, the webstar application starts normal.

    Any idea?

    X.

  10. #10
    jim829 is offline Senior Member
    Join Date
    Jan 2013
    Location
    Northern Virginia, United States
    Posts
    6,226
    Rep Power
    13

    Default Re: what is happens now with applets and the npapi

    First, I didn't read your concern carefully enough (you already tried Webstart). Unfortunately, I am not an expert on this capability. Be patient
    and someone else will probably be able to respond.

    Regards,
    Jim
    The JavaTM Tutorials | SSCCE | Java Naming Conventions
    Poor planning on your part does not constitute an emergency on my part

  11. #11
    ki_ha1984 is offline Senior Member
    Join Date
    Aug 2011
    Posts
    118
    Rep Power
    0

    Default Re: what is happens now with applets and the npapi

    Thanks Jim,

    I hope that someone may help me.

  12. #12
    ki_ha1984 is offline Senior Member
    Join Date
    Aug 2011
    Posts
    118
    Rep Power
    0

    Default Re: what is happens now with applets and the npapi

    Any help guys, why chrome redirect me in oracle page while i have installed the java, and my webstar application runs in mozilla?????

  13. #13
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    13,541
    Rep Power
    26

    Default Re: what is happens now with applets and the npapi

    Anything that involves the browser to launch your app will not work.
    This includes Web Start.

    If you want your stuff to run in a browser then you'll need to rewrite it in Javascript/HTML5.

    JavaFX will not help as that's simply a replacement for Swing, and nothing to do with browser plugins.

    The only other option is turn it into a Swing app and provide a download link for the executable jar the user can launch on their own system.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  14. #14
    SurfMan's Avatar
    SurfMan is offline Godlike
    Join Date
    Nov 2012
    Location
    The Netherlands
    Posts
    1,983
    Rep Power
    8

    Default Re: what is happens now with applets and the npapi

    Quote Originally Posted by Tolls View Post
    Anything that involves the browser to launch your app will not work.
    This includes Web Start.

    If you want your stuff to run in a browser then you'll need to rewrite it in Javascript/HTML5.

    JavaFX will not help as that's simply a replacement for Swing, and nothing to do with browser plugins.

    The only other option is turn it into a Swing app and provide a download link for the executable jar the user can launch on their own system.
    That is incorrect. We launch our application either via local deployment (installer) or via WebStart. So JNLP's do still work. Rewriting it in Javascript /HTML is not the solution.

    @OP: Chrome doesn't know that it should open .jnlp files with javaws.exe. I am not going to copy/paste or type it all out, so follow the last reply on this page. After that, use the orange launch button on this page to test your setup.
    "It's not fixed until you stop calling the problem weird and you understand what was wrong." - gimbal2™ © 2013

  15. #15
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    13,541
    Rep Power
    26

    Default Re: what is happens now with applets and the npapi

    Ah.
    Yes...even the link I posted above says JNLP works.
    Wonder where I got that idea from?
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  16. #16
    ki_ha1984 is offline Senior Member
    Join Date
    Aug 2011
    Posts
    118
    Rep Power
    0

    Default Re: what is happens now with applets and the npapi

    Thank you for your answers,

    SurfMan, i tried the link that you send, but my problem is that my orange launch button redirect me to the oracle website to download the java, but i have installed the last version of java in my pc.
    It seems that the browser does not start to download my application and the jnlp file, why ?

    Also when i try to open the example that you provided, the Chrome had disabled the functionality "Always open files of this type", why ?

    Thank you again

  17. #17
    ki_ha1984 is offline Senior Member
    Join Date
    Aug 2011
    Posts
    118
    Rep Power
    0

    Default Re: what is happens now with applets and the npapi

    Hi again guys,

    May you help with the above question?

    Thanks

Similar Threads

  1. Java Plug-in 2 for NPAPI Browser error
    By mkphoto44 in forum New To Java
    Replies: 3
    Last Post: 05-11-2012, 07:33 PM
  2. Applets
    By MBD in forum New To Java
    Replies: 2
    Last Post: 11-02-2011, 03:49 AM
  3. I need help with Applets
    By ProgrammingPup in forum Advanced Java
    Replies: 1
    Last Post: 12-22-2009, 08:07 PM
  4. Can't see any Applets
    By pyr0chem in forum Java Applets
    Replies: 9
    Last Post: 12-17-2008, 04:24 AM
  5. applets on mac what´s going on?
    By willemjav in forum Java Applets
    Replies: 6
    Last Post: 04-19-2008, 07:03 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •