1.Javaè·Hadoopçå
³ç³»å¯ååï¼
2.å¦ä½å¨win7ä¸çeclipseä¸è°è¯Hadoop2.2.0çç¨åº
3.javaç¨åºåç¨ä»ä¹è½¯ä»¶å代ç ï¼
Javaè·Hadoopçå ³ç³»å¯ååï¼
ãã1ãä»ææ¡åºç¡ä¸æ¥è¯´ï¼Javaä¸Hadoopçå ³ç³»è¿æ¯æºå¯åçï¼å 为javaç水平好äºï¼å¦ä¹ hadoopæ´æ¹ä¾¿äºï¼æ¯ç«hadoopæ¯javaå¼åçï¼æä»¥å ·æjavaåºç¡ç人转åHadoopæ天ç¶ä¼å¿
ãã2ãä½åä»ä¸¤è çå ³ç³»æ¥è¯´ï¼ä¸å¯åãå 为ä¸ä¼javaå¯ä»¥å¦ï¼javaçè¯æ³è¿æ¯æ¯è¾ç®åï¼å¯¹javaè¯æ³çæäºï¼çæhadoopå°±é®é¢ä¸å¤§ã
å¦ä½å¨win7ä¸çeclipseä¸è°è¯Hadoop2.2.0çç¨åº
å¨ä¸ä¸ç¯åæä¸ï¼æ£ä»å·²ç»è®²äºHadoopçåæºä¼ªåå¸çé¨ç½²ï¼æ¬ç¯ï¼æ£ä»å°±è¯´ä¸ï¼å¦ä½eclipseä¸è°è¯hadoop2.2.0,上长影指标源码å¦æä½ ä½¿ç¨çè¿æ¯hadoop1.xççæ¬ï¼é£ä¹ï¼ä¹æ²¡äºï¼æ£ä»å¨ä»¥åçå客éï¼ä¹åè¿eclipseè°è¯1.xçhadoopç¨åºï¼ä¸¤è æ大çä¸åä¹å¤å¨äºä½¿ç¨çeclipseæ件ä¸åï¼hadoop2.xä¸hadoop1.xçAPIï¼ä¸å¤ªä¸è´ï¼æ以æ件ä¹ä¸ä¸æ ·ï¼æ们åªéè¦ä½¿ç¨åå«å¯¹åºçæ件å³å¯.ä¸é¢å¼å§è¿å ¥æ£é¢:
åºå· å称 æè¿°
1 eclipse Juno Service Release 4.2çæ¬
2 æä½ç³»ç» Windows7
3 hadoopçeclipseæ件 hadoop-eclipse-plugin-2.2.0.jar
4 hadoopçé群ç¯å¢ èææºLinuxçCentos6.5åæºä¼ªåå¸å¼
5 è°è¯ç¨åº Hellow World
éå°çå 个é®é¢å¦ä¸ï¼
Java代ç
java.io.IOException: Could not locate executable null\bin\winutils.exe in the Hadoop binaries.
解å³åæ³:
å¨org.apache.hadoop.util.Shellç±»çcheckHadoopHome()æ¹æ³çè¿åå¼éååºå®ç
æ¬æºhadoopçè·¯å¾ï¼æ£ä»å¨è¿éæ´æ¹å¦ä¸ï¼
Java代ç private static String checkHadoopHome() {
// first check the Dflag hadoop.home.dir with JVM scope
//System.setProperty("hadoop.home.dir", "...");
String home = System.getProperty("hadoop.home.dir");
// fall back to the system/user-global env variable
if (home == null) {
home = System.getenv("HADOOP_HOME");
}
try {
// couldn't find either setting for hadoop's home directory
if (home == null) {
throw new IOException("HADOOP_HOME or hadoop.home.dir are not set.");
}
if (home.startsWith("\"") && home.endsWith("\"")) {
home = home.substring(1, home.length()-1);
}
// check that the home setting is actually a directory that exists
File homedir = new File(home);
if (!homedir.isAbsolute() || !homedir.exists() || !homedir.isDirectory()) {
throw new IOException("Hadoop home directory " + homedir
+ " does not exist, is not a directory, or is not an absolute path.");
}
home = homedir.getCanonicalPath();
} catch (IOException ioe) {
if (LOG.isDebugEnabled()) {
LOG.debug("Failed to detect a valid hadoop home directory", ioe);
}
home = null;
}
//åºå®æ¬æºçhadoopå°å
home="D:\\hadoop-2.2.0";
return home;
}
第äºä¸ªå¼å¸¸ï¼Could not locate executable D:\Hadoop\tar\hadoop-2.2.0\hadoop-2.2.0\bin\winutils.exe in the Hadoop binaries. æ¾ä¸å°winä¸çæ§è¡ç¨åºï¼å¯ä»¥å»ä¸è½½binå ï¼è¦çæ¬æºçhadoopè·ç®å½ä¸çbinå å³å¯
第ä¸ä¸ªå¼å¸¸ï¼
Java代ç Exception in thread "main" java.lang.IllegalArgumentException: Wrong FS: hdfs://...:/user/hmail/output/part-, expected: file:///
at org.apache.hadoop.fs.FileSystem.checkPath(FileSystem.java:)
at org.apache.hadoop.fs.RawLocalFileSystem.pathToFile(RawLocalFileSystem.java:)
at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:)
at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:)
at org.apache.hadoop.fs.ChecksumFileSystem$ChecksumFSInputChecker.<init>(ChecksumFileSystem.java:)
at org.apache.hadoop.fs.ChecksumFileSystem.open(ChecksumFileSystem.java:)
at org.apache.hadoop.fs.FileSystem.open(FileSystem.java:)
at com.netease.hadoop.HDFSCatWithAPI.main(HDFSCatWithAPI.java:)
åºç°è¿ä¸ªå¼å¸¸ï¼ä¸è¬æ¯HDFSçè·¯å¾åçæé®é¢ï¼è§£å³åæ³ï¼æ·è´é群ä¸çcore-site.xmlåhdfs-site.xmlæ件ï¼æ¾å¨eclipseçsrcæ ¹ç®å½ä¸å³å¯ã
第å个å¼å¸¸ï¼
Java代ç Exception in thread "main" java.lang.UnsatisfiedLinkError: org.apache.hadoop.io.nativeio.NativeIO$Windows.access0(Ljava/lang/String;I)Z
åºç°è¿ä¸ªå¼å¸¸ï¼ä¸è¬æ¯ç±äºHADOOP_HOMEçç¯å¢åéé ç½®çæé®é¢ï¼å¨è¿éæ£ä»ç¹å«è¯´æä¸ä¸ï¼å¦ææ³å¨Winä¸çeclipseä¸æåè°è¯Hadoop2.2ï¼å°±éè¦å¨æ¬æºçç¯å¢åéä¸ï¼æ·»å å¦ä¸çç¯å¢åéï¼
ï¼1ï¼å¨ç³»ç»åéä¸ï¼æ°å»ºHADOOP_HOMEåéï¼å±æ§å¼ä¸ºD:\hadoop-2.2.0.ä¹å°±æ¯æ¬æºå¯¹åºçhadoopç®å½
(2)å¨ç³»ç»åéçPathéï¼è¿½å %HADOOP_HOME%/binå³å¯
以ä¸çé®é¢ï¼æ¯æ£ä»å¨æµè¯éå°çï¼ç»è¿å¯¹çä¸è¯ï¼æ们çeclipseç»äºå¯ä»¥æåçè°è¯MRç¨åºäºï¼æ£ä»è¿éçHellow Worldæºç å¦ä¸ï¼
Java代ç package com.qin.wordcount;
import java.io.IOException;
import org.apache.hadoop.fs.FileSystem;
import org.apache.hadoop.fs.Path;
import org.apache.hadoop.io.IntWritable;
import org.apache.hadoop.io.LongWritable;
import org.apache.hadoop.io.Text;
import org.apache.hadoop.mapred.JobConf;
import org.apache.hadoop.mapreduce.Job;
import org.apache.hadoop.mapreduce.Mapper;
import org.apache.hadoop.mapreduce.Reducer;
import org.apache.hadoop.mapreduce.lib.input.FileInputFormat;
import org.apache.hadoop.mapreduce.lib.input.TextInputFormat;
import org.apache.hadoop.mapreduce.lib.output.FileOutputFormat;
import org.apache.hadoop.mapreduce.lib.output.TextOutputFormat;
/***
*
* Hadoop2.2.0æµè¯
* æ¾WordCountçä¾å
*
* @author qindongliang
*
* hadoopææ¯äº¤æµç¾¤ï¼
*
*
* */
public class MyWordCount {
/**
* Mapper
*
* **/
private static class WMapper extends Mapper<LongWritable, Text, Text, IntWritable>{
private IntWritable count=new IntWritable(1);
private Text text=new Text();
@Override
protected void map(LongWritable key, Text value,Context context)
throws IOException, InterruptedException {
String values[]=value.toString().split("#");
//System.out.println(values[0]+"========"+values[1]);
count.set(Integer.parseInt(values[1]));
text.set(values[0]);
context.write(text,count);
}
}
/**
* Reducer
*
* **/
private static class WReducer extends Reducer<Text, IntWritable, Text, Text>{
private Text t=new Text();
@Override
protected void reduce(Text key, Iterable<IntWritable> value,Context context)
throws IOException, InterruptedException {
int count=0;
for(IntWritable i:value){
count+=i.get();
}
t.set(count+"");
context.write(key,t);
}
}
/**
* æ¹å¨ä¸
* (1)shellæºç éæ·»å checkHadoopHomeçè·¯å¾
* (2)è¡ï¼FileUtilséé¢
* **/
public static void main(String[] args) throws Exception{
// String path1=System.getenv("HADOOP_HOME");
// System.out.println(path1);
// System.exit(0);
JobConf conf=new JobConf(MyWordCount.class);
//Configuration conf=new Configuration();
//conf.set("mapred.job.tracker","...:");
//读åpersonä¸çæ°æ®å段
// conf.setJar("tt.jar");
//注æè¿è¡ä»£ç æ¾å¨æåé¢ï¼è¿è¡åå§åï¼å¦åä¼æ¥
/**Jobä»»å¡**/
Job job=new Job(conf, "testwordcount");
job.setJarByClass(MyWordCount.class);
System.out.println("模å¼ï¼ "+conf.get("mapred.job.tracker"));;
// job.setCombinerClass(PCombine.class);
// job.setNumReduceTasks(3);//设置为3
job.setMapperClass(WMapper.class);
job.setReducerClass(WReducer.class);
job.setInputFormatClass(TextInputFormat.class);
job.setOutputFormatClass(TextOutputFormat.class);
job.setMapOutputKeyClass(Text.class);
job.setMapOutputValueClass(IntWritable.class);
job.setOutputKeyClass(Text.class);
job.setOutputValueClass(Text.class);
String path="hdfs://...:/qin/output";
FileSystem fs=FileSystem.get(conf);
Path p=new Path(path);
if(fs.exists(p)){
fs.delete(p, true);
System.out.println("è¾åºè·¯å¾åå¨ï¼å·²å é¤ï¼");
}
FileInputFormat.setInputPaths(job, "hdfs://...:/qin/input");
FileOutputFormat.setOutputPath(job,p );
System.exit(job.waitForCompletion(true) ? 0 : 1);
}
}
æ§å¶å°ï¼æå°æ¥å¿å¦ä¸ï¼
Java代ç INFO - Configuration.warnOnceIfDeprecated() | mapred.job.tracker is deprecated. Instead, use mapreduce.jobtracker.address
模å¼ï¼ local
è¾åºè·¯å¾åå¨ï¼å·²å é¤ï¼
INFO - Configuration.warnOnceIfDeprecated() | session.id is deprecated. Instead, use dfs.metrics.session-id
INFO - JvmMetrics.init() | Initializing JVM Metrics with processName=JobTracker, sessionId=
WARN - JobSubmitter.copyAndConfigureFiles() | Hadoop command-line option parsing not performed. Implement the Tool interface and execute your application with ToolRunner to remedy this.
WARN - JobSubmitter.copyAndConfigureFiles() | No job jar file set. User classes may not be found. See Job or Job#setJar(String).
INFO - FileInputFormat.listStatus() | Total input paths to process : 1
INFO - JobSubmitter.submitJobInternal() | number of splits:1
INFO - Configuration.warnOnceIfDeprecated() | user.name is deprecated. Instead, use mapreduce.job.user.name
INFO - Configuration.warnOnceIfDeprecated() | mapred.output.value.class is deprecated. Instead, use mapreduce.job.output.value.class
INFO - Configuration.warnOnceIfDeprecated() | mapred.mapoutput.value.class is deprecated. Instead, use mapreduce.map.output.value.class
INFO - Configuration.warnOnceIfDeprecated() | mapreduce.map.class is deprecated. Instead, use mapreduce.job.map.class
INFO - C
javaç¨åºåç¨ä»ä¹è½¯ä»¶å代ç ï¼
JAVAç¼ç¨åå¦,ç¨ä»ä¹è½¯ä»¶?
1ãæ°æ§ç¼ç¨ç°å¨ç¨çå¤çè¿æ¯MastercamãUGãCimtronãPowerMILLç软件ãå½å ä¹æCaxaï¼åèªç å¶ï¼ãNPUï¼è¥¿åå·¥ä¸å¤§å¦ç å¶ï¼çåè½ä¹å¾å¼ºå¤§ï¼éå大åä¸ç¨å·¥ä»¶çå å·¥ç¼ç¨ã
2ãJDK(JavaDevelopmentKit)JDKæ¯æ´ä¸ªJavaçæ ¸å¿ï¼å æ¬äºJavaè¿è¡ç¯å¢(JavaRuntimeEnvirnment)ï¼ä¸å Javaå·¥å ·åJavaåºç¡çç±»åº(rt.jar)ãä¸è®ºä»ä¹Javaåºç¨æå¡å¨å®è´¨é½æ¯å ç½®äºæ个çæ¬çJDKã
3ãä½æ¯ç°å¨é½ä½¿ç¨MyEclipseï¼å®å æ¬äºeclipseï¼è¿å æ¬äºå ¶å®æ¡æ¶ï¼æ¯å¦ï¼Strutsï¼Springï¼Hibernateçï¼æä»¥å»ºè®®ä½ ç¨MyEclipse6ï¼å¨ç½ä¸å°±å¯ä»¥å è´¹ä¸è½½ãæä½æ¹ä¾¿ï¼é常好ç¨ï¼å¼ºçæ¨èã
4ãjavaç¨IntelliJIDEAãNetBeans软件ç¼ç¨æ好ãIntelliJIDEAIntelliJIDEAï¼æ¯javaç¼ç¨è¯è¨å¼åçéæç¯å¢ã
Javaç¨åºåå¿ å¤çå¼åå·¥å ·æåªäº
MongoDBMongoDBæ¯ä½¿ç¨é常广æ³çå·¥å ·ï¼å ·æ跨平å°åé¢åææ¡£æ°æ®åºçä¼å¿ï¼æ¯ç°å¨ä½¿ç¨æå¤çä¸ç§æ°æ®åºãå¨ä½¿ç¨è¿ç¨ä¸ï¼æçµæ´»çæ档模åãé«å¯ç¨å¤å¶éãå¯æ©å±åçé群ï¼è¿è½è¿è¡å®æ¶çæ§çç¸å ³æä½ã
ServiceLoader-å è½½æå¡Javaå¼å人åé常å¸æåºå使ç¨ä»ä¹åå建ä»ä¹ï¼åé¾è§java课ç¨å¹è®æºæåç°é常æ¯éè¿å建ä¸ä¸ªæè¿°ç»ä»¶æä½çæ¥å£å使ç¨æç§ä¸ä»å建ç»ä»¶å®ä¾ã
ApacheCommonsLangApacheCommonsLangæ¯ApacheæèåçJAVAåºï¼å®æ¯å¯¹java.langçå¾å¥½æ©å±ï¼å å«äºå¤§éé常å®ç¨çå·¥å ·ç±»ï¼å ¶ä¸ç¨çæå¤çæStringUtilsï¼DateUtilsï¼NumberUtilsçã
Groovyæ们使ç¨Groovyæ¥åJavaæµè¯ã为ä»ä¹ï¼å 为å®æä¾äºä¸é¢è¿äºè½åï¼å®½æ¾çJavaè¯æ³ï¼è¿æ¯Javaè¯æ³ï¼ä½æäºå ¶ä»è§åï¼æ¯å¦åå·ï¼åéç±»åï¼è®¿é®ä¿®é¥°ç¬¦é½æ¯å¯éçã
ä½ å¥½ï¼ç®åjava主æµå¸¸ç¨çå¼åå·¥å ·æï¼Notepadï¼MyEclipseï¼IntllijIDEAã使ç¨é¾åº¦ä¾æ¬¡éæ¸éå¢ï¼å½ç¶è½å¤å®ç°çåè½ä¹è¶æ¥è¶å¤æåå¤æ ·ã
常ç¨çå·¥å ·æï¼Eclipseæ®æ°æ®æ¾ç¤ºå¾å¤Javaå¼å人åçJavaå¼åå·¥å ·ä¾¿æ¯Eclipseï¼è¿ä¸»è¦å¾çäºEclipseæ¯ä¸ä¸ªå¼æºçãå¯ä»¥åºäºJavaçå¯æ©å±å¼åå¹³å°ã
Javaç¨åºå常ç¨çå¼åå·¥å ·æåªäº?1ãSublimeTextæ¯ç±ç¨åºåJonSkinneräºå¹´1æ份æå¼ååºæ¥ï¼å®æå被设计为ä¸ä¸ªå ·æ丰å¯æ©å±åè½çVimãå®æ¯ä¸æ¬¾æ¶è´¹è½¯ä»¶ï¼ä½æ¯å¯ä»¥æ éæè¯ç¨ï¼å®æ¯ä¸ä¸ªè·¨å¹³å°çç¼è¾å¨ï¼åæ¶æ¯æWindowsãLinuxãMacOSXçæä½ç³»ç»ã
2ãjavaå¼åå·¥å ·JavaWorkshopSunMicroSystemså ¬å¸äºæ¨åºäºJavaWorkShop0ï¼è¿æ¯ä¸çåºç°ç第ä¸ä¸ªä¾Internetç½ä½¿ç¨çå¤å¹³å°å¼åå·¥å ·ï¼å®å¯ä»¥æ»¡è¶³åå ¬å¸å¼åInternetåIntranetç½åºç¨è½¯ä»¶çéè¦ã
3ãNetBasesæ¯javaå¼åæ¡é¢åºç¨ç¨åºç¨çãJBuilderæ¯å¼åWebåºç¨ç¨åºçï¼å å¹´åæ¯è¾æµè¡ï¼ä½æ¯JBuilderå¨javaç¼ç¨å·¥å ·ä¸ç»æ²»äºå¤§çº¦å¹´å·¦å³åï¼å®çå°ä½è¢«Eclipseæ¢èµ°äºãç°å¨ææµè¡çjavaå¼åå·¥å ·å°±æ¯Eclipseäºã
4ãGroovyæ们使ç¨Groovyæ¥åJavaæµè¯ã为ä»ä¹ï¼å 为å®æä¾äºä¸é¢è¿äºè½åï¼å®½æ¾çJavaè¯æ³ï¼è¿æ¯Javaè¯æ³ï¼ä½æäºå ¶ä»è§åï¼æ¯å¦åå·ï¼åéç±»åï¼è®¿é®ä¿®é¥°ç¬¦é½æ¯å¯éçã
5ã常ç¨çå·¥å ·æï¼Eclipseæ®æ°æ®æ¾ç¤ºå¾å¤Javaå¼å人åçJavaå¼åå·¥å ·ä¾¿æ¯Eclipseï¼è¿ä¸»è¦å¾çäºEclipseæ¯ä¸ä¸ªå¼æºçãå¯ä»¥åºäºJavaçå¯æ©å±å¼åå¹³å°ã
6ãç¨Javaå¼åç软件å¦ä¸ï¼Notepad++Notepad++æ¯Windowsæä½ç³»ç»ä¸çä¸å¥ææ¬ç¼è¾å¨ï¼æå®æ´çä¸æåæ¥å£åæ¯æå¤å½è¯è¨ç¼åçåè½ï¼UTF8ææ¯ï¼ã
javaç¨ä»ä¹è½¯ä»¶ç¼åJAVAç¼ç¨å¸¸ç¨ç软件ï¼IntellijIDEAIntellijIDEAæ¯å½åJavaå¼å人åå¼å£°å¾é«çä¸æ¬¾IDEï¼å ·æç¾è§ï¼é«æçä¼å¤ç¹ç¹ï¼å°ç¼è¿æ¯é常å欢çï¼æ以以å¾æé½æ¯å¨èªå·±çµèå®è£ è¿æ¬¾è½¯ä»¶çã
IntelliJIDEAï¼IntelliJIDEAæ¯ä¸æ¬¾ç»¼åçJavaç¼ç¨ç¯å¢ï¼è¢«è®¸å¤å¼å人ååè¡ä¸ä¸å®¶èªä¸ºå¸åºä¸æ好ç¨çIDEä¹ä¸ï¼ä¸MyEclipseé½åã
åå¦Javaä¹åï¼å¾å¤äººé½ä¸æ¸ æ¥éè¦ç¨å°åªäºè½¯ä»¶ï¼å¦ä¹ javaé¦å éè¦å¦ä¹ JDKï¼JDKæ¯ä¸ä¸ªç¼åJavaçAppletå°ç¨åºååºç¨ç¨åºçç¨åºå¼åç¯å¢ãJDKæ¯æ´ä¸ªJavaçæ ¸å¿ï¼å æ¬äºJavaè¿è¡ç¯å¢ï¼ä¸äºJavaå·¥å ·åJavaçæ ¸å¿ç±»åºã
ç¨myeclipseæè eclipseï¼è®°äºæ¬é½å¯ä»¥ãåå¦è çè¯ä¸å»ºè®®ä¸æ¥å°±ç¨IDEå¼åå·¥å ·æ¯å¦è¯´EclipseãMyEclipseãIntelliJIDEAãnetbeanãä½æ¯ä¹å¯ä»¥ä½¿ç¨è¿äºï¼ä¸å»ºè®®çåå ä¸ä¾¿äºä½ äºè§£JavaAPIï¼åç¸å ³çç¼è¯åçï¼ç¼è¯è¿ç¨ä¹ç±»çã
javaç¨IntelliJIDEAãNetBeans软件ç¼ç¨æ好ãIntelliJIDEAIntelliJIDEAï¼æ¯javaç¼ç¨è¯è¨å¼åçéæç¯å¢ã
Hadoopæ¯è¿è¡Javaç¼åç软件æ¡æ¶ï¼ä¸»è¦ä½¿ç¨å¨åå¸å¼åå¨ã对äºé常大çæ°æ®ï¼ç¨æ·å¯ä»¥å¨ä¸ç¥éåå¸å¼åºç¡çæ åµä¸è¿è¡å¼ååå¸å¼ç¨åºï¼å¹¶ä¸è½å¤ä½¿ç¨é群å®ç°é«é计ç®ååå¨ã
æä»ä¹java软件å¯ä»¥ç¼åjava?1ãIDEAä¹ä¸éï¼æ两个çæ¬ï¼å è´¹ççå¯ä»¥åJavaå¼åï¼å°±æ¯åé£ç§è·èµ·æ¥æ¯é»æ¡æ¡çJavaç¨åºï¼ä¹å¯ä»¥åAndroidå¼å(åAndroidæ´å¥½çéæ©å»googleä¸è½½AndroidStudio)ï¼ä»è´¹ççè¿å¯ä»¥åJ2EEå¼åã
2ãJavaDevelopmentKitï¼JDKï¼ï¼JDKæ¯Javaç¼åæå¿ éç软件å ãå®å æ¬Javaç¼è¯å¨ãJavaè¿è¡æ¶ç¯å¢åå ¶ä»å·¥å ·ï¼å¦JavaDocåJConsoleãJDKæä¾äºJavaAPIåå ¶ä»å¼åå·¥å ·ï¼ä½¿Javaç¼åæ´å 容æã
3ãIntellijIDEAIntellijIDEAæ¯å½åJavaå¼å人åå¼å£°å¾é«çä¸æ¬¾IDEï¼å ·æç¾è§ï¼é«æçä¼å¤ç¹ç¹ï¼å°ç¼è¿æ¯é常å欢çï¼æ以以å¾æé½æ¯å¨èªå·±çµèå®è£ è¿æ¬¾è½¯ä»¶çã
4ãJAVAç¼ç¨å¸¸ç¨ç软件ï¼Eclipseï¼Eclipseæ¯ä¸ä¸ªå¼æ¾æºä»£ç çãåºäºJavaçå¯æ©å±å¼åå¹³å°ãå°±å ¶æ¬èº«èè¨ï¼å®åªæ¯ä¸ä¸ªæ¡æ¶åä¸ç»æå¡ï¼ç¨äºéè¿æ件ç»ä»¶æ建å¼åç¯å¢ã
5ãjavaç¨IntelliJIDEAãNetBeans软件ç¼ç¨æ好ãIntelliJIDEAIntelliJIDEAï¼æ¯javaç¼ç¨è¯è¨å¼åçéæç¯å¢ã
6ã\x0d\NetBeans-SUNå ¬å¸èªå·±å¼åçJavaå¼åç¯å¢ï¼åè½æºå¤çã\x0d\è¿æä¸äºè¶ å欢æå·¥ç¼åJava代ç çç人å欢使ç¨å¸¦è¯æ³çè²åè½ç纯ææ¬ç¼è¾å¨ç¼åJavaç¨åºï¼ä»£ç åå®åå¨å½ä»¤æ示符ä¸ç¼è¯è¿è¡ã