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

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¶ÁÈ¡CSV

Ê×Ïȵ½¸Ãhttp://ostermiller.org/utils/download.html µØÖ·ÏÂÔØcom.Ostermiller.util cvsµÄjar°ü¡£
public class CsvFileParser{
private LabeledCSVParser csvParser;//csv½âÎöÆ÷£¬¶ÔÓÚµÚÒ»ÐеıíÍ·ÐÅÏ¢£¬×Ô¶¯¼ÓÔØΪË÷Òý¹Ø¼ü×Ö
private int currLineNum = -1;//ÎļþËù¶Áµ½ÐÐÊý
private String[] currLi ......

JAVA½âÎöXMLµÄËÄÖÖ·½·¨±È½Ï

XMLÏÖÔÚÒѾ­³ÉΪһÖÖͨÓõÄÊý¾Ý½»»»¸ñʽ,ËüµÄƽ̨ÎÞ¹ØÐÔ,ÓïÑÔÎÞ¹ØÐÔ,ϵͳÎÞ¹ØÐÔ,¸øÊý¾Ý¼¯³ÉÓë½»»¥´øÀ´Á˼«´óµÄ·½±ã¡£¶ÔÓÚXML±¾ÉíµÄÓ﷨֪ʶÓë¼¼Êõϸ½Ú,ÐèÒªÔĶÁÏà¹ØµÄ¼¼ÊõÎÄÏ×,ÕâÀïÃæ°üÀ¨µÄÄÚÈÝÓÐDOM(Document Object Model),DTD(Document Type Definition),SAX(Simple API for XML),XSD(Xml Schema Definition),XSLT(Exten ......

Java»ù±¾Êý¾ÝÀàÐ͵ÄÈ¡Öµ·¶Î§

 ÏÈ¿´Ò»¶Î´úÂë
public class Hello{
    public static void main(String[] args){
        int i  = 5 ,  j = 2;
        System.out.println(i+j);
      ......

ÓÃjavaµ÷ÓÃoracle´æ´¢¹ý³Ì×ܽá

ÉùÃ÷£º
ÒÔϵÄÀý×Ó²»Ò»¶¨ÕýÈ·£¬Ö»ÊÇΪÁËÑÝʾ´ó¸ÅµÄÁ÷³Ì¡£
Ò»£ºÎÞ·µ»ØÖµµÄ´æ´¢¹ý³Ì
´æ´¢¹ý³ÌΪ£º
CREATE OR REPLACE PROCEDURE TESTA(PARA1 IN VARCHAR2,PARA2 IN VARCHAR2)  AS
BEGIN
   INSERT INTO HYQ.B_ID (I_ID,I_NAME) VALUES (PARA1, PARA2);
END TESTA;
È»ºóÄØ£¬ÔÚjavaÀïµ÷ÓÃʱ¾ÍÓÃÏÂÃæµÄ´ ......

javaÖкº×ÖתƴÒô

´úÂëÈçÏ£º
¡¡¡¡ÒÔÏÂΪÒýÓõÄÄÚÈÝ£º
¡¡¡¡package com.example.pinyin.demo2;
¡¡¡¡import net.sourceforge.pinyin4j.PinyinHelper;
¡¡¡¡import net.sourceforge.pinyin4j.format.HanyuPinyinCaseType;
¡¡¡¡import net.sourceforge.pinyin4j.format.HanyuPinyinOutputFormat;
¡¡¡¡import net.sourceforge.pinyin4j.form ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ