You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Homepage:

http://java.sun.com/

Download:

http://java.sun.com/javase/downloads/index.jsp

File(s):

Windows: jdk-6u13-windows-i586-p.exe (75 MB)

Installation

Windows

  • Execute EXE-File
  • Wizard:
    • Accept License Agreement
    • Install all components (Java DB not needed, but is only 25 MB...)
    • Target directories (defaults, don't change anything):
      • Development Tools: C:\Program Files\Java\jdk1.6.0_13\
      • Demos and Samples: C:\Program Files\Java\jdk1.6.0_13\
      • Source Code: C:\Program Files\Java\jdk1.6.0_13\
      • Public JRE: C:\Program Files\Java\jre6\
      • Java DB: C:\Program Files\Sun\JavaDB\
  • After installation a popup appears, which wants you to register. You don't need to do this.

Configuration

  • Add JAVA_HOME variable to your environment:

Windows:

  • Start - Settings - Control Panel - System - Advanced - Environment Variables
  • System variables - New: JAVA_HOME = C:\Program Files\Java\jdk1.6.0_13

Test

Windows:

  • Open a new command prompt window (Start - Programs - Accessoires - Command Prompt)
Command Prompt
C:\>\*java -version\*
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode, sharing)
C:\>*echo %JAVA_HOME%*
C:\Program Files\Java\jdk1.6.0_13
  • No labels