码迷,mamicode.com
首页 > Web开发 > 详细

jsmooth compilation failed error null

时间:2016-07-13 15:20:30      阅读:249      评论:0      收藏:0      [点我收藏+]

标签:

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.

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

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

标签:

原文地址:http://www.cnblogs.com/digdeep/p/5666653.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!