Windows Desktop Deployment

9 views
Skip to first unread message

Sandy Parakilas

unread,
May 7, 2009, 1:09:02 AM5/7/09
to Mixblendr Developers Group
Hi guys,

I'm finishing up the alpha desktop release - I've created a .app for
mac users and am planning on using the jar files for Linux. For
Windows, I successfully created a .exe that works using jsmooth, but
when I zip it and unzip it, it no longer works, even on the same
machine. Does anyone have any experience deploying java on the desktop
for windows - do I need to create an installer to get it to work?

thanks!

Sandy

Jonathan

unread,
May 7, 2009, 2:19:37 AM5/7/09
to mixblendr-dev...@googlegroups.com
I have not had to this, but I can ask a java developer I know tomorrow. He
mainly does server work, but it will not hurt to ask him.

Jonathan

--------------------------------------------------
From: "Sandy Parakilas" <mixb...@gmail.com>
Sent: Wednesday, May 06, 2009 10:09 PM
To: "Mixblendr Developers Group"
<mixblendr-dev...@googlegroups.com>
Subject: Windows Desktop Deployment

Sandy Parakilas

unread,
May 7, 2009, 2:53:34 AM5/7/09
to Mixblendr Developers Group
Ok thanks - I know Florian has used JSmooth with some success, and I
was able to create a working .exe, but after zipping and then
unzipping it would no longer open.

Also, the icon I was using got stretched weirdly (it was a .png), and
when I tried to use an .ico file instead, it wouldn't read it. Not
sure if there's another decent alternative to jsmooth.

On May 6, 11:19 pm, "Jonathan" <pulla...@hotmail.com> wrote:
> I have not had to this, but I can ask a java developer I know tomorrow.  He
> mainly does server work, but it will not hurt to ask him.
>
> Jonathan
>
> --------------------------------------------------
> From: "Sandy Parakilas" <mixble...@gmail.com>

Dario Laverde

unread,
May 7, 2009, 12:51:18 PM5/7/09
to mixblendr-dev...@googlegroups.com
Yes, I do. What I've done in the past is create an exe that checks for JRE and then launches the jar file (which can be the exe file itself as you can append the jar to the end of the exe (I'm assuming you have manifest set up).  I'm not familiar with jsmooth but my method doesn't require any launchers but I usually use an nsis installer to make the install easier as that can check for a JRE.

-Dario

Sandy Parakilas

unread,
May 7, 2009, 4:37:41 PM5/7/09
to Mixblendr Developers Group
Thanks - yeah thats what jsmooth does - it creates an exe that checks
for the JRE first (you can specify a minimum version), and then
launches the jar. It worked fine on my test virtual machine (running
XP on Parallels), although the icon was stretched strangely, but when
I zipped it and uploaded it, then unzipped it on the same machine, it
no longer launched the jar. I tried on a different machine with the
same results.

I'll try the nsis installer - maybe that will solve the issue.

thanks

On May 7, 9:51 am, Dario Laverde <da...@nycjava.net> wrote:
> Yes, I do. What I've done in the past is create an exe that checks for JRE
> and then launches the jar file (which can be the exe file itself as you can
> append the jar to the end of the exe (I'm assuming you have manifest set
> up).  I'm not familiar with jsmooth but my method doesn't require any
> launchers but I usually use an nsis installer to make the install easier as
> that can check for a JRE.
>
> -Dario
>

Sandy Parakilas

unread,
May 8, 2009, 3:11:37 AM5/8/09
to Mixblendr Developers Group
Actually the issue doesn't have to do with the data compression; if I
move the .exe to a different directory, it won't launch, because it
can't find the other .jar files. Which is odd, because I've added them
in the classpath. I thought it would act like Apple's jar bundler, and
bundle all of them into the .exe, but maybe it doesn't do that.
Reply all
Reply to author
Forward
0 new messages