[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[platform-swt-dev] Can I view Java applets in the SWT Browser?
|
这个是我05年看到的答复:
Why can't I run Java applets in the SWT Browser?
A: Applets
usually don't show up in the SWT Browser. On Windows (Internet Explorer), the
Java plugin fails to run a second Java virtual machine to execute the applet
because two Java virtual machines cannot run in the same process. On Linux
(Mozilla), the Java plug-in has been reported to work because it executes in its
own process.
而现在看到的却是:
Q:Can I view Java applets in the SWT Browser?
A: Browser support for applets
varies by platform:
- Windows (IE): As of Eclipse/SWT 3.5, applets can be viewed with IE-based
Browsers if all of the following conditions are met:
- The installed IE version is 7.0 or newer
- The installed IE Java plug-in is Sun JRE 1.6u10 or newer, with the Next
Generation Java Plug-in enabled (this plug-in is enabled by default when the JRE
is installed)
- The application is launched with the same JRE that provides the IE Java
plug-in
- The application adds the JRE's plugin.jar, deploy.jar and javaws.jar jars to
the JRE's boot classpath. For example, to launch eclipse:
eclipse -vmargs
-Xbootclasspath/a:"C:\Program Files\Java\jre6\lib\plugin.jar;C:\Program
Files\Java\jre6\lib\deploy.jar;C:\Program Files\Java\jre6\lib\javaws.jar"
那现在swt的Browser能否支持applet的?谢谢