Install Java EE 7 tutorial examples on 64 bit Ubuntu Linux

Assume you have install Java EE SDK or Netbeans Java EE SDK bundle,
  1. Install updatetool in glassfish-4.0/bin by running the following command:
    cd glassfish-4.0; ./bin/updatetool
  2. After installation, run
    ./bin/updatetool
    It will fail on 64 bit Ubuntu Linux, because it requires ia32-libs. However since Ubuntu 11.10, ia32-libs is no longer available. The solution is install all the required packages individually:
    sudo apt-get install libidn11:i386 libjpeg62:i386 libpangox-1.0-0:i386 libpangoxft-1.0-0:i386 libgtk2.0-0:i386
  3. Run updatetool:
    ./bin/updatetool
  4. In GlassFish4 -> Aviable Addons select Java EE 7 Tutorial, then click the Install button.

No comments:

Post a Comment