Flash in Java browser – Enabling Flash within WebRenderer


Duncan Thomas






One of the most popular sets of search terms we see in our website statistics relate to enabling Flash in WebRenderer. When we designed WebRenderer, we built it knowing that Flash was still being used and demanded by a lot of users, so we made sure that you could enable it within WebRenderer. Importantly, we made it easy for you to activate.

On most platforms Flash should work with WebRenderer Swing Edition if Flash has been set up to run in Firefox, as WebRenderer Swing Edition uses the plugin finder from the Mozilla engine to detect the Flash plugin. If Firefox is not setup with Flash on the target machine, the easiest way to enable Flash is to place the plugin into the WebRenderer profile directory located at:

<user home directory>/.webrendererswing6/<platform>/corecomponents/plugins

The Flash plugin file that is required depends on the platform. On Windows, the file name contains the Java architecture to be used (32 or 64-bit) and the Flash version number. Note that the file name specifies the architecture, regardless of the directory it is located in. The plugin file to use can be obtained from a system that has had Flash installed.

On a Windows 7 machine, the plugin files (for multiple architectures) are located at:

On Linux, the Flash plugin file is libflashplayer.so, and can be located by extracting the Flash download of the required architecture.

Repackaging WebRenderer to include Flash:
1- Extract the corecomponents-swing-xxx.jar (JAR files can be extracted the same as .zip files)
2- Add Flash or other plugin files to the corecomponents/plugins/ directory
3- Recreate the JAR file from the corecomponents/ directory, to replace the original corecomponents-swing-xxx.jar

The plugin should now be deployed when WebRenderer unpacks itself.

Please note; if you have already run WebRenderer then the corecomponents-swing-xxx.jar will not extract and run with your plugin, and you therefore have to force WebRenderer to extract these. This can be done by altering the versionxxx (“xxx” denotes the version number) and calling the BrowserFactory setCorecomponentsExtractOn method. Alternatively the .webrendererswing6 directory can be deleted from the target system entirely. This ensures that the latest components will be extracted.

It should be kept in mind that although third party plugins can be used with WebRenderer we cannot make any assurances regarding the quality of third party plugins or their interoperability with WebRenderer.

Related links:
Flash Player download – http://get2.adobe.com/flashplayer/otherversions/
Flash version check and test – http://www.adobe.com/software/flash/about/
Creating a JAR file – http://docs.oracle.com/javase/tutorial/deployment/jar/build.html



These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • del.icio.us
  • StumbleUpon
  • Reddit
  • DZone
  • Google Bookmarks
  • LinkedIn
  • TwitThis







About this blog..


This is an informal place for the team at JadeLiquid to discuss software, the rotation of the earth and other things usually discussed in the JadeLiquid corridors.




Subscribe: By Feed  By Email









Desktop Edition




Server Edition


Swing Edition









Recent Posts



Flash in Java browser - Enabling Flash within WebRenderer
Browser Zoom Effect using WebRenderer
WebRenderer Swing now supporting HTML5 video
Enabling HTML 5 WebSockets in WebRenderer
Applet deployment techniques for platform deterministic libraries






Popular Posts



WebRenderer Swing Edition 6 Released!
Deploying WebRenderer with Java Web Start on 64bit systems
Rich Test Browser - WebRenderer features on display
Flash in Java browser - Enabling Flash within WebRenderer
Enabling HTML 5 WebSockets in WebRenderer
Browser Zoom Effect using WebRenderer
WebRenderer Swing Edition 6.0 - 64bit beta ships
WebRenderer Swing now supporting HTML5 video
Deploying WebRenderer Server Edition in Tomcat
Applet deployment techniques for platform deterministic libraries









September 2013 (1) May 2013 (1) January 2013 (1) November 2012 (2) October 2012 (1) September 2012 (1) May 2012 (1) November 2011 (1) October 2011 (2) September 2011 (1) August 2011 (1)





Millions of deployments and counting.. Users of JadeLiquid's tools can be found in every corner of the Earth




 > Enabling Flash in WebRenderer - Sept/2013
 > Browser Zoom Effect using WebRenderer - May/2013
 > Applet deployment techniques - Nov/2012
 > WebRenderer core features on display! - Sept/2012
   Additional News  
 > Enabling HTML 5 WebSockets in WebRenderer - Blog
 > 64bit WebRenderer deployment with Web Start - Blog
 > Deploying WebRenderer Server Edition in Tomcat - Blog
 > WebRenderer 6 adds performance text search - Blog


  Copyright JadeLiquid Software - 2015    Java and the Java Logo are trademarks or registered trademarks of Oracle Corporation in the United States and other countries  Privacy Policy  |  Disclaimer