Thank you Christian
mailto:david@leighweb.com SigLeighweb
De : Christian Grün [mailto:christian.gruen@gmail.com] Envoyé : lundi 10 novembre 2014 13:02 À : David Leigh Cc : Dirk Kirsten; BaseX Objet : Re: [basex-talk] Cross-platform deployment of BaseX
Hi David,
one more solution: We are using Lanuch4J [1] to create the Windows BaseX executable. This wrapper allows you to embed the JRE in the executable. I haven't tried to do this by myself, but you are invited to play around with our existing launch4j configuration [2].
Hope this helps,
Christian
[1] http://launch4j.sourceforge.net/
[2] https://github.com/BaseXdb/basex-dist/tree/master/win/launch4j
On Mon, Nov 10, 2014 at 11:14 AM, David Leigh david@leighweb.com wrote:
Thanks Dirk. That looks very promising.
I'm hoping to create something where by someone doesn't have to install the JRE if, for whatever reason, they don't want to. I've already had instances using BaseX in a tool where a problem arose with someone who didn't have Java installed and another problem where the JRE version became an issue. So I'm trying to avoid that if possible by making it a non-issue.
http://www.leighweb.com/wpress/wp-content/themes/theme2007/images/DavidEmailSig.gif
On Mon, Nov 10, 2014 at 10:32 AM, Dirk Kirsten dk@basex.org wrote:
Hi David,
although I don't fully understand this anti-Java feedback (after all, Java is very much an industry standard and many programs require it), I think there is a way to do exactly what you want.
A while ago I played around with Excelsior JET (http://www.excelsiorjet.com/) and compiling BaseX worked like a charm. One nice thing is that the BaseX GUI starts up much faster and it should basically do what you wrote here as requirement.
Cheers, Dirk
On 11/08/2014 09:38 PM, David Leigh wrote:
I used BaseX in a Windows-only project a couple of years ago (ver 6.5 or some such thing). I found it to be excellent for rapid text queries.
I'm planning on re-writing the application but would like it to be cross-platform and ideally in native binaries. I've had some "anti-Java" feedback that makes me want to see if there is a way to package/compile BaseX so that the Java is all "self-contained" in an executable(s) with no other dependencies. I think of how I understand sqlite to work and wonder if BaseX can be packaged in the same way. I see in the documentation that Maven is mentioned but I'm not really sure if that is what I'm looking for since I'm not familiar with Maven.
I'm at the edges of my understanding of how a Java-based program can be packaged so please be gentle with my inexperience and ignorance.
I guess the bottom line is that I'd like someone to be able to install my application on Windows, Linux or Mac without having to think about if they have Java installed on their machine or what version it is or anything. I also don't want to force someone to install Java on their machine if they specifically don't want to. Is that possible with BaseX?
Thank you so much!
This email is free from viruses and malware because avast! Antivirus protection is active. http://www.avast.com
-- Dirk Kirsten, BaseX GmbH, http://basex.org |-- Firmensitz: Blarerstrasse 56, 78462 Konstanz |-- Registergericht Freiburg, HRB: 708285, Geschäftsführer: | Dr. Christian Grün, Dr. Alexander Holupirek, Michael Seiferle `-- Phone: 0049 7531 28 28 676 tel:0049%207531%2028%2028%20676 , Fax: 0049 7531 20 05 22 tel:0049%207531%2020%2005%2022