14
CSE 1001 & CSE 1002 STUDENT RESOURCES For JAVA Programming Development William Slavinsky

CSE 1001 & CSE 1002 STUDENT RESOURCES For JAVA Programming Development William Slavinsky

Embed Size (px)

Citation preview

Page 1: CSE 1001 & CSE 1002 STUDENT RESOURCES For JAVA Programming Development William Slavinsky

CSE 1001 & CSE 1002

STUDENT RESOURCESFor JAVA Programming

Development

William Slavinsky

Page 2: CSE 1001 & CSE 1002 STUDENT RESOURCES For JAVA Programming Development William Slavinsky

TABLE OF CONTENTS

1. The Java SE Development Kit (JDK)2. The Java SE 6 Documentation3. Text Editors

a) XemEmacs (www.gnu.org/software/emacs [22.2])b) acs (www.xemacs.org/Download [21.4.21])c) Irfanview (www.irfanview.com [4.10])d) Note Pade) Vi Editorf) Vim Editorg) Word Pad

Page 3: CSE 1001 & CSE 1002 STUDENT RESOURCES For JAVA Programming Development William Slavinsky

The Java SE Development Kit (JDK)YOU MUST SIGN ON TO THE COMPUTER THAT YOU WISH TO

INSTALL THIS SOFTWARE AS ADMINISTRATOR.

1. Go to www.java.sun.com/javase/downloads/

Page 4: CSE 1001 & CSE 1002 STUDENT RESOURCES For JAVA Programming Development William Slavinsky

COMMAND-LINE TOOLS to run APPLICATIONS and APPLETS

1. Click on START>Run>cmd>OK2. Define the path to where your Application or Applet is

stored.1) To change drive location type the capital letter of the drive,

colon, <Enter>. For example: H:<Enter> results …H:\> and a flashing underline symbol awaiting your next entry.

2) To change a file and go down the tree one level use cd <file name> <Enter>. For example: cd CSE1002Summer2008 <Enter> results … H:\CSE1002Summer2008\> and a flashing underline symbol awaiting your next entry.

3) To remove a file and go back one level up the tree use cd..<enter>

Page 5: CSE 1001 & CSE 1002 STUDENT RESOURCES For JAVA Programming Development William Slavinsky

To check for the version of Java installed on your PC

1. Click on START>Run>cmd>OK2. Type: java –version <Enter>

Page 6: CSE 1001 & CSE 1002 STUDENT RESOURCES For JAVA Programming Development William Slavinsky

To check the path for Java

1. Click on START>Run>cmd>OK2. Type: set<Enter>• CLASSPATH=.;C:\devtools\junit\junit-4.3.1.jar;C:\

devtools\junitx\junit-3.7.jar;C:\Program Files\Java\jre1.6.0_03\lib\ext\QTJava.zip …

• Path=c:\... ;c:\devtoools\java\JDK1.6.0_01\bin; … ; c:\program files\java\JDK1.6.0_01\bin …

• QTJAVA=C:\Program Files\Java\jre1.6.0_03\lib\ext\QTJava.zip …

Page 7: CSE 1001 & CSE 1002 STUDENT RESOURCES For JAVA Programming Development William Slavinsky

FIT LAB PCs

1. The PATH must be set each time a LAB PC is used as follows:

PATH= %PATH%; C:\ProgramFiles\java\jdk1.6.0_01\bin

1) The”jdk1.6.0_01” must be the version installed on the Lab PC being used.

Page 8: CSE 1001 & CSE 1002 STUDENT RESOURCES For JAVA Programming Development William Slavinsky

Integrated Development Environments (IDEs)

1) BlueJ (www.bluej.org) 2) DrJava (www.drjava.org)3) Eclipse (www.eclipse.org)4) Jcreator (www.jcreator.com/download.htm)5) JGRASP (www.jgrasp.org)6) NetBeans (www.netbeans.org)7) NotePad (www.notepad-plus.sourceforge.net/)

Page 9: CSE 1001 & CSE 1002 STUDENT RESOURCES For JAVA Programming Development William Slavinsky

Text Editors

1. Emacs (www.gnu.org/software/emacs [22.2])2. Xemacs (www.xemacs.org/Download [21.4.21])3. Irfanview (www.irfanview.com [4.10])4. Note Pad (www.notepad-plus.sourcegorge.net)5. Vi Editor6. Vim Editor

7. Word Pad (Installed with Windows XP)1.

Page 10: CSE 1001 & CSE 1002 STUDENT RESOURCES For JAVA Programming Development William Slavinsky

BlueJ*

BlueJ is an IDE developed at a university. It was createdspecifically for beginning Java students and is available for MacOS, Windows, and other systems atwww.bluej.org/download/download.htmlBlueJ requires that you already have Java installed. Windows users should download and install the JDK from Sun, as described previously. MacOS users will already have Java installed by default.Installation instructions are available at the above URL.

*From appendix 1 of class text.

Page 11: CSE 1001 & CSE 1002 STUDENT RESOURCES For JAVA Programming Development William Slavinsky

DrJava

DrJava has BUG that breaks compilation in the Windows exe.

Page 12: CSE 1001 & CSE 1002 STUDENT RESOURCES For JAVA Programming Development William Slavinsky

Eclipse*

Eclipse is an open-source IDE for Linux, MacOS,and Windows that is available at:www.eclipse.org/downloads/

Eclipse requires that you already have Java installed. Linux and Windows users should download and install the appropriate JDK from Sun, as described previously. MacOS users will already have Java installed by default.

Installation instructions are available at the above URL.*From appendix 1 of class text.

Page 13: CSE 1001 & CSE 1002 STUDENT RESOURCES For JAVA Programming Development William Slavinsky

Jcreator

Jcreator is an IDE created for Windows and is available at:

www.jcreator.com/download.htmJcreator requires that you already have the JDK

and the docs (API) downloaded from Sun and installed on your computer prior to installing jcreator.

Installation instructions are available at the above URL.

Page 14: CSE 1001 & CSE 1002 STUDENT RESOURCES For JAVA Programming Development William Slavinsky

JGRASP

JGRASP is an IDE developed at Auburn University