User Tools

Site Tools


cs190m_setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cs190m_setup [2008/08/31 12:22] jtkorbcs190m_setup [2008/08/31 12:35] (current) jtkorb
Line 5: Line 5:
   * Java compiler.  Start [[http://java.sun.com/javase/downloads/index.jsp|here]] and download the latest Standard Edition (SE) release of the Java Development Kit (JDK).  As of this writing, that is version 6, update 10 RC.  The Java Runtime Environment (JRE) comes with this download, so you don't need to get it separately.  (Current Mac users don't need to do this step: the JDK comes pre-installed.)   * Java compiler.  Start [[http://java.sun.com/javase/downloads/index.jsp|here]] and download the latest Standard Edition (SE) release of the Java Development Kit (JDK).  As of this writing, that is version 6, update 10 RC.  The Java Runtime Environment (JRE) comes with this download, so you don't need to get it separately.  (Current Mac users don't need to do this step: the JDK comes pre-installed.)
   * DrJava Integrated Development Environment (IDE): [[http://www.drjava.org]].  I downloaded the latest beta release (drjava-beta-20080820-r4639), since it fixes a known incompatibility with Java 6.  Note that DrJava does not require a separate installation step: Just click on it to launch.   * DrJava Integrated Development Environment (IDE): [[http://www.drjava.org]].  I downloaded the latest beta release (drjava-beta-20080820-r4639), since it fixes a known incompatibility with Java 6.  Note that DrJava does not require a separate installation step: Just click on it to launch.
-  * Running Java from the command line, three options...+  * Running Java from the command line, options and comments...
     * Cygwin UNIX-like environment for Windows: [[http://www.cygwin.com]].  By default, you get a bash shell and other UNIX-compatible commands.     * Cygwin UNIX-like environment for Windows: [[http://www.cygwin.com]].  By default, you get a bash shell and other UNIX-compatible commands.
     * MinGW minimalist GNU environment for Windows: [[http://www.mingw.org]].  Comes with Java (actually gcj, if you select it from the options), but you also have to download and install the GNU [[http://gnuwin32.sourceforge.net/packages/libiconv.htm|iconv libraries]].  Go to the MinGW site and search for "HOWTO Compile with gcj".     * MinGW minimalist GNU environment for Windows: [[http://www.mingw.org]].  Comes with Java (actually gcj, if you select it from the options), but you also have to download and install the GNU [[http://gnuwin32.sourceforge.net/packages/libiconv.htm|iconv libraries]].  Go to the MinGW site and search for "HOWTO Compile with gcj".
-    * Directly using the Windows cmd command prompt and the Sun JDK.  See the instructions at [[http://www.cs.princeton.edu/introcs/15inout/windows-cmd.html|Princeton]].+    * Directly using the Windows Command Prompt and the Sun JDK.  See the [[http://www.cs.princeton.edu/introcs/15inout/windows-cmd.html|instructions]] at Princeton [[http://www.cs.princeton.edu/introcs|Sedgewick and Wayne]] site. 
 +    * Using Cygwin for the bash shell and the instructions at the Princeton site to add the Java binaries to your path, works well (for me).  I abandoned MinGW (the instructions didn't work out of the box for me).
cs190m_setup.txt · Last modified: 2008/08/31 12:35 by jtkorb