Eclipse JAVAÎļþ×¢ÊÍÂÒÂë
½«±ðÈ˵ÄÏîÄ¿»òJAVAÎļþµ¼Èëµ½×Ô¼ºµÄEclipseÖÐʱ£¬³£³£»á³öÏÖJAVAÎļþµÄÖÐÎÄ×¢Êͱä³ÉÂÒÂëµÄÇé¿ö£¬Ö÷ÒªÔÒò¾ÍÊDZðÈ˵ÄIDE±àÂë¸ñʽºÍ×Ô¼ºµÄEclipse±àÂë¸ñʽ²»Í¬¡£
×ܽáÍøÉϵĽ¨ÒéºÍ×Ô¼ºµÄÌå»á£¬¿ÉÒԲο¼ÒÔϼ¸ÖÖ½â¾ö·½Ê½£º
1 ¸Ä±äÕû¸öÎļþÀàÐ͵ıàÂë¸ñʽ
1) eclipse->window->preferences->General->Content Types
2) ÕÒµ½ÒªÐ޸ĵÄÎļþµÄÀàÐÍ(JAVA,JSPµÈµÈ)£¬ÔÚÏÂÃæÓиöDefault encoding£¬ÔÚÊäÈë¿òÖÐÊäÈëGBK
3) µã»÷Update
4) µã»÷OK
5) ÖØÆôeclipse
2 ¸Ä±äÕû¸öEclipse¹¤×÷¿Õ¼äµÄ±àÂë¸ñʽ
1) eclipse->window->preferences->General->workspaceTypes
2) ¸Ä±äÎı¾Îļþ±àÂë¸ñʽΪGBK
3 ¸Ä±äµ¥¸öÎļþµÄ±àÂë¸ñʽ
ÔÚ°ü×ÊÔ´¹ÜÀíÆ÷ÓÒ¼üµã»÷Îļþ->ÊôÐÔ£¬¸Ä±äÎı¾Îļþ±àÂë¸ñʽΪGBK
4 Èç¹ûÒÔÉϼ¸ÖÖ·½Ê½ÈÔ²»Äܽâ¾ö£¬¿ÉÒÔÏÂÃæÕâ¸ö²»µÃÒѵİ취£º
ÓÃEditplus´ò¿ªÒª×ªÂëµÄÎļþ£¬Èç¹ûÔÚEditplusÖÐûÓÐÂÒÂ룬¿ÉÖ±½Ó½«ÎļþÄÚÈÝ¿½±´µ½EclipseÖУ¬Èç¹ûEditplusÒ²ÓÐÂÒÂ룬¿ÉÏÈÔÚEditplusתÂ룬Editplus->Îĵµ->Îļþ±àÂ뷽ʽ->¸Ä±äÎļþ±àÂ뷽ʽ->GBK£¬È»ºóÔÙÓÃEclipse´ò¿ª¾Í¿ÉÒÔÁË
PS:ǰÁ½ÖÖ·½Ê½¿ÉÄÜÖ»ÓÐн¨Îļþ²ÅÓÐЧ£¬Èç¹ûÖ»¶Ôij¸öÎļþתÂ룬½¨ÒéÓúóÁ½ÖÖ
Ïà¹ØÎĵµ£º
Javaѧϰ´ÓÈëÃŵ½¾«Í¨
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......
д¸öMANIFEST.MF
Manifest-Version: 1.0
Created-By: shijishang
Main-Class: test2
×¢ÒâðºÅÖ®ºóÓпոñ£¬×îºóÒª¿ÕÁ½ÐÐ
ÓÃÃüÁîjar cvfm classes.jar META-INF/MANIFEST.MF classes
д¸öCMDÃüÁî
@echo off
java -jar -verbose:class classes.jar >> class.txt
pause
µ¼³öÐèÒª¾«¼òµÄ»ù±¾Àà
ÔÙÓÃÒÔÉÏ´ò ......
Java 7ÒѾÍê³ÉµÄÆß´óй¦ÄÜÔ¤ÀÀ ת×Ô51CTO
½ñÄêµÄDevoxx´ó»áÓÖÊÇÒ»´ÎÓйØJava 7½ø³ÌµÄÒ»´Îչʾ´ó»á¡£Ò»Î»DevoxxµÄ²Î»áÕßÔÚ²©¿ÍÖб¨¸æÁËJava 7ÏÖÔÚÒѾÍê³ÉµÄ7´óй¦ÄÜ¡£Java 7Ô¤¼Æ½«ÔÚ2010Äê9ÔÂÕýʽµ½À´¡£
JigsawÏîÄ¿¼ò½é£ºJava 7µÄÐÂÄ£¿éϵͳ
Ì½ÃØJava 7ÐÂÔöÀ¬»ø»ØÊÕÆ÷G1ÌØÐÔ
Ì½ÃØJava 7£ºJVM¶¯Ì¬ÓïÑÔÖ ......
´ó¼ÒºÃ£¬ÎÒÊÇ´«ÖDz¥¿ÍJava 11.30ÆÚ¾ÍÒµ°àµÄÒ»ÃûѧԱ¡£ÂíÉϾÍÒª½øÈë´«ÖDz¥¿Í¾ÍÒµ°àµÄѧϰÁË£¬×î½üÎÒÔÚ¸´Ï°Java»ù´¡¿Î³Ì£¬Ï£ÍûÄܹ»´òºÃ»ù´¡£¬»ý¼«Å¬Á¦µÄ½øÈë¾ÍÒµ°àµÄѧϰ¡£
½ñÌìºÜ¸ßÐËÌýÁËÕÅТÏéÀÏʦµÄ½²¿ÎÊÓÆµ£¬¸Ð¾õÕÅТÏéÀÏʦµÄ½²¿Î·Ç³£Çå³þ¡¢Ï¸Ö£¬½²Ò»Ð©ÄÑÀí½âµÄ֪ʶµãʱ£¬ÎªÁËÈÃÎÒÃÇÄܹ»Àí½â£¬ÕÅТÏéÀÏʦ ......
JAVAÖеÄÒÀÀµµ¹ÔÔò
ÃÀ¹ú·¨ÂÉÓÐÒ»Ìõ×î»ù±¾µÄ×¼Ôò¾ÍÊÇ“ÈËÈËÆ½µÈ”£¬ÎÒÃDz»È¥¹ÜËüÊǾ¹ýʲôÑùµÄ¶·Õù¡¢Ê²Ã´ÑùµÄÁ÷ѪÎþÉü»»À´µÄ£¬Ö»°ÑËüÀí½âΪһ¸öJAVA·½·¨£¬¸Ã·½·¨¶¨ÒåÈçÏ£º
public final boolean ÈËÈËÆ½µÈ(ÈË1£¬ÈË2){
return true;
&n ......