cop 3530 discussion section 1
Download
Skip this Video
Download Presentation
COP 3530 Discussion Section 1

Loading in 2 Seconds...

play fullscreen
1 / 11

COP 3530 Discussion Section 1 - PowerPoint PPT Presentation


  • 111 Views
  • Uploaded on

COP 3530 Discussion Section 1. Xiaoying Zheng. Contact Information. Xiaoying Zheng Office Hour (M 6-7, F 6-7) CSE E309 392-1183 [email protected] Questions are welcome. Please speak loudly and slowly. Today. Policy Set up Java compiler Set up Dr.Sahni's data structures package

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about 'COP 3530 Discussion Section 1' - sheba


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
contact information
Contact Information
  • Xiaoying Zheng
  • Office Hour (M 6-7, F 6-7)

CSE E309

392-1183

today
Today
  • Policy
  • Set up Java compiler
  • Set up Dr.Sahni's data structures package
  • compile and run the Java codes from the text
  • How to jar files
  • Register for courseWorx and submit assignments through courseWorx
  • Java online documents
policy
Policy
  • http://www.cise.ufl.edu/class/cop3530sp04
  • TAs will help you learn how to debug your own programs. They have been instructed to do this only when you produce documentation of your program's design that maps clearly to your implementation. Without this, you will be asked to return when you have done this.
  • We will use MOSS to detect excessive collaboration and copying of programs
set up java compiler
Set up Java compiler
  • http://java.sun.com/j2se/1.4.2/download.html. Follow the links to Java 2 SDK Version 1.2.x or higher. And Install it.
  • add the path of your Java compiler (e.g., c:\jdk1.3\bin) to the PATH environment variable. In Windows 2000 or XP
    • Open the Windows Control Panel for System
    • Choose the Advanced tab and click the Environment Variables button, add c:\jdk1.3\bin to the end of the PATH variable, using a semicolon as a separator.

Set path=c:\jdk1.3\bin;%path%

set up dr sahni s data structures package
Set up Dr.Sahni's data structures package
  • Download package (eprogs.zip recommended) (http://www.cise.ufl.edu/~sahni/dsaaj/)
  • Unzip the package, which will create subdirectories such as c:\eprogs\dataStructures, c:\eprogs\applications etc.
set up dr sahni s data structures package cont
Set up Dr.Sahni's data structures package (cont.)
  • Set up the class path for the package
    • In Windows 2000 or XP
      • Open the Windows Control Panel for System
      • Choose the Advanced tab and click the Environment Variables button, add c:\eprogs to the end of the CLASSPATH variable, using a semicolon as a separator. If you do not have a CLASSPATH defined, create one and set it equal to c:\eprogs
    • Use Command Line:

set CLASSPATH=.;c:\eprogs

    • autoexec.bat (win98)
compile and run the java codes
compile and run the Java codes
  • go to the c:\eprogs\dataStructures folder
  • Compile:

javac ArrayLinearList.java

  • Run:

java dataStructures.ArrayLinearList

how to jar files
How to jar files
  • jar: jar cvfARCHIVE-NAME file1 file2 file3 ...etc

eg: jar cvf submit ArrayLinearList.java disscussion.doc Submission.txt

  • unjar: jar xf ARCHIVE-NAME

unjar xf submit

  • Notice:
    • run the jar command inside the directory where the files are present
    • do not submit archives with directories
    • Submit only source code (.java file)
courseworx assignment submission
CourseWorx & Assignment submission
  • Follow the link on CourseWorx
  • Register an ID and Password if you don't already have them
  • Login and Turn in your jarred archive
  • Notice:

Always download the file you turned in and Unjar the archive in a new folder to verify if the submission was okay

java online documents
Java online documents
  • http://java.sun.com/j2se/1.4.2/docs/api/
ad