Цитат от FreeBSD Handbook
15.2.2 Mozilla, Java™, and Macromedia® Flash™
Contributed by Tom Rhodes.
Installing Mozilla is simple, but unfortunately installing Mozilla with support for add-ons like Java™ and
Macromedia® Flash™ consumes both time and disk space.
The first thing is to download the files which will be used with Mozilla. Take your current web browser up to
http://www.sun.com/software/java2/download.html and create an account on their website. Remember to save the
username and password from here as it may be needed in the future. Download a copy of the file
j2sdk-1_3_1-src.tar.gz and place this in /usr/ports/distfiles/ as the port will not fetch it automatically.
This is due to license restrictions. While we are here, download the “java environment” from
http://java.sun.com/webapps/download/Display?BundleId=7905. The filename is
j2sdk-1_3_1_08-linux-i586.bin and is large (about 25 megabytes!

'>. Like before, this file must be placed into
/usr/ports/distfiles/. Finally download a copy of the “java patchkit” from
http://www.eyesbeyond.com/freebsddom/java/ and place it into /usr/ports/distfiles/.
Install the java/jdk13 port with the standard make install clean and then install the
www/flashpluginwrapper port. This port requires emulators/linux_base which is a large port. True that
other Flash plugins exist, however they have not worked for me.
Install the www/mozilla port, if Mozilla is not already installed.
Now copy the Flash plug-in files with:
# cp /usr/local/lib/flash/libflashplayer.so \
/usr/X11R6/lib/browser_plugins/libflashplayer_linux.so
# cp /usr/local/lib/flash/ShockwaveFlash.class \
/usr/X11R6/lib/browser_plugins/
Now add the following lines to the top of (but right under #!/bin/sh) Mozilla startup script:
/usr/X11R6/bin/mozilla.
LD_PRELOAD=/usr/local/lib/libflashplayer.so.1
export LD_PRELOAD
This will enable the Flash plug-in.
Now just start Mozilla with:
% mozilla &
And access the About Plug-ins option from the Help menu. A list should appear with all the currently available
plugins. Java and Shockwave® Flash should both be listed.
Хубаво е да имаш под ръка това нещо

'>