will编译全程班
A. Inno Setup 编译器软件,菜鸟求教,“磁盘跨越必须启用,是为了创建2100000000字节的安装程序”怎么解决
据 InnoSetup 软件的使用帮助:
[Setup]: DiskSpanning
Valid values: yesorno
Default value: no
Description:
If set toyes, the disk spanning feature will be enabled. Instead of storing all the compressed file data inside SETUP.EXE, the compiler will split it into multiple SETUP-*.BIN files -- known as "slices" -- suitable for ing onto separate floppy disks, CD-ROMs, or DVD-ROMs. Each generated slice contains a number in its name which indicates the disk onto which it should be copied. (For example, SETUP-2.BIN should be placed on disk 2.) The generated SETUP.EXE always goes on disk 1 along with the SETUP-1*.BIN file.
The size of each slice and the number of slices to create for each disk are determined by the values of [Setup]section directives, respectively. Other disk spanning-related directives that you may want to tweak .
Note that it is required that you set this directive toyesif the compressed size of your installation exceeds 2,100,000,000 bytes, even if you don't intend to place the installation onto multiple disks. (The installation will still function correctly if all the SETUP-*.BIN files are placed on the same disk.)
上面的最后一段,明确提示,打包编译生成的安装包文件,如果最终的文件大小超过2100000000字节,那么就必须设置参数(DiskSpanning)值为 yes (缺省值为 no),具体做法是,在上面的 [Setup] 段里,再添加一个参数,如下如示:
DiskSpanning=yes
B. java运行显示“找不到或无法加载主类”!
我们的工程路径是D:HelloWorld,在HelloWorld文件夹中建立一个src文件夹,类B的源代码文件就放在src中。用javac编译完以后会在src文件夹中生成NewsManager.class,如下: