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

Java»·¾³±äÁ¿µÄ³£ÓÃÅäÖÃ


ANT_HOME   D:\apache-ant-1.8.0-bin\apache-ant-1.8.0
AXIS2_HOME  D:\axis2-1.5.1
MAVEN_HOME  D:\apache-maven-2.2.1
java_home    C:\Program Files\Java\jdk1.6.0_18
 
 
path C:\ProgramFiles\Java\jdk1.6.0_18\bin;%AXIS2_HOME%/bin;%MAVEN_HOME%\bin;
%ANT_HOME%\bin
 
java_home ÊÇΪÁËÉèÖÃJDKµÄλÖã»
AXIS2_HOME£ºÖ¸ÏòµÄÊÇ°²×°Ä¿Â¼£¬ÒÔ±ãËùÓеÄscriptsºÍÉú³ÉÎļþÒÀÀµÓÚÕâ¸öÖµ£¬ËùÒÔ£¬ÕâÒ»²½²»ÄÜÌø¹ý¡£


Ïà¹ØÎĵµ£º

¹ØÓÚJavaµÄÁ½¸öÀà DesktopºÍSystemTray

 
ÔÚJDK6ÖР,AWTÐÂÔö¼ÓÁËÁ½¸öÀà:DesktopºÍSystemTray,Ç°Õß¿ÉÒÔÓÃÀ´´ò¿ªÏµÍ³Ä¬ÈÏä¯ÀÀÆ÷ä¯ÀÀÖ¸¶¨µÄURL,´ò¿ªÏµÍ³Ä¬ÈÏÓʼþ¿Í»§¶Ë¸øÖ¸¶¨µÄÓÊÏä·¢Óʼþ,ÓÃĬÈÏÓ¦ÓóÌÐò´ò¿ª»ò±à¼­Îļþ(±ÈÈç,ÓüÇʱ¾´ò¿ªÒÔtxtΪºó׺ÃûµÄÎļþ),ÓÃϵͳĬÈϵĴòÓ¡»ú´òÓ¡Îĵµ;ºóÕß¿ÉÒÔÓÃÀ´ÔÚϵͳÍÐÅÌÇø´´½¨Ò»¸öÍÐÅ̳ÌÐò.ÏÂÃæ´úÂëÑÝʾÁËDeskt ......

ʹÓÃJavaµÈ±ÈÀýËõ·ÅͼÏñ

±¾ÎÄΪԭ´´£¬ÈçÐèתÔØ£¬Çë×¢Ã÷×÷Õߺͳö´¦£¬Ð»Ð»£¡
   
Ëõ·ÅͼÏñµÄ»ù±¾Ô­ÀíÊÇ´´½¨Ò»¸öÄ¿±ê´óСµÄ»­²¼£¬È»ºó¶ÁȡԴͼÏñ£¬²¢½«¸ÃͼÏñ»æÖÆÕâ¸ö»­²¼ÉÏ¡£ÎªÁËʹ³ÌÐòͨÓã¬Ô´Í¼ÏñºÍËõ·ÅºóµÄÄ¿±êͼÏñÓ¦Ó÷ֱðʹÓÃ
InputStreamºÍOutputStreamÀ´±íʾ£¬´úÂëÈçÏ£º
    
public
 
stat ......

Java »ù´¡ÖªÊ¶£¡£¡


¶ÔÓÚÕâ¸öϵÁÐÀïµÄÎÊÌ⣬ÿ¸öѧJavaµÄÈ˶¼Ó¦¸Ã¸ã¶®¡£µ±È»£¬Èç¹ûÖ»ÊÇѧJavaÍæÍæ¾ÍÎÞËùνÁË¡£Èç¹ûÄãÈÏΪ×Ô¼ºÒѾ­³¬Ô½³õѧÕßÁË£¬È´²»ºÜ¶®ÕâЩÎÊÌ⣬Ç뽫Äã×Ô¼ºÖعé³õѧÕßÐÐÁС£ÄÚÈݾùÀ´×ÔÓÚCSDNµÄ¾­µäÀÏÌù¡£
ÎÊÌâÒ»£ºÎÒÉùÃ÷ÁËʲô£¡
String s = "Hello world!";
Ðí¶àÈ˶¼×ö¹ýÕâÑùµÄÊÂÇ飬µ«ÊÇ£¬ÎÒÃǵ½µ×ÉùÃ÷ÁËʲô£¿»Ø´ðͨ ......

Ãô½Ý¿ª·¢Öбàд¸ßÖÊÁ¿Java´úÂë

Ãô½Ý¿ª·¢µÄÀíÄîÒѾ­Á÷ÐÐÁ˺ܳ¤µÄʱ¼ä£¬ÔÚÃô½Ý¿ª·¢ÖеĿª·¢µü´ú½×¶ÎÖУ¬ÎÒÃÇ¿ÉÒÔͨ¹ýÎå¸ö²½Ö裬À´ÓÐЧµÄÌá¸ßÕû¸öÏîÄ¿µÄ´úÂëÖÊÁ¿¡£
JavaÏîÄ¿¿ª·¢¹ý³ÌÖУ¬ÓÉÓÚ¿ª·¢ÈËÔ±µÄ¾­Ñé¡¢Java´úÂë±àдϰ¹ß£¬ÒÔ¼°È±·¦Í³Ò»µÄ±ê×¼ºÍ¹ÜÀíÁ÷³Ì£¬ÍùÍùµ¼ÖÂÕû¸öÏîÄ¿µÄ´úÂëÖÊÁ¿½Ï²î£¬ÄÑÓÚά »¤£¬ÐèÒª½Ï´óµÄ²âÊÔͶÈëºÍÖÜÆÚµÈÎÊÌâ¡£ÕâЩÎÊÌâÔÚÒ»¸öÏ ......

JavaÈçºÎ·Àsql×¢Èë

²ÉÓÃÔ¤±àÒëÓï¾ä¼¯£¬ËüÄÚÖÃÁË´¦ÀíSQL×¢ÈëµÄÄÜÁ¦£¬Ö»ÒªÊ¹ÓÃËüµÄsetString·½·¨´«Öµ¼´¿É£º
          String sql= "select * from users where username=? and password=?;
          PreparedStatement preState = conn.prepare ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ