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

JAVA»·¾³±äÁ¿JAVA_HOME¡¢CLASSPATH¡¢PATHÉèÖÃÏê½â

 WindowsÏÂJAVAÓõ½µÄ»·¾³±äÁ¿Ö÷ÒªÓÐ3¸ö£¬JAVA_HOME¡¢CLASSPATH¡¢PATH¡£ÏÂÃæÖð¸ö·ÖÎö¡£
    JAVA_HOMEÖ¸ÏòµÄÊÇJDKµÄ°²×°Â·¾¶£¬ÈçC:\jdk1.5.0_06£¬ÔÚÕâ·¾¶ÏÂÄãÓ¦¸ÃÄܹ»ÕÒµ½bin¡¢libµÈĿ¼¡£ÖµµÃÒ»ÌáµÄÊÇ£¬JDKµÄ°²×°Â·¾¶¿ÉÒÔÑ¡ÔñÈÎÒâ´ÅÅÌĿ¼£¬²»¹ý½¨ÒéÄã·ÅµÄĿ¼²ã´Îdzһµã£¬Èç¹ûÄã·ÅµÄĿ¼ºÜÉ±ÈÈçx:\XXXXXX\xxxxx\XXXX\xxxx\XXXX\xxxx\XXXX\xxx……
ÄÇô£¬ÏÂÃæµÄ²½ÖèºÍÒÔºóµÄÓ¦ÓÃÄ㶼ҪÊÜÀÛÁË£¬ºÇºÇ¡£ÉèÖ÷½·¨£º
   
     JAVA_HOME=C:\jdk1.5.0_06
    PATH»·¾³±äÁ¿Ô­À´WindowsÀïÃæ¾ÍÓУ¬ÄãÖ»ÐèÐÞ¸Äһϣ¬Ê¹ËûÖ¸ÏòJDKµÄbinĿ¼£¬ÕâÑùÄãÔÚ¿ØÖÆ̨ÏÂÃæ±àÒë¡¢Ö´ÐгÌÐòʱ¾Í²»ÐèÒªÔÙ¼üÈëÒ»´ó´®Â·¾¶ÁË¡£ÉèÖ÷½·¨ÊDZ£ÁôÔ­À´µÄPATHµÄÄÚÈÝ£¬²¢ÔÚÆäÖмÓÉÏ%JAVA_HOME%\bin (×¢£¬Èç¹ûÄã¶ÔDOSÅú´¦Àí²»Á˽⣬Äã¿ÉÄܲ»Ã÷°×%%ÒýÆðÀ´µÄÄÚÈÝÊÇʲôÒâ˼£»ÆäʵÕâÀïÊÇÒýÓÃÉÏÒ»²½É趨ºÃµÄ»·¾³±äÁ¿JAVA_HOME£¬Äãд³Éx:\JDK_1.4.2Ò²ÊÇ¿ÉÒԵģ»Äã¿ÉÒÔ´ò¿ªÒ»¸ö¿ØÖÆ̨´°¿Ú£¬ÊäÈëecho %JAVA_HOME%À´¿´Ò»ÏÂÄãµÄÉèÖýá¹û) £º    
    PATH=%JAVA_HOME%\bin;%PATH%
     ͬÑù£¬%PATH%ÊÇÒýÓÃÒÔÇ°ÄãÉèÖõÄPATH»·¾³±äÁ¿£¬ÄãÕÕ³­ÒÔÇ°µÄÖµ¾ÍÐÐÁË¡£
    CLASSPATH»·¾³±äÁ¿ÎÒ·ÅÔÚ×îºóÃ棬ÊÇÒòΪÒÔºóÄã³öÏÖµÄĪÃûÆäÃîµÄ¹ÖÎÊÌâ80%ÒÔÉ϶¼¿ÉÄÜÊÇÓÉÓÚCLASSPATHÉèÖò»¶ÔÒýÆðµÄ£¬ËùÒÔÒª¼Ó±¶Ð¡ÐIJÅÐС£
    CLASSPATH=.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar
     Ê×ÏÈҪעÒâµÄÊÇ×îÇ°ÃæµÄ".;"£¬Èç¹ûÄã¿´²»Ç壬ÎÒ¸øÄãÄîÄî——¾äµã·ÖºÅ¡£Õâ¸öÊǸæËßJDK£¬ËÑË÷CLASSʱÏȲéÕÒµ±Ç°Ä¿Â¼µÄCLASSÎļþ——ΪʲôÕâÑù¸ã£¬ÕâÊÇÓÉÓÚLINUXµÄ°²È«»úÖÆÒýÆðµÄ£¬LINUXÓû§ºÜÃ÷°×£¬WINDOWSÓû§¾ÍºÜÄÑÀí½â(ÒòΪWINDOWSĬÈϵÄËÑË÷˳ÐòÊÇÏÈËÑË÷µ±Ç°Ä¿Â¼µÄ£¬ÔÙËÑË÷ϵͳĿ¼µÄ£¬ÔÙËÑË÷PATH»·¾³±äÁ¿É趨µÄ) £¬ËùÒÔÈç¹ûϲ»¶Å̸ù¾¿µ×µÄÅóÓѲ»·ÁÑо¿Ò»ÏÂLINUX¡£
ΪʲôCLASSPATHºóÃæÖ¸¶¨ÁËtools.jarÕâ¸ö¾ßÌåÎļþ£¿²»Ö¸¶¨Ðв»ÐУ¿ÏÔÈ»²»ÐУ¬ÐеĻ°ÎÒ»¹ÄÜÕâôÂÞË÷Â:) Õâ¸öÊÇÓÉjavaÓïÑÔµÄimport»úÖƺÍjar»úÖƾö¶¨µÄ£¬Äã¿ÉÒÔ²é×ÊÁϽâ¾ö¡£
     ºÇºÇ£¬¾ßÌåµÄÉ趨·½·¨:win2k\xpÓû§ÓÒ¼üµã»÷ÎҵĵçÄÔ->ÊôÐÔ->¸ß¼¶->»·¾³±äÁ¿£¬


Ïà¹ØÎĵµ£º

javaµÄÊÂÎñ´¦Àí

Èç¹û¶ÔÊý¾Ý¿â½øÐжà´Î²Ù×÷,ÿһ´ÎµÄÖ´Ðлò²½Ö趼ÊÇÒ»¸öÊÂÎñ.Èç¹ûÊý¾Ý¿â²Ù×÷ÔÚijһ²½Ã»ÓÐÖ´Ðлò³öÏÖÒì³£¶øµ¼ÖÂÊÂÎñʧ°Ü,ÕâÑùÓеÄÊÂÎñ±»Ö´ÐÐÓеľÍûÓб»Ö´ÐÐ,´Ó¶ø¾ÍÓÐÁËÊÂÎñµÄ»Ø¹ö,È¡ÏûÏÈÇ°µÄ²Ù×÷.....
JavaBeanÖÐʹÓÃJDBC·½Ê½½øÐÐÊÂÎñ´¦Àí
public int delete(int sID) {
¡¡dbc = new DataBaseConnection();
¡¡Connectio ......

Java ³éÏóºÍ½Ó¿ÚÒÔ¼°¼Ì³ÐµÄÏê½â

ÓÐʱºò£¬ÎÒÃÇ¿ÉÄÜÏëÒª¹¹ÔìÒ»¸öºÜ³éÏóµÄ¸¸Àà¶ÔÏó£¬Ëü¿ÉÄܽö½ö´ú±íÒ»¸ö·ÖÀà»ò³éÏó¸ÅÄËüµÄʵÀýûÓÐÈκÎÒâÒ壬Òò´Ë²»Ï£ÍûËüÄܱ»ÊµÀý»¯¡£ÀýÈ磺ÓÐÒ»¸ö¸¸Àà“ Ë®¹û£¨Fruit£©”£¬ËüÓм¸¸ö×ÓÀà“Æ»¹û£¨Apple£©”¡¢“éÙ×Ó£¨Orange£©”¡¢“Ï㽶£¨Banana£©”µÈ¡£Ë®¹ûÔÚÕâÀï½ö½öÖ»ÊÇ×÷Ϊһ¸ ......

JavaµÄһЩѧϰÐĵÃ

ÄÚ²¿Àà
1.ÄÚ²¿ÀàÔÊÐí¶¨Òåstatic³ÉԱô£¿ÎªÊ²Ã´£¿
2.ÄÚ²¿ÀàÓÐûÓжà̬ÐÔ£¿
Òì³£´¦Àí
1.ÅÉÉúÀ๹ÔìÆ÷ÊÇ·ñ»á²¶»ñµ½»ùÀ๹ÔìÆ÷Å׳öµÄÒì³££¿
2.ÈçºÎÓÃÒì³£ÀàµÄinitCause·½·¨ÊµÏÖÒì³£Á´£¿
ÐòÁл¯
1.static³ÉÔ±ÊÇ·ñ»á±»ÐòÁл¯£¿
2.ÊÇ·ñÔÊÐí»ùÀ಻¿ÉÐòÁл¯¶øÅÉÉúÀà¿ÉÐòÁл¯£¿ ......

java WebService

In recent years, web services have emerged as a popular technology for remote method calls. Technically, a web service has two components:
A service that can be accessed with the SOAP transport protocol
A description of the service in the WSDL format
SOAP is an XML protocol for invoking remote me ......

Java»ù´¡Æª£º£¨Ò»£©javaÈëÃÅ

1.       javaÊÇʲô
JavaÊÇÒ»ÖÖ±à³ÌÓïÑÔ£¬¸ú»ã±à¡¢C¡¢C++Ò»Ñù£¬ÊÇÓÃÓÚÈí¼þ±à³ÌµÄ¿ª·¢ÓïÑÔ¡£
JavaÊÇÒ»ÖÖ¿ª·¢¡¢ÔËÐл·¾³£¬java³ÌÐòµÄ¿ª·¢ÒªÒÀÀµÕâÖÖ»·¾³¡£
2.       javaµÄÌصã
javaÓïÑÔ¾ßÓÐÓëƽ̨Î޹أ¬ÃæÏò¶ÔÏ󣬽¡×³ÐÔµÄÌصã
1).Óëƽ̨µÄÎÞ¹ØÐÔ
Óëjav ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ