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,如下: