01- Install JDK/JRE on Windows (for Red5)

  1. Go to http://java.sun.com/, mouse over Downloads in the top menu bar, and choose Java SE. Click on Download JDK button. Then select your platform (select 32-bit version for windows even if you have 64-bit), check the checkbox to accept the terms and click the Download button. Then click on the jdk-6u18-windows-i586.exe link to download it. Click Save button.

    NOTE: The latest version right now is JDK 6 Update 18, and the filename is jdk-6u18-windows-i586.exe.

    IMPORTANT: Even if you have a 64-bit computer, you should download the 32-bit version of the JDK. Eclipse seems to want the 32-bit version.

    I tried installing the 64-bit version and I got this error when I start Eclipse:
    A Java Runtime (JRE) or Java Development Kit (JDK) must be available in order to run Eclipse.
    No Java Virtual Machine was found.
  2. Double click on the jdk-6u18-windows-i586.exe file on your computer to install the JDK. First it will install the JDK then it will install the JRE. It will ask you where on your computer to install each of them. You can just leave the default, which is C:\Program Files (x86)\Java\jdk1.6.0_18 and the JRE in C:\Program Files (x86)\Java\jre6.

    NOTE: Usually, I like to keep 32-bit software in C:\Program Files and 64-bit software in C:\Program Files (x86). But for some reason, Sun has decided to install java by default to opposite folders...32-bit version in C:\Program Files (x86) and 64-bit version in C:\Program Files. I tried flipping them around and I got errors during installation...so I just ended up leaving the defaults.
  3. And now the JDK/JRE are installed. Go to C:\Program Files (x86)\Java (or wherever you installed it) and you will see two folders: jdk1.6.0_18 and jre6.
« Back to Home