Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8092081
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T20:12:44+00:00 2026-06-05T20:12:44+00:00

I made some little programs with Swing-components in JRuby. Now I want to convert

  • 0

I made some little programs with Swing-components in JRuby. Now I want to convert these to .jar-archives.

The first option I found is warbler: https://github.com/jruby/warbler
Making a jar should be as simple as:

$ chmod a+x bin/mylittleprogram.rb
$ warble jar

But warble is aborted with an error: “can’t modify frozen string”
same issue as here: https://github.com/jruby/warbler/issues/76

I’m a newbie and, frankly speaking, I don’t get from the thread at github what to do (like: look for x in file y and change it to z) to make it work. Like the guy who started the thread, I have an Ubuntu OS (11.04) und MRI and JRuby installed.

I also found rawr: http://rawr.rubyforge.org/
Making a jar should work as follows:

rawr install
rake rawr:jar
java -jar package/jar/your_jar_file.jar

In my case, I get an error:

Exception in thread "main" org.jruby.exceptions.RaiseException: (LoadError) no such file to load -- main

My Question: Which of these two options will be easier to use?
It would be also very helpful, to get an explanation what warbler and rawr do in the background.

Many thanks in advance!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T20:12:45+00:00Added an answer on June 5, 2026 at 8:12 pm

    Rawr is quite simpler for the standalone app. In your case, I guess you haven’t specified the main class yet. You should check it on build_configuration.rb

    # The main ruby file to invoke, minus the .rb extension
    # default value: "main"
    #
    c.main_ruby_file = "hello"
    

    where in my case, hello.rb is the main ruby file.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm relatively new to scala and made some really simple programs succesfully. However, now
So... I have some little flash graphs I made that pull data from an
I made a little Windows Forms program to do some auto backup of some
I've made a little C# tool for monitoring sidebar.exe (as some know there's a
I made some changes to an open source project without taking time to create
I made some code, for understanding the concept/basic of pointer: int a=1; int *b=&a;
I made some ajax sites in the past where I used ajax to get
It made some errors like this: KDnsCache.cpp: In member function ‘unsigned int KDnsCache::GetName(const char*)’:
I made some Eclipse plugin and update site on Indigo(Eclipse v3.7). I can debug
I've made some graphs in my ASP.Net MVC application using the ASP.Net MSChart control.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.