首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > J2SE开发 >

用JBuilder如何打包jar

2012-03-03 
用JBuilder怎么打包jar我按照从网上搜到的资料却提示FailedtoloadMain-classmainifestattributefromD:\JB\

用JBuilder怎么打包jar
我按照从网上搜到的资料却提示Failed   to   load   Main-class   mainifest   attribute   from   D:\JB\test\test.jar.请问这是为什么?
请问Jbuilder将Web工程打包成jar的详细步骤,


[解决办法]
直接用java -jar 这个命令啊。

[解决办法]
web工程要main-class干吗?
[解决办法]
new-> archive-> executable
[解决办法]
楼上正解,看错误提示你要打成可执行的jar,你肯定是最后选的是普通的jar而不是executable



我按照从网上搜到的资料却提示Failed to load Main-class mainifest attribute from D:\JB\test\test.jar.请问这是为什么?
请问Jbuilder将Web工程打包成jar的详细步骤,

[解决办法]
看看这里有解答 http://www.haolla.com/girls
[解决办法]
new-> archive-> executable JAR
new-> Build-> Native Executable Builder
都可以。

好像要2006以上才有的。建议你装JB2006或者JB2007。

热点排行