ÅäÖÃJavaºÍeclipse»·¾³
ÀÏ
ʦÈÃÏÂÔØ°²×°jdk1.4¡¢jdk1.5ºÍjdk1.6Èý¸ö°æ±¾µÄJava¿ª·¢°ü£¬²¢ÇÒÊìÁ·Çл»¸÷¸ö»·¾³£¬Æäʵ¾ÍÊÇÅäÖò»Í¬µÄ»·¾³±äÁ¿¡£ÒÔÇ°Ö»ÊÇÔÚ»·¾³±ä
Á¿ÖÐÉèÖÃÁËÓû§±äÁ¿£¬JavaÔËÐÐÒ²ºÜÕý³£¡£Ò»µ©ÐèÒªÔÚ¼¸¸ö°æ±¾ÖÐÇл»£¬Óû§±äÁ¿¾ÍʧЧÁË¡£¾¹ý³¢ÊÔ²ÅÖªµÀ±ØÐëÉèÖÃϵͳ±äÁ¿£¬ÎªÁË·½±ã¿ÉÒÔÉèÖÃ
JAVA_HOME±äÁ¿ÎªjdkµÄ°²×°Â·¾¶£¬ÔÙ°Ñ %JAVA_HOME%\bin; ¼ÓÈëµ½PathÖС£
javaµÄ°æ±¾ÊÇÏòºó¼æÈݵģ¬ÐÂ
°æ±¾µÄÐéÄâ»ú¿ÉÒÔÔËÐоɰ汾µÄclassÎļþ£¬µ«ÊǾɰ汾²»ÄÜÔËÐÐа汾µÄ¡£ÔÚÓÃjavac±àÒ룬»òÓÃjavaÔËÐÐʱ£¬¿ÉÒÔ¼ÓÉÏÑ¡Ïî-verbose£¬Õâ
Ñù¿ÉÒÔÇå³þÖªµÀÒ»¸öjava³ÌÐò±àÒëºÍÔËÐÐʱ¾ßÌåÖ´ÐÐÁËʲô²Ù×÷¡£ÒòΪclassÎļþʵ¼ÊÉÏÊÇÔÚjavaÐéÄâ»úÀïÖ´Ðеģ¬ºÜ¶àϸ½Ú¶¼±»Òþ²ØÁË¡£
½Ó
ÏÂÀ´¾ÍÊÇÅäÖÃeclipse»·¾³¡£Æäʵeclipse²»Óð²×°£¬Ö»Òª½âѹËõ¾ÍÄÜÓá£ÎªÁËÑо¿·½±ã£¬×îºÃ°²×°ÖÐÎÄ°ü¡£µÈÊìϤeclipse»·¾³ÒԺ󣬿ÉÒÔÔÙ
»»»ØÓ¢ÎÄ£¬ËùÒÔ²ÉÓòå¼þ·½Ê½°²×°ÖÐÎÄ°ü¡£ÔÚeclipseÎļþ¼ÐÖÐн¨languageÎļþ¼Ð£¬²¢½«eclipseÓïÑÔ°ü½âѹËõµ½´ËÎļþ¼ÐÀ·¾¶Èç
D:\eclipse\language\eclipse)¡£ÔÙн¨linksÎļþ¼Ð£¬ÀïÃæн¨Îı¾Îļþlanguage.txt£¬ÄÚÈÝΪ
path=D:/eclipse/language (Ò²¿ÉÒÔÓÃ\\)¡£
»¹Óм¸¸öÎÊÌâÐèҪעÒâ¡£Èç¹ûÅäÖúÃeclipseÒÔºó½çÃ滹ÊÇÓ¢
ÎÄ£¬¾Í°ÑconfigurationÎļþ¼ÐÖеÄ×ÓÎļþ¼ÐÈ«²¿É¾µô£¬µ«ÊÇconfig.iniÎļþ²»ÄÜɾ£¬·ñÔò»á³ö´í¡£ÁíÍ⣬eclipse²å¼þºÃÏñ²»Ö§³Ö
ÖÐÎÄ·¾¶¡£Ò»Í¬Ñ§ÔÚ°²×°ÖÐÎÄ°üʱʹÓÃÖÐÎÄ·¾¶£¬×ÜÊÇ°²×°Ê§°Ü£¬¸Ä³ÉÓ¢ÎÄ·¾¶ºó¾Í³É¹¦ÁË¡£
Ïà¹ØÎĵµ£º
1¡¢ÖØÔØ(Overloading)
£¨1£©·½·¨ÖØÔØÊÇÈÃÀàÒÔͳһµÄ·½Ê½´¦Àí²»Í¬ÀàÐÍÊý¾ÝµÄÒ»ÖÖÊֶΡ£¶à¸öͬÃûº¯Êýͬʱ
´æÔÚ£¬¾ßÓв»Í¬µÄ²ÎÊý¸öÊý/ÀàÐÍ¡£ÖØÔØOverloadingÊÇÒ»¸öÀàÖжà̬ÐÔµÄÒ»ÖÖ±íÏÖ¡£
£¨2£©JavaµÄ·½·¨ÖØÔØ£¬¾ÍÊÇÔÚÀàÖпÉÒÔ´´½¨¶à¸ö·½·¨£¬ËüÃǾßÓÐÏàͬµÄÃû×Ö£¬µ«¾ß
Óв»Í¬µÄ²ÎÊýºÍ²»Í¬µÄ¶¨Òå¡£µ÷Ó÷½·¨Ê±Í¨¹ý´«µÝ¸øËüà ......
Java³£¼ûÎÊÌ⼯½õ:
ÎÊ:ÈçºÎÉèÖÃJava 2(JDK1.2)µÄ»·¾³±äÁ¿?
´ð:Java 2°²×°ºó,ÐèÒªÉèÖÃPATHºÍJAVA_HOME»·¾³±äÁ¿.ÓëJDK1.1²»Í¬µÄÊÇ:ÉèÖúÃJAVA_HOME»·¾³±äÁ¿ºó,JVM½«×Ô¶¯ËÑË÷ϵͳÀà¿âÒÔ¼°Óû§µÄµ±Ç°Â·¾¶.
Java 2»·¾³±äÁ¿µÄÉèÖÃÈçÏÂÀýËùʾ:
Solarisƽ̨: setenv JAVA_HOME Java2µÄ°²×°Â·¾¶
setenv PATH /bin:/p/2002-11-14 ......
Java ÔÓ̸£¨Èý£©
ÕâÒѾ±ÊÕßдµÄµÚÈýƪJavaÔÓ¼ÇÁË£¬ÇìÐÒÇ°Á½ÆªÒ»Ö±µÃµ½ÂÛ̳ÅóÓÑÃǵÄÖ§³Ö¹ÄÀø£¬»¹Íû´ó¼Ò¼ÌÐøÖ¸Õý²»×ãÖ®´¦¡£±ÊÕßÒ²Ò»Ö±¿ÊÍûͨ¹ýÕâÑù·½Ê½ÇåÐѵÄ×ÔÉó£¬À´Ñ°ÕÒ×Ô¼º¼¼ÊõÉϵIJ»×ãÖ®´¦£¬Ï£ÍûºÍ¹²Í¬°®ºÃJavaµÄͬÈÊÃÇÒ»ÆðÌá¸ß¡£
& ......
JavaÔÓ̸£¨Ê®Ò»£©??ORM
ÕâÊÇ×îºóһƪJavaÔÓ̸ÁË£¬ÒÔORM¿ò¼ÜµÄ̸ÂÛÊÕ⣬ҲËãÊÇ°ÑJ2eeµÄ×îºóÒ»·½Ãæ¸øº¸Çµ½ÁË£¬Ö®ËùÒÔÕâôÍí²Å×ܽá³öORMÕâ·½Ã棬һÊDZÊÕßÕâÁ½ÖܱȽÏ棬ÁíÒ»·½ÃæÒ²ÏëÉÆʼÉÆÖÕ£¬×ÐϸµÄÏÈ×Ô¼ººÃºÃÑо¿Ò»ÏÂORM¿ò¼Ü¼¼Êõ£¬²»Ïë²ÝÂʵķóÑÜÁËÊ¡£ &n ......
JavaÔÓ̸£¨Áù£©
ÕâƪÊDZÊÕß´òËãдµÄJ2se²¿·ÖµÄ×îºóһƪÁË£¬Õâƪ½áÊøÖ®ºó£¬ÔÙдJ2ee²¿·Ö£¬²»ÖªµÀÊÇ·ñ»¹ºÏÊÊдÔÚÕâ¸ö°æ¿é£¿´ó¼Ò¿ÉÒÔ¸øµãÒâ¼û£¬Ð»Ð»´ó¼Ò¶ÔСµÜÕâô¹ÄÀøһ·дÍêÇ°ÁùƪJavaÔÓ̸µÄJ2se²¿·Ö¡£×îºóÕâƪ´òËã̸һ̸JavaÖеÄRMI»úÖƺÍJVMɳÏ䰲ȫ¿ò¼Ü¡£&nbs ......