Old Release

This documentation covers an old version of Fedora. Looking for another version? See all documentation.

This page is part of the Installation and Configuration Guide.

The Fedora Repository release 3.4 requires Java 6 (JDK 1.6)

The Fedora Repository nees JDK 1.6 to be installed on your computer. JDK 1.5 (and below) is no longer supported. This release has only been tested with the Sun JDK though other distributions may work.

  • A JRE (Java Runtime Environment) is not enough.
  • JDK 1.6 is the supported platform and Fedora has been tested against this platform.
  • JDK 1.5 is no longer supported in Fedora Repository 3.4 or later.
  1. If you are not sure whether you have JDK installed correctly, please confirm by doing the following:
    • Open a command prompt.
      • On Windows: Open your 'Start' menu and select 'Run', then type cmd and click 'OK'. Alternately, you can open a Command Prompt window from the Accessories menu item.
    • Type the following in the command prompt and then press Enter:
      • On Windows: echo %JAVA_HOME%
      • On Unix: echo $JAVA_HOME
    • View the result:
      • If a line is displayed such as C:\Progra~1\Java\jdk1.6.0_17, please check that the letters just before the final numbers are 'jdk'. If you see those letters, the JDK is installed.
      • If nothing is displayed, or you do not see 'jdk' plus some numbers, the JDK is not installed.
  2. If you need to install the JDK, follow these instructions:
    • Go to the Java Sun download page.
    • Download the version entitled 'JDK 6 Update XX', where 'XX' stands for some number. (Sun will provide the latest version on that page.)
    • When the download has finished, run the Java installer. At one point, you will be asked to choose a directory to install to. Copy or write this directory down for use later.

      Java 6

      The Fedora Repository can be compiled using the Java SE 6 JDK. The Sun Java 1.5 has been set to EOL (end of life) in 2009 by Sun Microsystems. As of release 3.4 Fedora has moved to Java 6 as the standard platform and Java 5 is no longer supported. We would appreciate feedback from installations using Java EE application servers.

  3. On Windows: Please follow these instructions to set your JAVA_HOME environment variable to the directory you where you have just installed the JDK. By default, this directory is under C:\Program Files\Java. Please note that some scripts on Windows may not work correctly from the Windows command line when directories having spaces in their names are encountered. Usually, putting the command in double quotation marks will fix the problem. The JDK can also be installed anywhere in the file system such as C:\Java avoiding spaces in directory names.

  • No labels