🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8371

Re: Java Compiled into dll?

#8371
From: Owen Green
Date: Tue, 27 Mar 2001 13:46
19 lines
1704 bytes
> Can anyone confirm if it is possible to compile Java byte code into a
> platform specific dll? We need to supply some software modules to a
customer
> in the form of dlls. The modules exist in a java format and I hoped there
> would be an easy way to compile them into a WinNT dll rather than rewrite
> them in C++Builder- any suggestions?

1) Get hold of a native compiler? I'm not sure where this would leave you
w.r.t entry points, function exports and the rest of it though.

2)Write a JNI wrapper dll around your class.

The second option is definately cheaper (provided you have a C++ compiler,
or delphi, or something to hand), and for my money less fraught with
uncertainity. However, if you're actually worried about the customer having
access to your jar it may need some cunning embellishment.

hth
Owen
Technical Details
Message-ID: <3ac099d4_2@dnews>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone2.usenetserver.com!news-out.usenetserver.com!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews!213.86.7.136
References: <3ac0250c_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,9e4f9eb3a1f7d7ec
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-03-27 07:42:03 PST
From: "Owen Green" <owen@norobots.unique.com>
Newsgroups: borland.public.jbuilder.java.language
References: <3ac0250c_1@dnews>
Subject: Re: Java Compiled into dll?
Date: Tue, 27 Mar 2001 14:46:53 +0100
Lines: 23
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 213.86.7.136
Message-ID: <3ac099d4_2@dnews>
X-Trace: 27 Mar 2001 05:47:00 -0800, 213.86.7.136
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!cyclone2.usenetserver.com!news-out.usenetserver.com!news.tele.dk!194.213.69.151!news.algonet.se!algonet!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews!213.86.7.136