- Reading Material
- Getting Java for your own machine
- Development Environments for Java
- Java Source Code Examples
Reading Material
Books
- The Java Tutorial (recommended)
- Thinking in Java 3rd Edition. A good read for begginers to Object-Orientationa and/or Java.
- Bleeding at the Keyboard: A Guide to Programming. A book that starts you from scratch on both programming and Java.
Other Reading on the Web
- Java Programming by Richard G Baldwin. Easy reading and straight to the point.
- IBM's Java Page. New technologies, online courses, howtos and a lot of more info on Java.
- JGuru. FAQs, howtos along with searchable forums.
- FOLDOC a searchable database of Computer Science terminology
- Discussions on Interface and Abstract classes in Java
- Contributions to Information Technology A nice web page that has diagrams of the whole Java 1.4.2 API. Class diagrams are linked to the Java API documentation on the web. The site also contains tables with all of Java's keywords as well as more goodies. An alterantive to browsing Java documentation on the web with images ! Check it out.
- more to come ...
Getting Java for your own machine
- You need to download Java for your own OS (link). You will need J2SE JDK.
- Optional: You can also download the java API locally to your machine (link)
-
Follow the installation instructions (link)
for your OS.
NoteThis has more pictures along with instructions (Java Installation).
Warning
On Windows do not install Java under a directory path that contains a directory name with a space in it, e.g.,
C:\Test\Program File\java.
Development Environments for Java
There are many integrated development environments (IDE) that you can use.
-
Eclipse is an open source Java integrated development environment developed in Java.
- GUI Builder Plugins for Eclipse
- JBuilder Foundation is Borland's IDE for Java development and it is free. For Linux users you can optain Kylix instead.
- NetBeans is another free and open source IDE for Java.
There is also the option of using a simple editor for your java coding only.
Java Source Code Examples
File Name | Reference |
---|---|
ArrayDemo (view,download) | The Java Tutorial |
ArrayOfStringsDemo (view,download) | The Java Tutorial |
CreateObjectDemo (view,download) | The Java Tutorial |
Point (view,download) | The Java Tutorial |
Rectangle (view,download) | The Java Tutorial |
ReverseString (view,download) | The Java Tutorial |
ReverseStringTest (view,download) | The Java Tutorial |
ReverseStringTest (view,download) | The Java Tutorial |
ValueOfDemo (view,download) | The Java Tutorial |
CD (view,download) | From Lecture 3 |
MainCD (view,download) | From Lecture 3 |
CDCollection (view,download) | From Lecture 3 |
MainCDCollection (view,download) | From Lecture 3 |
The Department Example(Original Solution,Class Solution) The links above are in .jar format. You can use winzip to unpack them or the following command on your prompt jar xvf <jarfile> |
From Lecture 5 |
The Bank example(Account.java,Savings.java, Checking.java,BankMain.java) |
From Lecture 7 |
The BTree example(BTree.java,Node.java, TreeMain.java) |
From Lecture 8 |
by Therapon Skotiniotis