[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] Can I view Java applets in the SWT Browser?

The first entry was removed from the http://www.eclipse.org/swt/faq.php page when the second entry was added.  I assume you came across the first entry in a cached or copied version of this file's old content.


will_wen <will_wen@xxxxxxxx>
Sent by: platform-swt-dev-bounces@xxxxxxxxxxx

05/02/10 11:26 PM

Please respond to
"Eclipse Platform SWT component developers list."        <platform-swt-dev@xxxxxxxxxxx>

[platform-swt-dev] Can I view Java applets in the SWT Browser?


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:

1.        The installed IE version is 7.0 or newer
2.        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)
3.        The application is launched with the same JRE that provides the IE Java plug-in
4.        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"
platform-swt-dev mailing list