Lab-5533: Java Strikes Back on Client Side: Easier Development and Deployment

Expected Duration: 100 minutes
Begin Product Tab Sub Links

Exercise 0: Install and Configure Lab Environment (10 minutes)

 

In addition to the contents of this lab's zip file, you should have the following software installed on your computer:

* If you don't care about Java FX, Netbeans 6.0+ is enough for you to finish all Applet related execises.

If java is not in your default execution path, you will need to set JAVA_HOME to point to the directory where it is installed.

Java Plug-in also needs to be configured as follows.
  • Windows Platform

    On the Windows platform, the new plug-in is automatically enabled after the installation of the JRE. No user intervention is necessary.

  • Solaris™ or Linux

    Place a symlink to .../jre/lib/{i386,sparc}/libnpjp2.so into either your Firefox 3 firefox/plugins directory or your <user_home>/.mozilla/plugins directory. Remove any stray preexisting symlinks to the libjavaplugin_oji.so library.


    jason@jason2:~$ cd .mozilla/
    jason@jason2:~/.mozilla$ mkdir plugins
    jason@jason2:~/.mozilla$ cd plugins
    jason@jason2:~/.mozilla/plugins$ ln -s /usr/jdk/jdk1.6.0_12/jre/lib/i386/libnpjp2.so libnpjp2.so
    jason@jason2:~/.mozilla/plugins$ ls -l
    total 1
    lrwxrwxrwx 1 jason staff 45 2009-03-19 15:42 libnpjp2.so -> /usr/jdk/jdk1.6.0_12/jre/lib/i386/libnpjp2.so
    jason@jason2:~/.mozilla/plugins$

    To make sure the plugin is installed correctly, open firefox, and input ´about:plugins´, the next generation Java plugin should be listed in it as shown below.

    About Plugins Firefox

 

Back to top
Next exercise