Getting Ready for Java

Download Report

Transcript Getting Ready for Java

Getting Ready for CIT590
29-Mar-16
Labs

Lab is scheduled for 1:30-3:00 Fridays in Moore 207



Lab is not in Towne 313 (Registrar has it wrong)
Everyone is expected to attend lab
Assignments will be handed out in lab


You will be assigned a partner in the lab
If you cannot attend the lab:



You must tell me at least one day in advance, otherwise you will incur
a 10 point penalty on your program
The penalty also applies if you are so late to lab that I think you are not
coming, and reassign your partner to someone else
If you miss lab, or are very late, you may have to do the assignment
without a partner
2
Moore 207


Moore 207 is a Linux lab
Many of you have not used Linux





I’ll step you through a brief introduction to Linux
Java is platform independent: You can easily move back and forth
between Linux and Windows or Mac


It has a desktop that is very similar to the Windows or Macintosh desktop
It’s not hard to figure out
Don’t be afraid!
The easy way to move files is to by a cheap thumb drive
We do have a lab this Friday


Before the lab, please go to Moore 207 and make sure you can log in
If you can't, go to the CETS office and get the problem fixed
3
What You Need

It’s really convenient to have your own computer




Download and install Java (JDK 6 update 11)




http://java.sun.com/javase/downloads/index.jsp
This includes the JRE, so don’t install that separately
At the same time, download and install Java SE 6 Documentation (from
the same web page)
Download and install Eclipse Classic 3.4.1


Virtually any Windows computer made within the last three or four
years (and some a lot older than that) will be fine
If Macintosh, must run Mac OS X, preferably Leopard (10.5)
If your computer is too slow, and you can add RAM, do so
http://www.eclipse.org/downloads/
By the way: the JDK and Eclipse are free
4
Java for Macintosh



If you have OS X, you already have Java, but you may
not have the latest version
If you do not have OS X, you have to get it--earlier
versions will not run Java 5 or 6
The best way to get Java 6 is to join the Apple
Developer Connection


http://developer.apple.com/
Last I knew, the basic membership is free
5
Getting Eclipse


You should have Java installed before you install Eclipse
If you Google for “Eclipse”:




Click on the download link
 You will get a zip file; unzip it


The first hit is the home page, http://www.eclipse.org/
The second hit is “Eclipse Downloads,”
http://www.eclipse.org/downloads
The current version (January 2009) is Eclipse Classic 3.4.1
No further “installation” is necessary (assuming your Java is installed
correctly)
Run the eclipse.exe file


You will be asked to choose a folder for a “workspace” (mine is called
workspace); do so
No further configuration is necessary
6
Office hours



The TA for this course will be Abdul Malik Mansoor
Office hours will be posted shortly
If you have questions about the assignment:



If you are doing pair programming, first ask your partner
Then come and see Abdul or me (preferably with your partner)
I am available much of the time outside office hours





I avoid making appointments, because I usually forget to keep them
Office hours are when I try hard to be in my office; they are not the only
time you can see me
If my office door is open, I’m available
If my office door is closed and I’m there, I’m available if it’s urgent
If I have a “Do not disturb” sign up, I’m frantically busy (this is usually
the last half-hour or so before class)
7
Email

Feel free to send me email at:



matuszek @ cis.upenn.edu
I get tons of spam, including over 1000 virus-carrying
messages a week
To avoid my spam (but not my virus) filters:



If your email concerns this course, please put 591
somewhere in the subject line
If your email is more general (personal, about the MCIT
program, etc.) please put MCIT somewhere in the subject line
If you forget, I’ll probably see your email anyway; please
don’t immediately send another copy!
8
Vocabulary I

JRE, Java Runtime Environment


JDK, Java Development Kit (previously called SDK,
System Development Kit)



This is the software that allows you to run Java programs on
your computer
The software that allows you to create and run Java programs
on your computer
When you install the SDK, you get a JRE along with it
IDE, Integrated Development Environment

A tool, such as Eclipse, that makes it easier to write programs
9
The End
10