asdtiang的博客 感謝blogjava提供的博客交流平臺

          java利用SMSLib通過COM發送短信JAR包

          Posted on 2010-01-12 18:05 asdtiang 閱讀(1938) 評論(0)  編輯  收藏 所屬分類: java me
          第一步:
          The installation procedure for both the old Java Comm v2 and the new Java Comm v3 is identical.

          Java Comm v2 is for Win32 systems and it is available on the Download page.

          Java Comm v3 is for Linux systems and it is available for download directly from SUN downloads (registration is required)

          To install it, unzip the downloaded archive file in a temporary place and do the following copies:

          File comm.jar should go under JDKDIR/jre/lib/ext/
          File javax.comm.properties should go under JDKDIR/jre/lib/
          Library files (i.e. win32com.dll for Win32 or the .so Linux library files) should go under JDKDIR/jre/bin/
          If you have a separate JRE directory, do the same copies for the JREDIR directory!

          即comm.jar導入引用包中,javax.comm.properties拷貝到JDKDIR/jre/lib/下,win32com.dll拷貝到 JDKDIR/jre/bin/下



          第二步:
          把相應的包導入就可以了。

          當時在做的時候,發現通過SMSLib發送程序還是比較麻煩的,他的日志采用的是slf4j,而slf4j是基于log4j的,這幾個不同的JAR包都是 在不同的地方下載的,在此所有的JAR整理出來,希望大家節約時間

          包下載地址:http://download.csdn.net/source/1910091

          天蒼蒼,野茫茫,風吹草底見牛羊

          posts - 80, comments - 24, trackbacks - 0, articles - 32

          Copyright © asdtiang

          asdtiang的博客 PaidMailz
          點擊廣告網賺A(每天4個廣告,每個0.0025美元,一個搜索廣告0.03美元)
          主站蜘蛛池模板: 沐川县| 杭州市| 台东市| 永川市| 望奎县| 兴化市| 凭祥市| 太保市| 扬中市| 喜德县| 黔西| 长岭县| 石狮市| 年辖:市辖区| 通许县| 武鸣县| 盐边县| 犍为县| 招远市| 浙江省| 教育| 乌苏市| 白朗县| 桑植县| 阳泉市| 莫力| 监利县| 卢湾区| 靖远县| 郸城县| 阿鲁科尔沁旗| 呼和浩特市| 高陵县| 诸城市| 梁河县| 西青区| 哈尔滨市| 临湘市| 南部县| 台江县| 安塞县|