# Creating an executable JAR for JRuby code \[post\] + 1 Question

**URL:** <https://rubytalk.org/t/creating-an-executable-jar-for-jruby-code-post-1-question/75445>\
**Category:** ruby-talk\
**Created:** [14 March 2021 02:02 UTC](https://rubytalk.org/t/creating-an-executable-jar-for-jruby-code-post-1-question/75445 "2021-03-14T02:02:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mohit\_Sindhwani1](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Mohit\_Sindhwani1](https://rubytalk.org/u/Mohit_Sindhwani1)\
**Post date:** [14 March 2021 02:02 UTC](https://rubytalk.org/t/creating-an-executable-jar-for-jruby-code-post-1-question/75445/1 "2021-03-14T02:02:44Z")

</div>

Hi Everyone,

Yesterday, I wrote a post that collected the different information for using Warbler to compile and package Ruby code + JRuby into an executable JAR that will run anywhere. I will probably need to do a second page that talks more about the configuration, etc. If you're keen, please take a look [comments welcome]  
[https://notepad.onghu.com/2021/jruby-win-day2-creating-jar-files/](https://notepad.onghu.com/2021/jruby-win-day2-creating-jar-files/)

Now, the question:  
When the created JAR runs, it unzips and creates a folder and a file in the TEMP directory. These are not removed automatically. I am trying to determin if this is expected. If this is expected, just be sure that if you’re running a few jobs automatically every minute on a schedule, you will add approximately 25MB – 30MB to your TEMP directory each time. We had a problem on a server once due to that and I'm looking to see what advice I should include for the reader.

Thanks & Best Regards,  
Mohit.

---

<div class="post-metadata">

**Author:** ![Bernadette\_McKelly](https://avatars.discourse-cdn.com/v4/letter/b/e99b99/32.png) [@Bernadette\_McKelly](https://rubytalk.org/u/Bernadette_McKelly)\
**Post date:** [15 March 2021 12:48 UTC](https://rubytalk.org/t/creating-an-executable-jar-for-jruby-code-post-1-question/75445/2 "2021-03-15T12:48:56Z")

</div>

Good Morning,

I am very new to Ruby. I have tried to download KIDSRUBY but was  
unsuccessful. Do you know if KIDSRUBY is still available?

> **···**
>
> On Sat, 13 Mar 2021, 10:03 PM Mohit Sindhwani, \<mo\_mail@onghu.com\> wrote:
> 
> > Hi Everyone,
> > 
> > Yesterday, I wrote a post that collected the different information for  
> > using Warbler to compile and package Ruby code + JRuby into an  
> > executable JAR that will run anywhere. I will probably need to do a  
> > second page that talks more about the configuration, etc. If you're  
> > keen, please take a look [comments welcome]  
> > [JRuby on Windows: Day 2 - Creating Executable JARS](https://notepad.onghu.com/2021/jruby-win-day2-creating-jar-files/)
> > 
> > Now, the question:  
> > When the created JAR runs, it unzips and creates a folder and a file in  
> > the TEMP directory. These are not removed automatically. I am trying to  
> > determin if this is expected. If this is expected, just be sure that if  
> > you’re running a few jobs automatically every minute on a schedule, you  
> > will add approximately 25MB – 30MB to your TEMP directory each time. We  
> > had a problem on a server once due to that and I'm looking to see what  
> > advice I should include for the reader.
> > 
> > Thanks & Best Regards,  
> > Mohit.
> > 
> > Unsubscribe: \<mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe\>  
> > \<[http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt](http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt);

---

<div class="post-metadata">

**Author:** ![Mohit\_Sindhwani1](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Mohit\_Sindhwani1](https://rubytalk.org/u/Mohit_Sindhwani1)\
**Post date:** [15 March 2021 16:30 UTC](https://rubytalk.org/t/creating-an-executable-jar-for-jruby-code-post-1-question/75445/3 "2021-03-15T16:30:48Z")

</div>

Hi Bernadette,

> Good Morning,
> 
> I am very new to Ruby. I have tried to download KIDSRUBY but was unsuccessful. Do you know if KIDSRUBY is still available?

I have no advice for you other than what Ken responded earlier:  
\>While I have no idea what KIDSRUBY is, I gotta say it looks pretty dead, which is unfortunate.  
\> But I was able to download at least the Linux .deb file using the wayback machine, so that might be worth taking a look at.

What are you trying to do with KIDSRUBY and I wonder if regular Ruby could help you with it now?

Best Regards,  
Mohit.  
2021-3-16 | 12:30 am.

> **···**
>
> On 2021-3-15 8:48 pm, Bernadette McKelly wrote:

---

<div class="post-metadata">

**Author:** ![Sean\_Felipe\_Wolfe](https://yyz1.discourse-cdn.com/flex029/user_avatar/rubytalk.org/sean_felipe_wolfe/32/1952_2.png) [@Sean\_Felipe\_Wolfe](https://rubytalk.org/u/Sean_Felipe_Wolfe)\
**Post date:** [15 March 2021 16:59 UTC](https://rubytalk.org/t/creating-an-executable-jar-for-jruby-code-post-1-question/75445/4 "2021-03-15T16:59:34Z")

</div>

Hello Bernadette + welcome !

I haven't heard of kidsruby but it sounds cool ! Also check out this site:  
[https://www.helloruby.com](https://www.helloruby.com) .

> **···**
>
> On Mon, Mar 15, 2021 at 9:31 AM Mohit Sindhwani \<mo\_mail@onghu.com\> wrote:
> 
> > Hi Bernadette,
> > 
> > On 2021-3-15 8:48 pm, Bernadette McKelly wrote:  
> > \> Good Morning,  
> > \>  
> > \> I am very new to Ruby. I have tried to download KIDSRUBY but was  
> > \> unsuccessful. Do you know if KIDSRUBY is still available?  
> > \>
> > 
> > I have no advice for you other than what Ken responded earlier:  
> > \>While I have no idea what KIDSRUBY is, I gotta say it looks pretty  
> > dead, which is unfortunate.  
> > \> But I was able to download at least the Linux .deb file using the  
> > wayback machine, so that might be worth taking a look at.
> > 
> > What are you trying to do with KIDSRUBY and I wonder if regular Ruby  
> > could help you with it now?
> > 
> > Best Regards,  
> > Mohit.  
> > 2021-3-16 | 12:30 am.
> > 
> > Unsubscribe: \<mailto:ruby-talk-request@ruby-lang.org?subject=unsubscribe\>  
> > \<[http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt](http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-talk&gt);
> 
> --  
> A musician must make music, an artist must paint, a poet must write, if he  
> is to be ultimately at peace with himself.  
> - Abraham Maslow
