Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #22069 > unrolled thread

Pack libraries with native libs

Started bymanuel.dahmen@gmail.com
First post2013-02-04 02:33 -0800
Last post2013-02-04 12:10 -0800
Articles 3 — 3 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Pack libraries with native libs manuel.dahmen@gmail.com - 2013-02-04 02:33 -0800
    Re: Pack libraries with native libs markspace <markspace@nospam.nospam> - 2013-02-04 08:10 -0800
    Re: Pack libraries with native libs Roedy Green <see_website@mindprod.com.invalid> - 2013-02-04 12:10 -0800

#22069 — Pack libraries with native libs

Frommanuel.dahmen@gmail.com
Date2013-02-04 02:33 -0800
SubjectPack libraries with native libs
Message-ID<34e0127c-36db-4597-baab-042a9139bbef@googlegroups.com>
Hello Java Programmers,

I'm new to this list. I have one question regarding packing application jar with libraries.

So, I have one jar (classes that I've written), and other jars (jogl opengl binding for java) which reffer to native libraries (dll's).

I'd like to pack these jars into ONE runnable jar.

The problem is the native libraries, I can't launch from within the archive.

I can use JEXEPACK which costs $100,00 but I don't have that money available for now.

Is there other solution? An installer? If yes, which should I use?


DAHMEN MANUEL
http://darkfortress.codeplex.com

[toc] | [next] | [standalone]


#22076

Frommarkspace <markspace@nospam.nospam>
Date2013-02-04 08:10 -0800
Message-ID<keomg4$q8a$1@dont-email.me>
In reply to#22069
On 2/4/2013 2:33 AM, manuel.dahmen@gmail.com wrote:

> I'd like to pack these jars into ONE runnable jar.
>
> The problem is the native libraries, I can't launch from within the
> archive.


JNLP and Java Web Start with the newer JNLP syntax can launch native 
libraries, I believe.  I haven't tried it with JOGL specifically, however.

But these don't pack the Jar file so much as just manage it for you.  So 
I'm not sure how applicable it will be.

[toc] | [prev] | [next] | [standalone]


#22080

FromRoedy Green <see_website@mindprod.com.invalid>
Date2013-02-04 12:10 -0800
Message-ID<9b50h85fihnafp4uajl8s0khttk5cvfm0h@4ax.com>
In reply to#22069
On Mon, 4 Feb 2013 02:33:55 -0800 (PST), manuel.dahmen@gmail.com
wrote, quoted or indirectly quoted someone who said :

>
>Is there other solution? An installer? If yes, which should I use?

Java Webstart gives you quite a bit of flexibility packaging native
jars.

see http://mindprod.com/jgloss/javawebstart.html
-- 
Roedy Green Canadian Mind Products http://mindprod.com
The first 90% of the code accounts for the first 90% of the development time.
The remaining 10% of the code accounts for the other 90% of the development 
time. 
~ Tom Cargill  Ninety-ninety Law 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web