Installing Naked Objects

Requirements

Naked Objects requires Java version 1.1 or above to run. If you intend to develop applications then you will need a suitable IDE or the JDK. To run the examples only the JRE is necessary.

Java is available (for Windows, Solaris and Linux) from Sun. On the homepage look for the links that allow you to download the J2SE 1.3.1 or J2SE 1.4.0 version. Also on their website are details of ports for other platforms (usually done by other companies and organisations).

Confirm that Java is properly installed, is runnable, and you have the correct version by starting the virtual machine. From the command line enter:

java -version

After you press return to execute the command you should see some details about the Java version and build details similar to those below. If nothing appears or you get an error message then you will need to refer to the installation instructions or look on the web for help on installing the particular JDK on your type of system.

java version "1.3.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.0)
Classic VM (build 1.3.0, J2RE 1.3.0 IBM build cx130-20010626 (JIT enabled: jitc))

Downloading the framework

The latest version of the Naked Objects framework can be downloaded from the downloads page on the website. Stable releases are denoted by an even minor release number, e.g. 0.6, 0.8 etc. The development releases, on the other hand, bears a odd number, e.g. 0.7 and 0.9. These are available in a binary or a source form. The binary form allow Naked Object applications to be developed and the source form allow the binary form to be created, hence allowing extensions and modifications to the framework to be added.

The binary release is made available with the following:-

Binary Installation

Download the latest version and extract (all downloads are available as zip files) the files into an accessible directory.

Unzip the distribution file nakedobjects-x_x_x.zip into a convenient directory.

For simplicity when compiling and running Naked Objects application from other directories add nakedobjects.jar and the other libraries in the lib directory to your classpath