You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Current »
Fedora Repository 3 Documentation
Page not found
|
- 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.
- 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.
- 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.
|
#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))