Installing Apache log4j

  • Open a browser and go to ‘logging.apache.org/log4j/1.2/
  • Click on the ‘download’ link
  • Select the installation package suitable for your machine
  • You are then presented with a list of download sites to select from.  As I am in the UK, I tend to go with UK sites but, you can select whichever you prefer.
  • Wait for the download to complete
  • Open the download package, locate the Java ARchive (JAR) file ‘log4j-1.2.17.jar’ and take a copy.
  • Go to the directory where Eclipse was installed; locate the subdirectory ‘plugins’ and copy the JAR file to this location. This will make it easier when we come to add these into our program.
Advertisements
Installing Apache log4j

Installing Launch4J

  • Open a browser and go to ‘launch4j.sourceforge.net
  • Select ‘Download’ from the menu options
  • Find the download package suitable for your machine
  • Click on the link to start the download.
  • Once the download is complete launch the installer
  • Accept all the default options unless you have a good reason to alter them
  • At the end of the install process launch the application and you should be presented with a dialog box as below.

Launch4J

Installing Launch4J

Installing Eclipse

Next download Eclipse
• Open a browser and go to ‘http://www.eclipse.org
• Click on ‘Download Eclipse’. The versions change over time, just go for the latest stable version.

Eclipse logo

  • Select ‘Eclipse IDE for Java Developers’ and pick the correct version for your operating system
  • Select a download host option, I usually go for the default in this case ‘[United Kingdom] UK Mirror Service (http)
  • If you have the means perhaps you might like to donate to Eclipse to help it continue to provide a world class IDE for you and others to come.
  • Once downloaded extract the contents of the ZIP file to a location of your choice.
  • Go to the location where you placed Eclipse and in the eclipse folder you will find a file called ‘eclipse.exe’.  Double click on the file to launch Eclipse.

Watch a video of the installation:

Installing Eclipse

Installing Java Standard Edition Development Kit (JDK)

So first things first, you will need to install is a Java Standard Edition development kit if you do not already have one.

If you are unsure what version and environment is already installed on your machine then follow these steps

Go to a DOS prompt box and type ‘java –version’ and you should see something similar to the screen display below.

Display Java version

If you need to install java then do the following: –

  • Go to ‘http://www.oracle.com
  • Select ‘download’ from the menu
  •  And then ‘java
  • From the list of options select the ‘java SE (Standard Edition)
  • Then you want to download the JDK version (Java Development Kit).  Go for the latest official release although it will not matter so long as you have at least version 6
  • Once downloaded run the executable and accept the default installation path unless you have a good reason to change it.
  • Once the install is complete, go to a DOS window and type “java –version” and it should display the version details as per the screen shot above.

That’s it Java installed.

Installing Java Standard Edition Development Kit (JDK)