Free Java/C++ Text Editor, and Free Java Compiler

Java SE JRE for Windows, for running Java programs and applets JRE Download link Accept all defaults.
Java SE JDK for Windows, for compiling and running Java programs and applets JDK Download link Accept all defaults.
Batch File to Activate Java SE JDK (Windows only) java6.bat Right-click to download and save to your "working folder" -- that is, the folder containing your .java files for compiling (<1KB). Edit java6.bat to indicate the correct folder where your JDK is installed on your system. To compile and run, go to a Command Prompt and type java6 to activate Java SE.
JNotePad 2 Editor (OS-independent) JNotePad.jar Right-click to download to DeskTop (<1MB); double-click to run (In Windows only, requires installation of the Windows Java JRE or JDK.)
JNotePad 2 Editor (Mac-specific) JNotePad.dmg Right-click to download to DeskTop (10MB). Double-click to install the app.