程序師世界是廣大編程愛好者互助、分享、學習的平台,程序師世界有你更精彩!
首頁
編程語言
C語言|JAVA編程
Python編程
網頁編程
ASP編程|PHP編程
JSP編程
數據庫知識
MYSQL數據庫|SqlServer數據庫
Oracle數據庫|DB2數據庫
 程式師世界 >> 編程語言 >> JAVA編程 >> JAVA綜合教程 >> jsmooth compilation failed error null,jsmoothcompilation

jsmooth compilation failed error null,jsmoothcompilation

編輯:JAVA綜合教程

jsmooth compilation failed error null,jsmoothcompilation


JSmooth 0.9.9-7 在將 jar 文件打包成 exe 文件時報錯:jsmooth compilation failed error null

原因,沒有指定 logo 圖片文件。

 

http://kechengpuzi.com/q/s14902409 

連接中說:還有可能是 logo 文件圖片問題:

This is a common issue users come across. JSmooth seems very limited in the size and bitdepth of icons it supports. I don't know why it doesn't just toss it on as a resource like WinRun4J and let Windows pick the icon to use instead of preferring 32x32.

Try reducing the bit-depth and removing your larger icons to be just 16x16, 32x32 and maybe 48x48 and or 64x64 with only 4 or 8 bits of depth. Those are the settings that work for many people. Some use 32 bit PNGs but the docs say they are sampled down to 256 colors anyway.

  • http://jsmooth.sourceforge.net/docs/jsmooth-doc.html#N1011A
  • http://sourceforge.net/p/jsmooth/bugs/84/
  • http://sourceforge.net/p/jsmooth/discussion/297041/thread/294c7f61/

--------------------------

I know this is an old question but I had the same problem and it was ultimately to do with my icon file.

No idea what was wrong with it but clearing the icon option fixed the problem.

--------------------------

After messing around with the parameters, I've fixed my case of "Error: null"

My solution : Replace the "not-working executable icon (.ico file)" in your JSmooth project by , for example, a very simple PNG file.

 

  1. 上一頁:
  2. 下一頁:
Copyright © 程式師世界 All Rights Reserved