Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.java.programmer > #8517
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeder2.ecngs.de!ecngs!feeder.ecngs.de!news.osn.de!diablo2.news.osn.de!news.belwue.de!rz.uni-karlsruhe.de!feed.news.schlund.de!schlund.de!news.online.de!not-for-mail |
|---|---|
| From | Philipp Kraus <philipp.kraus@flashpixx.de> |
| Newsgroups | comp.lang.java.programmer |
| Subject | Re: loading dll within a jar |
| Date | Tue, 4 Oct 2011 14:19:48 +0200 |
| Organization | 1&1 Internet AG |
| Lines | 34 |
| Message-ID | <j6etl4$lda$1@online.de> (permalink) |
| References | <j6d70q$24c$1@online.de> <201110032353253223-angrybaldguy@gmailcom> <nfkl87t2nkv4regjeck6fko9bnp5u7jk4a@4ax.com> |
| NNTP-Posting-Host | p3ee2964c.dip0.t-ipconnect.de |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=iso-8859-1; format=flowed |
| Content-Transfer-Encoding | 8bit |
| X-Trace | online.de 1317730788 21930 62.226.150.76 (4 Oct 2011 12:19:48 GMT) |
| X-Complaints-To | abuse@einsundeins.com |
| NNTP-Posting-Date | Tue, 4 Oct 2011 12:19:48 +0000 (UTC) |
| User-Agent | Unison/2.1.5 |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:8517 |
Show key headers only | View raw
On 2011-10-04 11:33:11 +0200, Roedy Green said: > On Mon, 3 Oct 2011 23:53:25 -0400, Owen Jacobson > <angrybaldguy@gmail.com> wrote, quoted or indirectly quoted someone > who said : > >> Short answer, no, you can't get there from here. Unpack your .DLL >> somewhere (java.io.tmpdir, for example) and load it from there. The >> Java Web Start protocol includes support for native libraries >> distributed inside JAR files, if you don't want to write the >> unpack-and-load glue yourself and if your app is appropriate for web >> start. > > Doing this with applets is a bear. No it will be a standalone package. > A long time ago I went nearly nuts > trying to do it under Netscape and brethren and Java 1.1. The problem > was Java did not notice the DLL unless it were present when Java was > first loaded. You have to find a place to put the DLL on the library > path. You need permission to put it there. > > It is easier to let Java Web Start handle this for you. If you use an > installer, it should have facilities to install the DLL for you. See > http://mindprod.com/jgloss/installer.html At the moment I use a swtich to load the library, the load will be first from the default system lib path or the user can specify the path Grat hint, thank Phil
Back to comp.lang.java.programmer | Previous | Next — Previous in thread | Next in thread | Find similar
loading dll within a jar Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-10-03 22:47 +0200
Re: loading dll within a jar Owen Jacobson <angrybaldguy@gmail.com> - 2011-10-03 23:53 -0400
Re: loading dll within a jar Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-10-04 11:19 +0200
Re: loading dll within a jar Roedy Green <see_website@mindprod.com.invalid> - 2011-10-04 02:33 -0700
Re: loading dll within a jar Philipp Kraus <philipp.kraus@flashpixx.de> - 2011-10-04 14:19 +0200
Re: loading dll within a jar Roedy Green <see_website@mindprod.com.invalid> - 2011-10-03 22:28 -0700
Re: loading dll within a jar Roedy Green <see_website@mindprod.com.invalid> - 2011-10-15 14:20 -0700
Re: loading dll within a jar Arne Vajhøj <arne@vajhoej.dk> - 2011-10-16 22:38 -0400
csiph-web