Java小程序:从浏览器中运行原生code? [英] Java applet: run native code from browser?

查看:166
本文介绍了Java小程序:从浏览器中运行原生code?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

难道还要通过在浏览器中的Java小程序来启动Windows下一个原生应用程序? IE浏览器点击这里开始NOTEPAD.EXE在网页上。最新的参考,我可以找到这个日期是2002年。我想知道,如果这种模式/概念不再支持。

Is it still possible to start a 'native' application under windows via a java applet in a browser? IE "Click here to start notepad.exe" on a web page. The most recent reference I could find for this was dated 2002. Im wondering if this model / concept is no longer supported.

推荐答案

是的,但小程序已经签署。

Yes, but the applet has to be signed.

签名的小程序会提示用户给他们的权限。一旦给出,小应用程序具有相同的权利在机器上运行的任何应用程序,包括启动本地应用的能力(或链接本地库,我已经在过去做的)。

Signed applets will prompt the user to give them permission. Once given, the applet has the same rights as any application running on the machine, including the ability to launch native apps (or link native libraries, which I've had to do in the past).

这篇关于Java小程序:从浏览器中运行原生code?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆