jsmooth compilation failed error null

來源:互聯網
上載者:User

標籤:

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.

 

jsmooth compilation failed error null

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.