Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÅäÖÃ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²å¼þºÃÏñ²»Ö§³Ö
ÖÐÎÄ·¾¶¡£Ò»Í¬Ñ§ÔÚ°²×°ÖÐÎÄ°üʱʹÓÃÖÐÎÄ·¾¶£¬×ÜÊÇ°²×°Ê§°Ü£¬¸Ä³ÉÓ¢ÎÄ·¾¶ºó¾Í³É¹¦ÁË¡£


Ïà¹ØÎĵµ£º

JavaÃοªÊ¼µÄµØ·½

JavaÃοªÊ¼µÄµØ·½
Ï£ÍûÊǼáÈ͵ĹÕÕÈ£¬ÈÌÄÍÊÇÂÃÐдü£¬Ð¯´øËüÃÇ£¬ÈË¿ÉÒÔµÇÉÏÓÀºãÖ®ÂÃ;¡£--Bertrand Russell
Java:¸ßЧ¿ì½Ý¿çƽ̨¿ÉÒÆÖ²
³ÌÐòÔ±£ºJavaÓïÑÔ±¾Éí£¨»ù±¾Óï·¨ºÍ¸ÅÄԭÀíÓ¦Óã©£»JavaÓ¦Óÿª·¢
Êé¼®£ºJava±à³Ì˼Ï룻Java½Ì³Ì£»ÉîÈ뿪·¢Java Web¿ª·¢ÄÚÄ»µÈ
ÃοªÊ¼µÄµØ·½
01Ò»ÃÅÓïÑÔ¾«Í¨µÄ±ØÒªÌõ¼þ
02²Ù×÷ÏµÍ ......

JavaÖÐÖØÔغÍÖØдµÄÇø±ð

1¡¢ÖØÔØ(Overloading)
£¨1£©·½·¨ÖØÔØÊÇÈÃÀàÒÔͳһµÄ·½Ê½´¦Àí²»Í¬ÀàÐÍÊý¾ÝµÄÒ»ÖÖÊֶΡ£¶à¸öͬÃûº¯Êýͬʱ
´æÔÚ£¬¾ßÓв»Í¬µÄ²ÎÊý¸öÊý/ÀàÐÍ¡£ÖØÔØOverloadingÊÇÒ»¸öÀàÖжà̬ÐÔµÄÒ»ÖÖ±íÏÖ¡£
£¨2£©JavaµÄ·½·¨ÖØÔØ£¬¾ÍÊÇÔÚÀàÖпÉÒÔ´´½¨¶à¸ö·½·¨£¬ËüÃǾßÓÐÏàͬµÄÃû×Ö£¬µ«¾ß
Óв»Í¬µÄ²ÎÊýºÍ²»Í¬µÄ¶¨Òå¡£µ÷Ó÷½·¨Ê±Í¨¹ý´«µÝ¸øËüà ......

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µ÷ÓÃϵͳÃüÁîѧϰ£¨Ò»£©

ºÇºÇ¡£¡£
import java.io.*;
class Exec{
public static void main(String []args)throws IOException{
//LinuxϵͳÃüÁls £­l
String command = "ls -l";
//»ñÈ¡µ±Ç°ÏµÍ³µÄ»·¾³¡£
Runtime rt = Runtime.getRuntime();
......

Java Excel API ʹÓ÷½·¨


    ʹÓÃWindows²Ù×÷ϵͳµÄÅóÓѶÔExcel£¨µç×Ó±í¸ñ£©Ò»¶¨²»»áÄ°Éú£¬µ«ÊÇҪʹÓÃJavaÓïÑÔÀ´²Ù×ÝExcelÎļþ²¢²»ÊÇÒ»¼þÈÝÒ×µÄÊ¡£ÔÚWebÓ¦ÓÃÈÕÒæÊ¢ÐеĽñÌ죬ͨ¹ýWebÀ´²Ù×÷ExcelÎļþµÄÐèÇóÔ½À´Ô½Ç¿ÁÒ£¬Ä¿Ç°½ÏΪÁ÷ÐеIJÙ×÷ÊÇÔÚJSP»òServlet Öд´½¨Ò»¸öCSV £¨comma separated values£©Îļþ£¬²¢½«Õâ¸öÎļþÒÔMIME£¬te ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ