Skip to end of metadata
Go to start of metadata
Table of contents

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.

Ubuntu

  • Execute Synaptic package manager
  • Install "sun-java6-jdk"
  • Agree to license shown in dialog

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

Ubuntu:

Command Prompt

Test

Windows:

  • Open a new command prompt window (Start - Programs - Accessoires - Command Prompt)
Command Prompt

Ubuntu:

  • Open a new terminal
Command Prompt
  • No labels