CSE 1001 & CSE 1002 Student Resources

concepcionsockΛογισμικό & κατασκευή λογ/κού

15 Αυγ 2012 (πριν από 5 χρόνια και 2 μήνες)

261 εμφανίσεις

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 Documentation

3.
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 Pad

e)
Vi Editor

f)
Vim Editor

g)
Word Pad






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/


COMMAND
-
LINE TOOLS to run
APPLICATIONS and APPLETS

1.
Click on START>Run>
cmd
>OK

2.
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>




To check for the version of Java
installed on your PC

1.
Click on START>Run>cmd>OK

2.
Type: java

version <Enter>



To check the path for Java

1.
Click on START>Run>
cmd
>OK

2.
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 …


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.

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/
)



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 Editor

6.
Vim Editor

7.
Word Pad
(
Installed with Windows XP)

1.


BlueJ*


BlueJ is an IDE developed at a university. It was created


specifically for beginning Java students and is available for


MacOS, Windows, and other systems at

www.bluej.org/download/download.html

BlueJ 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.

DrJava

DrJava has BUG that breaks compilation in the
Windows exe.



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.






Jcreator

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

www.jcreator.com/download.htm

Jcreator 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.


JGRASP

JGRASP is an IDE developed at Auburn University