How-to Install and Setup XDoclet Java Tool on Linux Complete & Easy Visual-Guide

September 9th, 2012 by Regaz

This Post Show How-to Install and Setup the XDoclet Java Tool on Linux.

The content and details are expressly reduced to give Focus only to the Essentials Instructions and Commands and Make the Tut Easier to Understand ;)

Java Balloon
  1. Prerequisites Check-Up
    1. Java
      which java

      If Java is Not Installed then:

      Installing Oracle Java JDK on Linux
    2. Apache-Jakarta Ant
      which ant

      If Apache-Jakarta-Ant is Not Installed then:

      How-to Install Ant On Linux
  2. Download XDoclet Java-Tool:

    Latest XDoclet Tool
  3. Unzip Archive
  4. Relocate XDoclet
    1. Open a Terminal Window
      (Press “Enter” to Execute Commands)
    2. Login as SuperUser
      sudo su

      If Got “User is Not in Sudoers file” then Look: Solution

    3. Move XDoclet Folder
      mv /xdoclet-1.2.3 /opt
  5. Set Environment Variable
    1. Logout from SuperUser
    2. Edit User .bashrc File Settings
      nano ~/.bashrc


      export XDOCLET_HOME=/opt/xdoclet-1.2.3
    3. Load New Environment Set-Up
  6. Verify XDoclet Installation on Terminal
    cd $XDOCLET_HOME/samples

    The Output should Resemble to this Here Below:

    Testing XDoclet Installation

Tags: , , , , , , , , ,