The Java plugin installed by java/diablo-jre16 doesn't work with Firefox 3.6 anymore. Fortunately, an alternative plugin (IcedTea) can be installed using java/openjdk6.
Select WEB (do NOT select IPV6).
Note: The IcedTea plugin won't work if both WEB and IPV6 are selected (ports/153301).
Add this to /etc/fstab so that it will be mounted automatically at boot:
Run the following command to make the plugin work:
Open Firefox and enter "aboutlugins" in the URL bar and check if the IcedTea plugin has been detected.
Open http://www.java.com/en/download/help/testvm.xml to test if Java is working.
# cd /usr/ports/java/openjdk6/ && make config
Select WEB (do NOT select IPV6).
Note: The IcedTea plugin won't work if both WEB and IPV6 are selected (ports/153301).
# make install clean
# mount -t fdescfs fdesc /dev/fd
Add this to /etc/fstab so that it will be mounted automatically at boot:
Code:
fdesc /dev/fd fdescfs rw 0 0
Run the following command to make the plugin work:
$ ln -s /usr/local/openjdk6/jre/lib/IcedTeaPlugin.so ~/.mozilla/plugins/
Open Firefox and enter "aboutlugins" in the URL bar and check if the IcedTea plugin has been detected.
Open http://www.java.com/en/download/help/testvm.xml to test if Java is working.