Java Lab2 - PowerPoint PPT Presentation

1 / 20
About This Presentation
Title:

Java Lab2

Description:

java JDK java ... eclipse, jbuilder, ant ... PowerPoint Presentation Last modified by: – PowerPoint PPT presentation

Number of Views:169
Avg rating:3.0/5.0
Slides: 21
Provided by: educ5497
Category:

less

Transcript and Presenter's Notes

Title: Java Lab2


1
Java Lab2
  • ???? ?????????????

2
Lab2 overview
  • Lab1????
  • JDK??
  • JDK??
  • ????
  • ???Java??(??Editplus)

3
Lab1????
  • ??????
  • http//10.64.130.1782/
  • http//www.ycul.org/
  • ????BBS??
  • ?????IE/Firefox (http//bbs.fudan.edu.cn/)
  • ?????Fterm/Cterm
  • cuteftp??

4
(No Transcript)
5
(No Transcript)
6
BBS??
  • ??????
  • ?????-gt0 BBS??-gtBBS_Help
  • ?????-gt3 ????-gt14 Java
  • ?????-gt2 ????-gt?? Zone-Software
  • ????
  • ?????
  • ??
  • ??

7
BBS??(2)
  • ?????(?java???)
  • ?????-gta-gt??java??
  • ??h??????
  • ??
  • ??8Java????
  • ??Ctrlg????????
  • ??
  • ????P,W

8
???java??
  • ????JDK
  • ??java??
  • ????????
  • ????

9
????JDK
  • j2sdk????
  • ftp//ssss_at_10.132.141.33/public/Softwares/Develop
    /Java/Sun SDKs/
  • ??????jdk-1_5_0-windows-i586.exe
  • ?????D\setup
  • j2skd??
  • (???????,??jdk?jre????D\Java?)

10
??java??
  • ????-gt??-gt??-gt????
  • ????????CLASSPATH??,??.
  • ??????????????,??????java????
  • ????????(????java???D\Java\jdk1.5.0)
  • ?PATH??????????(????) D\Java\jdk1.5.0\bin(????
    )

11
??java??(2)
12
??java??(3)
1)??-gt??.-gt??cmd 2)??java/javac
13
????????
  • ????
  • ???
  • Editplus\UltraEdit ??java???
  • IDE(??????) eclipse, jbuilder, ant

14
????? ???
  • ????
  • file-gtsave
  • ??
  • ????????
  • ????txt??java,?hello.java

15
????? ???(2)
  • ???????D\program\hello.java
  • d ????
  • dir ????????????????
  • cd program ??program???
  • javac hello.java ?hello.java??
  • java hello??hello.class
  • ?? ??????

16
????? Editplus
  • ??
  • http//10.64.130.1782(??editplus)
  • ???(??????)
  • Namewww.51ct.cn
  • Code 16ED7-F7220-AAR6F-A9O27-20R9F

17
????? Editplus(1)
  • ??-gt??????
  • ????-gt??
  • ??????javac java

18
????? Editplus(2)
  • Javac
  • ????javac
  • ??????javac.exe???
  • ?????? (FileName)
  • ????????(FileDir)
  • ??????????????????

19
????? Editplus(3)
  • Java
  • ????java
  • ??????java.exe???
  • ??????(????) (FileNameNoExt)
  • ????????(FileDir)
  • ??????????????
  • ????????????????Editplus???,?????console???.

20
????? Editplus(4)
  • ctrl1 ??javac??
  • ctrl2 ??java??
Write a Comment
User Comments (0)
About PowerShow.com