java 如何在谷歌浏览器中运行java jar小程序?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/25406126/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-11-02 07:58:43  来源:igfitidea点击:

how to run java jar applet in google chrome?

javaapplet

提问by Debu

I want to run a java j2me application in google chrome as an applet. I tried using microemulator, but failed. Please could you tell me how to do that ?

我想在谷歌浏览器中作为小程序运行一个 java j2me 应用程序。我尝试使用微模拟器,但失败了。请你能告诉我怎么做吗?

My setup is the following : windows7, 32 bit, java jre version 8, java plugin 11.something, Google chrome version-36. Actually i want to run java .jar j2me application( opera-mod-4.2) in google chrome. i run java .jar application in my pc using microemulator. It run ok. It has a option make for web., When i clicked it an appled html file and two jar file is created in a folder, when i tri to run this html file in google chrome. It becomes a white blank screen. but not run the application.

我的设置如下:windows7,32 位,java jre 版本 8,java 插件 11.something,Google chrome 版本 36。其实我想在谷歌浏览器中运行 java .jar j2me 应用程序(opera-mod-4.2)。我使用微模拟器在我的电脑上运行 java .jar 应用程序。它运行正常。它有一个网络选项,当我点击它时,一个应用程序的 html 文件和两个 jar 文件在一个文件夹中创建,当我尝试在谷歌浏览器中运行这个 html 文件时。它变成一个白色的空白屏幕。但不运行应用程序。

回答by Bruno Franco

  1. Enter about:pluginsin the search field.
  2. In the Plug-ins list, look for Java and check whether Java is enabled (if the Disable link appears, Java is already enabled)
  3. Click on the Enable link (if available)
  4. (Optional) Check the Always allowed box to stop additional Chrome warnings when running Java content
  1. about:plugins在搜索字段中输入。
  2. 在Plug-ins列表中,查找Java,查看是否启用了Java(如果出现Disable链接,说明Java已经启用)
  3. 单击启用链接(如果可用)
  4. (可选)选中始终允许框以在运行 Java 内容时停止其他 Chrome 警告

Got it from: http://java.com/en/download/help/enable_browser.xml

来自:http: //java.com/en/download/help/enable_browser.xml

If it doesn't help, tell us the error message and try another browser to give us a clue.

如果没有帮助,请告诉我们错误消息并尝试使用其他浏览器为我们提供线索。