# Win32-api for Jruby in the works

**URL:** <https://www.ruby-forum.com/t/win32-api-for-jruby-in-the-works/167216>\
**Category:** JRuby\
**Created:** [May 5, 2009, 4:19pm UTC](https://www.ruby-forum.com/t/win32-api-for-jruby-in-the-works/167216 "2009-05-05T16:19:32Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![paulf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eb9ed0/32.png) [@paulf](https://www.ruby-forum.com/u/paulf)\
**Post date:** [May 5, 2009, 4:19pm UTC](https://www.ruby-forum.com/t/win32-api-for-jruby-in-the-works/167216/1 "2009-05-05T16:19:32Z")

</div>

[mailto:win32utils-devel%40rubyforge.org?Subject=Re%3A%20[Win32utils-devel]%20New%20win32-api%20for%20Jruby%20in%20the%20works&In-Reply-To=\<7524A45A1A5B264FA4809E2156496CFB04514C9B%40ITOMAE2KM01.AD.QINTRA.COM\>](mailto:win32utils-devel%40rubyforge.org?Subject=Re%3A%20%5BWin32utils-devel%5D%20New%20win32-api%20for%20Jruby%20in%20the%20works&In-Reply-To=%3C7524A45A1A5B264FA4809E2156496CFB04514C9B%40ITOMAE2KM01.AD.QINTRA.COM%3E)Hi,

Comment was made on the win32utils-devel list that an api was in the  
works for Jruby.  
I am looking for a “LPGL” way to run a jruby app as a windows service.  
Is there a chance that this project may include “win32-service” and be  
suitable for this purpose?

Thanks  
Paul F.

[mailto:win32utils-devel%40rubyforge.org?Subject=Re%3A%20[Win32utils-devel]%20New%20win32-api%20for%20Jruby%20in%20the%20works&In-Reply-To=\<7524A45A1A5B264FA4809E2156496CFB04514C9B%40ITOMAE2KM01.AD.QINTRA.COM\>](mailto:win32utils-devel%40rubyforge.org?Subject=Re%3A%20%5BWin32utils-devel%5D%20New%20win32-api%20for%20Jruby%20in%20the%20works&In-Reply-To=%3C7524A45A1A5B264FA4809E2156496CFB04514C9B%40ITOMAE2KM01.AD.QINTRA.COM%3E)

* * *

To unsubscribe from this list, please visit:

```
http://xircles.codehaus.org/manage_email

```

---

<div class="post-metadata">

**Author:** ![paulf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eb9ed0/32.png) [@paulf](https://www.ruby-forum.com/u/paulf)\
**Post date:** [May 5, 2009, 4:46pm UTC](https://www.ruby-forum.com/t/win32-api-for-jruby-in-the-works/167216/2 "2009-05-05T16:46:34Z")

</div>

Sorry about the phantom links in my previous mail

Paul F. wrote:

> Paul F.

* * *

To unsubscribe from this list, please visit:

```
http://xircles.codehaus.org/manage_email

```

---

<div class="post-metadata">

**Author:** ![paulf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eb9ed0/32.png) [@paulf](https://www.ruby-forum.com/u/paulf)\
**Post date:** [May 6, 2009, 12:03am UTC](https://www.ruby-forum.com/t/win32-api-for-jruby-in-the-works/167216/3 "2009-05-06T00:03:45Z")

</div>

> Comment was made on the win32utils-devel list that an api was in the works  
> for Jruby.  
> I am looking for a “LPGL” way to run a jruby app as a windows service.  
> Is there a chance that this project may include “win32-service” and be  
> suitable for this purpose?

I know this doesn’t answer your question but can’t you use wrapper.exe  
for  
this purpose?

It’s a service wrapper for java applications.

---

<div class="post-metadata">

**Author:** ![paulf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eb9ed0/32.png) [@paulf](https://www.ruby-forum.com/u/paulf)\
**Post date:** [May 6, 2009, 3:18am UTC](https://www.ruby-forum.com/t/win32-api-for-jruby-in-the-works/167216/4 "2009-05-06T03:18:33Z")

</div>

Tim U. wrote:

> for this purpose?
> 
> It’s a service wrapper for java applications.  
> Tim,  
> wrapper.exe is licenced under GPL for the free version and commercial  
> use is pay per server which does not fit my intended usage.  
> Thanks for you interest,  
> Paul F.

* * *

To unsubscribe from this list, please visit:

```
http://xircles.codehaus.org/manage_email

```

---

<div class="post-metadata">

**Author:** ![paulf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eb9ed0/32.png) [@paulf](https://www.ruby-forum.com/u/paulf)\
**Post date:** [May 6, 2009, 9:41am UTC](https://www.ruby-forum.com/t/win32-api-for-jruby-in-the-works/167216/5 "2009-05-06T09:41:15Z")

</div>

> > ```
> > I am looking for a "LPGL" way to run a jruby app as a 
> > 
> > ```
> 
> windows service.
> 
> > ```
> > Is there a chance that this project may include "win32-service"
> > and be suitable for this purpose?
> > 
> > ```

You can grab ntservice from the contrib dir the JNA project - you’re  
already using JNA with jruby.

* * *

To unsubscribe from this list, please visit:

```
http://xircles.codehaus.org/manage_email

```

---

<div class="post-metadata">

**Author:** ![paulf](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/eb9ed0/32.png) [@paulf](https://www.ruby-forum.com/u/paulf)\
**Post date:** [May 6, 2009, 11:35am UTC](https://www.ruby-forum.com/t/win32-api-for-jruby-in-the-works/167216/6 "2009-05-06T11:35:35Z")

</div>

Daniel S. wrote:

> 

Thanks Daniel,  
Just what I have been looking for…  
Google, in my investigation did not seem to know about JNA/ ntservice.  
The mail list to the rescue again…  
Paul

* * *

To unsubscribe from this list, please visit:

```
http://xircles.codehaus.org/manage_email

```
