java ³ÌÐò ´ò°ü ÔËÐÐ
java´ò°ü-exeÎļþ-×îÖÕÒÔsetupÐÎʽ·¢²¼µÄ½â¾öÖ®µÀ
java´ò°ü-exeÎļþ-×îÖÕÒÔsetupÐÎʽ·¢²¼µÄ½â¾öÖ®µÀ
Ê×ÏÈ£¬½«±àÒëºÃµÄ³ÌÐò´ò°ü³ÉjarÎļþ£¬È»ºó×ö³öexe£¬ÕâÑù´úÂë¾Í²»¿É¼ûÁË£»µ«ÊÇexeÎļþÔÚûÓа²×°jreµÄµçÄÔÉϲ»ÄÜÔËÐУ¬Èç¹ûÒªÇó¿Í»§ÔÙÈ¥°²×°jre ÉèÖû·¾³±äÁ¿ ¾Í²»ÑÅÁË¡£ÎÒÃÇÐèÒª½«jre´ò°ü¡£
Õ⼸²½²Ù×÷ÍøÉϽéÉܵIJå¼þºÍ·½·¨ºÜ¶à£¬µ«ÓеĺÃÓÃÓеIJ»ºÃÓ㬶øÇÒÓеĻ¹ÐèҪע²á¡£¾¹ý³¢ÊԱȽϣ¬ÔړǧÀï±ù·â”µÄ²©¿ÍÉϵõ½Á˺ܴóµÄ°ïÖú¡£ÕûÀíһϡ£Ê¹ÓÃÕ⼸¸ö¹¤¾ß£¬ÄúÒ²¿ÉÒÔ˳ÀûµÄ·¢²¼ÄúµÄjava³ÌÐò£¡
(ÍƼöÓõÚ3ÖÖ·½·¨)
1 ´ò°ü³ÉË«»÷¿ÉÖ´ÐеÄjarÎļþ¡£
ÍƼö²å¼þ£ºfatJar£¨EclipseʹÓã©
ÏÂÔصØÖ· http://sourceforge.net/project/s ... p;package_id=125924
ÎÒÓõÄÊÇEclipse£¬Ëü×Ô´øµÄ´ò°ü·½·¨ÔÚ´ò°üһЩͼƬµÈ×ÊԴʱ²»ÊǺÜˬ¡£¿ÉÒÔʹÓÃÕâ¸ö²å¼þ¡£
°²×°·½·¨½âѹºó½«pluginsÎļþ¼ÐϵÄnet.sf.fjep.fatjar_0.0.24Îļþ¼Ð¿½µ½eclipse°²×°Ä¿Â¼µÄplugins Ï¡£
Óô˹¤¾ß¿ÉÒÔ·½±ãµÄ½«eclipseÖеŤ³Ì´ò°ü³ÉjarÎļþ¡£Èç¹ûÊÇÒª´ò³É¿ÉÖ´ÐеÄjarÇë×¢ÒâÑ¡È¡Ö÷Àà¡£
ÄãµÄÏîÄ¿=¡µExport..=>Ïòµ¼ÀïÓÐfat jar =>...
2 ½«jarÎļþת»»³ÉexeÎļþ¡£
ÍƼö¹¤¾ß£ºexe4j
ÓÃexe4j°Ñjava´ò°ü³Éexe
http://www.blogjava.net/hadeslee/archive/2007/10/12/152228.html
ÔÚÎÒÃÇд³ÌÐòµÄʱºò£¬ÓÐʱ»áÓÐÒ»ÖÖÐèÇó£¬ÄǾÍÊÇÏ£ÍûÎÒÃǵijÌÐòÊÇÒ»¸ö¿ÉÖ´ÐÐÎļþ£¬¶ø²»ÊÇÒ»¸öjarÎļþ£¬Æäʵ´ó²¿·Ýʱºò£¬¿ÉÖ´ÐеÄjarÎļþ¶¼¿ÉÒÔÂú×ãÒªÇ󣬵«ÊÇÈç¹ûÎÒÃǵijÌÐòÊÇÐèÒª±£»¤µÄ£¬ÄÇô´ò°ü³ÉjarÎļþ¾Í²»Ì«°²È«ÁË£¬ÒòΪjarÎļþ¾ÍÊÇÒ»¸ö½âѹËõÎļþ£¬Ò»½âѹ¾Íʲô¶¼ÄÜ¿´µ½ÁË£¬µ±È»Ò²¿ÉÒÔÑ¡Ôñ»ìÏý£¬µ«ÊÇ»ìÏýÁËÒÔºóÅÅ´í¾ÍûÄÇôÈÝÒ×ÁË£¬ÒòΪ»ìÏýµÄʱºò£¬°ÑһЩÀàµÄÐÅÏ¢¶¼»ìÏýÁË¡£ÈçºÎ¼È±£Ö¤´úÂëµÄ°²È«ÓÖÈÝÒ×ÅÅ´íÄØ£¿ÄÇô´ò°ü³Éexe¾ÍÊÇÒ»Öֺܺõİ취ÁË£¬ÆäʵÎÒ½ñÌì½éÉÜÕâ¸ö·½·¨²¢²»ÊÇÏ£Íû´ó¼ÒÈ¥´ò°ü³ÉexeÎļþ£¬ÒòΪexeÎļþ±Ï¾¹²»ÊÇ¿çƽ̨µÄ£¬ÓÃÁËexeµÄ¸ñʽ¾ÍʧȥÁËjavaµÄ³õÖÔÁË¡£
exe4j¿ÉÒÔ´ò°ü³É¸÷ÖÖ¸ñʽµÄexe,¿ÉÒÔ°Ñjar´ò°ü½øexe,Ò²¿ÉÒÔÒýÓÃÒ»¸öÍⲿµÄjarÎļþ£¬»¹¿ÉÒÔ´ò°ü³Éwindows·þÎñµÄ³ÌÐò£¬²¢ÇÒ¿ÉÒÔÉèÖÃ×îµÍjreµÄ°æ±¾£¬»¹¿ÉÒÔÉ趨Æô¶¯»Ã棬ËäÈ»java6.0ÒѾʵÏÖÁËÕâÒ»µã£¬µ«ÊÇ»¹ÊÇûÓÐexe4jÉú³ÉµÄÆô¶¯»Ãæ¿ì¡£
3 ½«exeÎļþ²¢jre´ò°ü³É°²×°Îļþ ¿ÉÒÔÔÚûÓа²×°javaÐéÄâ»úµÄµçÄÔÉÏÔËÐÐ
ÍƼö¹¤¾ß£ºinstall4j
Install4j½éÉÜ
http://www.blogjava.n
Ïà¹ØÎĵµ£º
³£¿´µ½ºÜ¶àÈËÌÖÂÛjavaÖйØÓÚStringµÄÎÊÌâ,ÎÒÒ²¾ÍÓеãÐËȤÁË,¼øÓÚÍøÉϺܶàÈËдµÄ¶¼²î±ðºÜ´ó,
ͬÑùµÄÎÊÌⶼÊDz»Í¬µÄ˵·¨,ÎÒºÜÃÔºý,»¨ÁËÒ»ÍíÉ϶ÁÁËJava Virtual Machine SpecificationºÍ
The Java Language SpecificationµÄһЩÕ½Ú,×öÁ˺ܶàÊÔÑé,×ܽáÁËһϹØÓÚStringµÄÄÚÈÝ,»¹
ÓкܶàÄÚÈÝÎÒÒ²²»È·¶¨,ÔÚÏÂÃæÒ²¶¼Ìá³öÀ´ÁË,Ï ......
×¢£º±¾ÎÄת×Ôhttp://lavasoft.blog.51cto.com µÄJavaÐéÄâ»ú£¨JVM£©²ÎÊýÅäÖÃ˵Ã÷£¬×÷Ϊ×Ô¼ºÑ§Ï°Óá£
JavaÐéÄâ»ú£¨JVM£©²ÎÊýÅäÖÃ˵Ã÷
ÔÚJava¡¢J2EE´óÐÍÓ¦ÓÃÖУ¬JVM·Ç±ê×¼²ÎÊýµÄÅäÖÃÖ±½Ó¹Øϵµ½Õû¸öϵͳµÄÐÔÄÜ¡£
JVM·Ç±ê×¼²ÎÊýÖ¸µÄÊÇJVMµ×²ãµÄһЩÅäÖòÎÊý£¬ÕâЩ²ÎÊýÔÚÒ»°ã¿ª·¢ÖÐĬÈϼ´¿É£¬²»ÐèÒªÈκÎÅäÖᣵ«ÊÇÔÚÉú ......
´ó¼ÒºÃ£¬Çë°´ÕÕÏÂͼ¸ñʽÌîдÄãµÄ¼òÀú£¬·¢Ë͵½Óʼþ loveyingjiaping@126.com
¹«Ë¾×ܲ¿ÔÚº¼ÖÝÎ÷ºþ¿Æ¼¼Ô°¸½½ü£¬¸£Àû´ýÓöºÃ£¬ÎåÏÕÒ»½ð£¬
²¹Ìù£º·¹Ìù¡¢½»Í¨·Ñ¡¢Í¨Ñ¶·Ñ¡¢ÄêÖÕ½±¡¢¹ý½Ú·Ñ……
±±¾©·Ö¹«Ë¾¼¼Êõ²¿¾Àí£¨¸±¾Àí£©¸ÚλְÔðºÍÈÎÖ°Ìõ¼þÈçÏ£º
n ¸ÚλְÔð£º
1. & ......
XMLÏÖÔÚÒѾ³ÉΪһÖÖͨÓõÄÊý¾Ý½»»»¸ñʽ,ËüµÄƽ̨ÎÞ¹ØÐÔ,ÓïÑÔÎÞ¹ØÐÔ,ϵͳÎÞ¹ØÐÔ,¸øÊý¾Ý¼¯³ÉÓë½»»¥´øÀ´Á˼«´óµÄ·½±ã¡£¶ÔÓÚXML±¾ÉíµÄÓ﷨֪ʶÓë¼¼Êõϸ½Ú,ÐèÒªÔĶÁÏà¹ØµÄ¼¼ÊõÎÄÏ×,ÕâÀïÃæ°üÀ¨µÄÄÚÈÝÓÐDOM(Document Object Model),DTD(Document Type Definition),SAX(Simple API for XML),XSD(Xml Schema Definition),XSLT(Exten ......