简体   繁体   中英

Run java applets on a wpf web browser

I am building a WPF (VS2015 C# .NET 4.5) application that is using WebBrowser control. I am trying to using this to remotely monitor a pump system which has embedded web server. That web server contain a java applet which working as a HMI (Human Machine Interface). Problem is java applets are not running in my WebBrowser control. I tested the java with java test page . But it does not detect java. When I am trying with IE 11 it detects the java and no problem for applets. I did tried this . But nothing works for me.

Is there any way to solve this? Or is there any WPF controllers for running java applets?

Thank you very much...!

After long hard time I found the solution. If you want to enable java content in your WebBrowser control you should specify the IE version as described here . But you have to careful with your JRE and your application. Both of them should be 32bit or 64bit. Otherwise java applets won't run.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM