====== Java ====== * [[http://www.oracle.com/technetwork/java/index.html|Primary Java Site]] * [[http://docs.oracle.com/javase/8/docs/|Java SE 8 General documentation]] * [[http://www.pythontutor.com/java.html#mode=edit|Java Code Visualizer]] ===== Editors ===== ''gedit'', ''emacs'', and [[eclipse|Eclipse]] are installed on the Linux machines. There are other IDEs available, such as NetBeans and BlueJ that you may want to try. You can install [[http://www.jedit.org/|jEdit]] (which I use) on your own computer and use the ''ftp'' plugin to allow you to easily edit your files on the CS server. ===== JavaDocs ===== * [[http://download.oracle.com/javase/8/docs/api/|Java 8 API]] * [[http://www.oracle.com/technetwork/java/javase/documentation/index-jsp-135444.html|Javadoc]]: a tool to automatically generate HTML documentation * [[http://www.oracle.com/technetwork/java/javase/documentation/index-137868.html|Writing Javadoc comments]] ===== FAQs and Tutorials ===== * [[http://download.oracle.com/javase/tutorial/index.html|The Online Tutorial]] * [[http://sepwww.stanford.edu/sep/jon/family/jos/oop/oop1.htm|Object-Oriented Ideas in Java]] : Java is like writing a trashy Western novel. * [[ss_javaNotes|Professor Sprenkle's notes on various Java topics]] ===== Java in the Cloud ===== * [[http://www.compileonline.com/compile_java_online.php|Compile and Execute Java Online]] - allows you to program in Java even when you don't have access to a computer that has Java installed ===== Testing and Debugging Help===== * [[http://www.open.ac.uk/StudentWeb/m874/!synterr.htm|Common Syntax Errors]] * [[http://www.agiledata.org/essays/tdd.html|Test-driven Development]] * [[http://eclipsetutorial.sourceforge.net/debugger.html|Using the Eclipse Debugger]] ==== JUnit ==== * [[http://www.junit.org/|JUnit]]: a tool for automatically testing Java code * [[http://junit.org/apidocs/|JUnit API]] * [[http://junit.sourceforge.net/doc/cookbook/cookbook.htm|JUnit Cookbook]] * [[http://junit.sourceforge.net/doc/testinfected/testing.htm|JUnit Test Infected: Programmers Love Writing Tests]] - for version 3.8 === Setting up your classpath for JUnit === - Right-click on the project - Navigate to Build Path --> Configure Build Path - Click on Libraries in the row of tabs - Click Add Library - Click JUnit, Next, and select JUnit 4 - Click Finish