Welcome, Guest. Please login or register.

Login with username, password and session length

 
Advanced search

11855 Posts in 1569 Topics- by 3054 Members - Latest Member: Ljustin770

11. February 2012, 12:14:15 PM
Xith3D CommunityProjectsGames production pipeline (Moderator: clilian)Java Installer
Pages: [1]
Print
Author Topic: Java Installer  (Read 9533 times)
BrazilianBoy
Becoming dependent
**
Offline Offline

Posts: 208


l_p_camargo@hotmail.com
View Profile Email
« on: 20. August 2007, 09:36:12 PM »

Is there an installer creator that works fine with java (and xith)?
Logged

Getting my hands dirty Smiley
Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4337


May the 4th, be with you...


View Profile
« Reply #1 on: 20. August 2007, 11:04:30 PM »

Is there an installer creator that works fine with java (and xith)?

Don't know. But isn't it sufficient to just copy the files to the hard disk. It should run out of the box.

Marvin
Logged
BrazilianBoy
Becoming dependent
**
Offline Offline

Posts: 208


l_p_camargo@hotmail.com
View Profile Email
« Reply #2 on: 21. August 2007, 12:08:11 AM »

Yeah, that's enough. Thanks.
Logged

Getting my hands dirty Smiley
'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #3 on: 21. August 2007, 06:45:05 AM »

Is there an installer creator that works fine with java (and xith)?
Sure.
The best I know is : http://izpack.org/

Enjoy !
Logged
SephirXV
Enjoying the stay
*
Offline Offline

Posts: 53


View Profile
« Reply #4 on: 16. October 2008, 06:47:25 PM »

I have recently been getting acquainted with OneJar (FatJar from Eclipse), which if arranged properly, allows you to pack just about everything into a single jar, including the third-party and media jars. The only thing I've been having issues with is native libraries, which may be more a Winblows problem.
It's not great for incremental updates, but end users love downloading one file and just clicking it.
Logged
Julien Gouesse
Just dropped in

Offline Offline

Posts: 17



View Profile WWW
« Reply #5 on: 29. January 2009, 08:54:49 AM »

What about Java webstart? It is easy and it works quite good.
Logged

http://tuer.sourceforge.net (first person shooter written in Java by Julien Gouesse)
'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #6 on: 15. March 2009, 06:32:21 PM »

SephirXV, I have written OneClick, which does what you say (all in one jar) AND correctly handles natives. You can find it on SourceForge.

gouessej, the problem with Java Web Start is the signing headache, user warnings, etc. (Oh, and I forgot: random behavior under mysterious circumstances. Anyone having tried to do reasonable deployment under JWS will know what I mean.)
Logged
Gunslinger
Enjoying the stay
*
Offline Offline

Posts: 44


View Profile
« Reply #7 on: 16. March 2009, 09:20:16 AM »

Quote
gouessej, the problem with Java Web Start is the signing headache, user warnings, etc. (Oh, and I forgot: random behavior under mysterious circumstances. Anyone having tried to do reasonable deployment under JWS will know what I mean.)

I admit that user warnings are not that pleasant. But I do not understand what you mean by signing headache. It is no more a headache than compiling. One row in an ant-file:

Code:
<signjar keystore="abc.ks" jar="dist/abc.jar" alias="MyAlias" storepass="mypassword" />

On the plus side for jws:
* Let lwjgl and jogl handle their natives. You just handle your game.
* End users are automaticlly updated to the latest version. Only changed files need to be downloaded.

On the minus side (yes, I think you missed one):
You can't distribute your work on a cd (or something), everybody has to download from a webserver. I miss the feature:

Code:
This file can be downloaded from X.
But if it is on the cd take it from there.
Download updates from X in the future.
Logged
Mathias 'cylab' Henze
Fierce Warrior
****
Offline Offline

Posts: 540

1064620
View Profile WWW
« Reply #8 on: 16. March 2009, 01:10:47 PM »

On the minus side (yes, I think you missed one):
You can't distribute your work on a cd (or something), everybody has to download from a webserver. I miss the feature:
(...)

It turned out, that this is possible after all: http://today.java.net/pub/a/today/2008/07/10/distributing-web-start-via-cd-rom.html
Logged

'n ddrylliog
Guru
*****
Offline Offline

Posts: 1188



View Profile WWW Email
« Reply #9 on: 19. March 2009, 04:31:06 PM »

Quote from: Gunslinger link=topic=568.msg10144#msg10144 date=1 237195216
I admit that user warnings are not that pleasant. But I do not understand what you mean by signing headache. It is no more a headache than compiling. One row in an ant-file:
Code:
<signjar keystore="abc.ks" jar="dist/abc.jar" alias="MyAlias" storepass="mypassword" />
Oh, yeah, I am admittedly an old-schooler, who struggled with command lines for signing. So BTW, thumbs up for the ant team for easing that up.
What this doesn't solve: f*cking big warnings letting the user know that if his machine blow up, it's not Sun's fault, OR you have to pay a big*ss sum of money to Verisign to look legitimate. Your choice. (Oh, and did I forgot to mention that (self-forged) certificates expired every 6 months ? Well, that's kind of an incentive to keep your project alive Wink
So no, I don't see JWS as a viable deployment alternative for anything except Java4K. For Demo distribution (yes, on CD-rom/usbkey/onefile-download, you heard me), go for OneClick/FatJar/whatever, and for serious desktop apps, go for IzPack/BitRock Builder.
But again, your mileage may vary. In my experience, good things often don't come directly from Sun, they come from around Sun. (E.g. amazing Java APIs/apps, but leaves-to-be-desired java compiler/memory usage, etc., read alioth debian shootout if you don't see what I mean).
Logged
Gunslinger
Enjoying the stay
*
Offline Offline

Posts: 44


View Profile
« Reply #10 on: 20. March 2009, 05:10:34 AM »

Another option is Excelsior jet. They make your jar-files into linux or windows binaries. I used it for my game Gunslinger. That way the user doesn't need a specific jvm. Technicly, it worked well. However, these days, they are far from cheap.
Logged
Julien Gouesse
Just dropped in

Offline Offline

Posts: 17



View Profile WWW
« Reply #11 on: 25. June 2009, 07:57:20 AM »

I suggest using IzPack as it is clean, reliable and the shortcut feature really works; it allows to add links to launch the application and to uninstall it, it looks like something more "usual" for the final users. It is already used by FreeCol. I plan to use it instead of Java Webstart. Excelsior Jet is too expensive.
Logged

http://tuer.sourceforge.net (first person shooter written in Java by Julien Gouesse)
Agrv
Administrator
Enjoying the stay
*****
Offline Offline

Posts: 64


View Profile
« Reply #12 on: 21. September 2009, 07:41:16 PM »

What this doesn't solve: f*cking big warnings letting the user know that if his machine blow up, it's not Sun's fault, OR you have to pay a big*ss sum of money to Verisign to look legitimate.

I know this is now quite old but I just wanted to give some input : Thawte (https://www.thawte.com) proposes free certificates that are recognised by Java webstart, so there is no need to pay to look legitimate. Just select "Secure your e-mail" on their homepage, then create a free account and choose the "Developers of New Security Applications ONLY --> test" link. The certificates are valid for one year, you can create as many as you want. I use it and am satisfied.
Logged
michel900
Just dropped in

Offline Offline

Posts: 1


michel900 michel900
View Profile Email
« Reply #13 on: 27. October 2010, 11:59:27 AM »

I am a programmer so I want to tell you something about java installer Advanced Installer is the only Windows Installer authoring tool with built-in support for Java applications, integrating them fully into the Windows OS and making them look and feel just like a native application.
Using Advanced Installer you can create MSI packages for your Java applications, and allow your application to use the Windows Installer feature...
Logged

Marvin Fröhlich
Xith Lord
Administrator
Guru
*****
Offline Offline

Posts: 4337


May the 4th, be with you...


View Profile
« Reply #14 on: 27. October 2010, 12:35:58 PM »

Sounds nice. Thanks for the info. Does it also support Linux and Mac? Xith3D is a platform independent library. And I wouldn't like it, if we would go for some tool, that pushes us in one certain platform direction.

Marvin
Logged
Pages: [1]
Print
Jump to:  

Theme orange-lt created by panic