Spring 2008, Computer Science Department, CCNY

How to Start CSC 433 ?

Install: LINUX, Java, ANT

In This course we will use LINUX Operating system

As a prerequisite to this course you have to be able to install LINUX, Java, ANT

by February 18, 2008

  1. Install Java in directory: /usr/java/jdk1.6.0_03

  2. Install ANT in directory: /usr/java/apache-ant-1.7.0

  3. Please do not forget to Setup ANT environmental variables

export JAVA_HOME=/usr/java/jdk1.6.0_03

export ANT_HOME=/usr/java/apache-ant-1.7.0

export PATH=${PATH}:${ANT_HOME}/bin

  1. Create build.xml file

  2. Create java source file in empty directory ./src/HelloJava.java

  3. Compile it by typing ant and then run it ant -run !

    If everything works you are done!

    We will discuss in class any issues you may have.


    2. NEXT we will overview Java Input/Output package

    The link to Input/Output tutorial is:

http://java.sun.com/docs/books/tutorial/essential/io/index.html