nanman(南蛮—50万人使用的最强五笔作者)说的是对的,用JAVAW。写一个.bat文件: @echo off start javaw 你的CLASS文件所在位置(是相对路径,比如.BAT文件在c:\下,enter.class文件在c:\classes下,就写成 classes.enter
to:shrek_cn(一米阳光) 帮助是看,因为我自己试了一下不行。
If it's a text-based program, use java. If it's graphical but prints text at any point, use java If you're error checking, use java If it's purely graphical, and you need to increase the speed, use javaw.
双击运行
A1.class
A2.class
A3.class
xx/xxx/xxx1/x1.class
xxx2/x2.class
我想把A里面的东西都打包成jar可以吗?
具体如何打包?
start javaw 你的CLASS文件所在位置(是相对路径,比如.BAT文件在c:\下,enter.class文件在c:\classes下,就写成 classes.enter
帮助是看,因为我自己试了一下不行。
If it's graphical but prints text at any point, use java
If you're error checking, use java
If it's purely graphical, and you need to increase the speed, use javaw.
我的是GUI的程序,是通过编译器执行的
Main-Class: frameApp (回车)注意大小写,冒号后边的空格,行末的回车!2.JAR命令:jar frameApp.jar manifest.mf frameApp最后一个frameApp是你要打包的目录,如果是多个,可以用空格分隔开!!