document.bo..." />
当前位置: 代码迷 >> Java相关 >> 手把手教你一步一步用Eclipse生成JAR包
  详细解决方案

手把手教你一步一步用Eclipse生成JAR包

热度:119   发布时间:2007-05-14 17:08:52.0
手把手教你一步一步用Eclipse生成JAR包
document.body.clientWidth*0.5) {this.resized=true;this.width=document.body.clientWidth*0.5;this.style.cursor='pointer';} else {this.onclick=null}" alt="" />
document.body.clientWidth*0.5) {this.resized=true;this.width=document.body.clientWidth*0.5;this.style.cursor='pointer';} else {this.onclick=null}" alt="" />
document.body.clientWidth*0.5) {this.resized=true;this.width=document.body.clientWidth*0.5;this.style.cursor='pointer';} else {this.onclick=null}" alt="" />



搜索更多相关的解决方案: Eclipse  JAR  手把手  

----------------解决方案--------------------------------------------------------

顶了 ~~~~~~~~~~~~~~


----------------解决方案--------------------------------------------------------
ding____________________

----------------解决方案--------------------------------------------------------
Thank you!
----------------解决方案--------------------------------------------------------
学习了。。之前都是用DOS打包的
----------------解决方案--------------------------------------------------------

不错..这知识有用


----------------解决方案--------------------------------------------------------
熊猫先生.太谢谢你了,我正在研究它了,谢谢你了,还有一个问题是:怎样用它编译和运行JAVA了,用JDK1.5.0_9.谢谢啦,呵,我还是个新手了,呵
----------------解决方案--------------------------------------------------------

不过,我还是看不懂了,说的再细一点


----------------解决方案--------------------------------------------------------

import java.io.*;
public class test5{
public static void main(String[] xiang){
byte[] b1=new byte[322];
byte[] b2=new byte[322];
byte[] b3=new byte[3212];
byte[] b4=new byte[3212];
try{
System.out.println("请输入源文件名称:");
System.in.read(b1,0,322);
System.out.println("请输入目的文件名称:");
System.in.read(b2,0,322);
String sourceName=new String(b1,0);
String desName=new String(b2,0);
FileInputStream fileInput=new FileInputStream(sourceName);
int bytes1=fileInput.read(b3,0,3212);
String sourceFile=new String(b3,0,0,bytes1);
FileOutputStream FileOutput=new FileOutputStream(desName);
FileOutput.write(b3,0,bytes1);
fileInput=new FileInputStream(desName);
int bytes2=fileInput.read(b4,0,3212);
String desFile=new String(b4,0,0,bytes2);
System.out.println("\n源文件内容为:\n");
System.out.println(sourceFile);
System.out.println("\n目的文件内容为:\n");
System.out.println(desFile);
}catch(Exception e){
System.out.println(e.toString());
}
}}

我问你一个问题行不,为什么我用JDK1.5.0_9运生它的时候,出现:test5.java使用或覆盖了已过时的API。注意:要了解详细信息,请使用-Xlint:deprecation重新编译。


----------------解决方案--------------------------------------------------------
用netbeans只要生成项目就可以打包成jar了
----------------解决方案--------------------------------------------------------
  相关解决方案