# JRuby

**URL:** https://www.ruby-forum.com/c/ruby/jruby/23.md

[Latest](https://www.ruby-forum.com/latest.md) · [Categories](https://www.ruby-forum.com/categories.md) · [Tags](https://www.ruby-forum.com/tags.md)

---

## [Android app development](https://www.ruby-forum.com/t/android-app-development/190145)

<div class="topic-metadata">

**Author:** [@luckydev](https://www.ruby-forum.com/u/luckydev)\
**Replies:** 6\
**Last updated:** [December 4, 2024, 11:20am UTC](https://www.ruby-forum.com/t/android-app-development/190145 "2024-12-04T11:20:54Z")

</div>

I am excited about android and its development. I want to start the android development using ruby /Jruby. I have several doubts. With JRuby, will I be writing ruby to create apps for android ? Is JRuby stable enough…

---

## [How to connect to db2 data base](https://www.ruby-forum.com/t/how-to-connect-to-db2-data-base/264080)

<div class="topic-metadata">

**Author:** [@Leonexx](https://www.ruby-forum.com/u/Leonexx)\
**Replies:** 2\
**Last updated:** [July 6, 2023, 8:01pm UTC](https://www.ruby-forum.com/t/how-to-connect-to-db2-data-base/264080 "2023-07-06T20:01:14Z")

</div>

Hi Everyone, Im looking for a way to connect to a DB2 database using the latest versions of Jruby, Rails and ActiveRecord, I already used: activerecord-jdbc-adapter - not longer supports DB2 ibm\_db - works fine, but on…

---

## [Packaging Gems in a Jar File](https://www.ruby-forum.com/t/packaging-gems-in-a-jar-file/245807)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 7\
**Last updated:** [May 7, 2023, 5:30pm UTC](https://www.ruby-forum.com/t/packaging-gems-in-a-jar-file/245807 "2023-05-07T17:30:50Z")

</div>

Sorry, I’ll add the subject line now. :wink: Keith

---

## [Ruby master (bug tracking system) is not sending me a restart password link](https://www.ruby-forum.com/t/ruby-master-bug-tracking-system-is-not-sending-me-a-restart-password-link/263748)

<div class="topic-metadata">

**Author:** [@jgomo3](https://www.ruby-forum.com/u/jgomo3)\
**Replies:** 2\
**Last updated:** [March 31, 2023, 3:44pm UTC](https://www.ruby-forum.com/t/ruby-master-bug-tracking-system-is-not-sending-me-a-restart-password-link/263748 "2023-03-31T15:44:58Z")

</div>

Hello! I wonder if there are some technical issues with the Ruby Master site\[1\]. I forgot my password and I’ve been trying to get a reset link for quite a while, but I don’t get it. \[1\] https://bugs.ruby-lang.org/ , wh…

---

## [Who uses JRuby](https://www.ruby-forum.com/t/who-uses-jruby/224515)

<div class="topic-metadata">

**Author:** [@aris](https://www.ruby-forum.com/u/aris)\
**Replies:** 29\
**Last updated:** [November 28, 2022, 10:02am UTC](https://www.ruby-forum.com/t/who-uses-jruby/224515 "2022-11-28T10:02:36Z")

</div>

Hi, I’m preparing a presentation to make a case for JRuby. I hope to find some list of companies that use it. The more enterprise level the list the better since that’s the main space we deal with. I was not able to f…

---

## [jruby 9.1.12.0 crashed on ubuntu 20.04 while using libcurl](https://www.ruby-forum.com/t/jruby-9-1-12-0-crashed-on-ubuntu-20-04-while-using-libcurl/263282)

<div class="topic-metadata">

**Author:** [@kacanggoreng](https://www.ruby-forum.com/u/kacanggoreng)\
**Replies:** 0\
**Last updated:** [September 23, 2022, 12:59am UTC](https://www.ruby-forum.com/t/jruby-9-1-12-0-crashed-on-ubuntu-20-04-while-using-libcurl/263282 "2022-09-23T00:59:24Z")

</div>

Hi there, I have experienced issues due to running libcurl on jruby 9.1.12.0, here are the logs: # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x00007f80720e2763, pid=52790…

---

## [Using JRuby to learn Java?](https://www.ruby-forum.com/t/using-jruby-to-learn-java/192852)

<div class="topic-metadata">

**Author:** [@audreylee88](https://www.ruby-forum.com/u/audreylee88)\
**Replies:** 8\
**Last updated:** [July 13, 2022, 11:10am UTC](https://www.ruby-forum.com/t/using-jruby-to-learn-java/192852 "2022-07-13T11:10:38Z")

</div>

Hi there list, I want to use JRuby to learn Java. Why? I want to use a popular Java API I found on the net to do … stuff. I want to learn enough Java to get productive with this API I found. But obviously I want to…

---

## [Installing fluentd by Ruby gems on Solaris 10: cc: -W option with unknown program all](https://www.ruby-forum.com/t/installing-fluentd-by-ruby-gems-on-solaris-10-cc-w-option-with-unknown-program-all/262331)

<div class="topic-metadata">

**Author:** [@dklein](https://www.ruby-forum.com/u/dklein)\
**Replies:** 0\
**Last updated:** [December 28, 2021, 3:35pm UTC](https://www.ruby-forum.com/t/installing-fluentd-by-ruby-gems-on-solaris-10-cc-w-option-with-unknown-program-all/262331 "2021-12-28T15:35:51Z")

</div>

gem install fluentd -v “~\> 0.12.0” --no-ri --no-rdoc Building native extensions. This could take a while… ERROR: Error installing fluentd: ERROR: Failed to build gem native extension. /opt/csw/bin/ruby2.0 extconf.rb…

---

## [(suse) use JRuby with eclipse and glimmer](https://www.ruby-forum.com/t/suse-use-jruby-with-eclipse-and-glimmer/165880)

<div class="topic-metadata">

**Author:** [@jolivierld](https://www.ruby-forum.com/u/jolivierld)\
**Replies:** 1\
**Last updated:** [November 24, 2021, 10:48pm UTC](https://www.ruby-forum.com/t/suse-use-jruby-with-eclipse-and-glimmer/165880 "2021-11-24T22:48:27Z")

</div>

hi there! here is my problem : I downloaded eclipse 3.4; then I compiled JRuby from the subversion directory (it ran well), and I installed the RDT plugin; at the first launch, eclipse told me it has detected the JRub…

---

## [No suitable driver found for jdbc:mysql](https://www.ruby-forum.com/t/no-suitable-driver-found-for-jdbc-mysql/244911)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 4\
**Last updated:** [September 24, 2021, 12:48pm UTC](https://www.ruby-forum.com/t/no-suitable-driver-found-for-jdbc-mysql/244911 "2021-09-24T12:48:48Z")

</div>

Hi, I am a new jruby user. I am using jruby-complete-1.7.11 I have got a script which is connecting to MySQL db and fetching some data. While executing I am getting error “No suitable driver found for jdbc:mysql” N…

---

## [Intercept reads/writes to underlying TCPSocket](https://www.ruby-forum.com/t/intercept-reads-writes-to-underlying-tcpsocket/261811)

<div class="topic-metadata">

**Author:** [@cormono](https://www.ruby-forum.com/u/cormono)\
**Replies:** 0\
**Last updated:** [September 10, 2021, 8:30am UTC](https://www.ruby-forum.com/t/intercept-reads-writes-to-underlying-tcpsocket/261811 "2021-09-10T08:30:35Z")

</div>

I’m thinking of playing around with raw bytes SSLSocket sends into underlying TCPSocket. In order to do that, I decided to patch TCPSocket methods in the way shown below. However, the overridden methods were not invoked. …

---

## [How can I set JRUBY\_OPTS In jruby 9.1.9.0](https://www.ruby-forum.com/t/how-can-i-set-jruby-opts-in-jruby-9-1-9-0/261257)

<div class="topic-metadata">

**Author:** [@shubham-jain](https://www.ruby-forum.com/u/shubham-jain)\
**Replies:** 4\
**Last updated:** [May 8, 2021, 4:26pm UTC](https://www.ruby-forum.com/t/how-can-i-set-jruby-opts-in-jruby-9-1-9-0/261257 "2021-05-08T16:26:05Z")

</div>

Hi all, Please let me know how to set JRUBY\_OPTS in logstash which is using jruby 9.1.9.0 version.how can I set jruby\_opts for controlling jruby heap memory which is default 500 mb, I need to control by setting it low a…

---

## [Get creative with ruby-processing](https://www.ruby-forum.com/t/get-creative-with-ruby-processing/260973)

<div class="topic-metadata">

**Author:** [@monkstone](https://www.ruby-forum.com/u/monkstone)\
**Replies:** 3\
**Last updated:** [February 20, 2021, 4:09pm UTC](https://www.ruby-forum.com/t/get-creative-with-ruby-processing/260973 "2021-02-20T16:09:34Z")

</div>

If you like to code in ruby, you can create processing sketches by installing one of the following ruby-processing gems:- On raspberryPI (32 or 64 bit) PiCrate Or for something more like jashkenas ruby-processing JRuby…

---

## [Java::OracleSql::CLOB to text/string](https://www.ruby-forum.com/t/java-clob-to-text-string/260318)

<div class="topic-metadata">

**Author:** [@HansS](https://www.ruby-forum.com/u/HansS)\
**Replies:** 3\
**Last updated:** [October 2, 2020, 12:46pm UTC](https://www.ruby-forum.com/t/java-clob-to-text-string/260318 "2020-10-02T12:46:03Z")

</div>

I am using ojdbc8-19.3.0.0.jar and create connection to an Oracle database. connection = java.sql.DriverManager.getConnection(“jdbc:oracle:thin:@” + connect\_string, user,password ) statement = connection.create\_sta…

---

## [Best Tool Integrated Jruby GUI framework](https://www.ruby-forum.com/t/best-tool-integrated-jruby-gui-framework/228706)

<div class="topic-metadata">

**Author:** [@chas](https://www.ruby-forum.com/u/chas)\
**Replies:** 7\
**Last updated:** [September 15, 2020, 4:53pm UTC](https://www.ruby-forum.com/t/best-tool-integrated-jruby-gui-framework/228706 "2020-09-15T16:53:45Z")

</div>

Hi, been doing Jruby for server side purposes however I now have a project which entails a desktop GUI and mobile app. I do like Apache Flex but want to keep especially client side domain logic in Ruby and thus I’m th…

---

## [Running sql queris with snowflake](https://www.ruby-forum.com/t/running-sql-queris-with-snowflake/260196)

<div class="topic-metadata">

**Author:** [@sunilkumarnagoore](https://www.ruby-forum.com/u/sunilkumarnagoore)\
**Replies:** 4\
**Last updated:** [September 1, 2020, 5:22am UTC](https://www.ruby-forum.com/t/running-sql-queris-with-snowflake/260196 "2020-09-01T05:22:27Z")

</div>

i have writen a code to connect snowflake i have a query one sql\_query = “copy into table1 from table2” like this query i am unable to run i am getting below error Malformed SQL Statement: Unexpected token encount…

---

## [Non-Java Related jRuby GUI Builder](https://www.ruby-forum.com/t/non-java-related-jruby-gui-builder/228702)

<div class="topic-metadata">

**Author:** [@angeloflight](https://www.ruby-forum.com/u/angeloflight)\
**Replies:** 28\
**Last updated:** [June 3, 2020, 7:07am UTC](https://www.ruby-forum.com/t/non-java-related-jruby-gui-builder/228702 "2020-06-03T07:07:21Z")

</div>

I’ve been looking for a set of tools for rapid GUI development in jRuby and everywhere I look, I get Swing, AWT and other Java-related tools. I learnt jRuby coz I was pretty much fed up with the excessively verbose Ja…

---

## [Desktop JRuby Application](https://www.ruby-forum.com/t/desktop-jruby-application/241502)

<div class="topic-metadata">

**Author:** [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Replies:** 9\
**Last updated:** [June 3, 2020, 7:03am UTC](https://www.ruby-forum.com/t/desktop-jruby-application/241502 "2020-06-03T07:03:04Z")

</div>

Since using the standard Ruby MRI seemed to be more trouble than it’s worth, I figured it should be easier to accomplish my task in JRuby. I want to run it past some people what my goals are and what I intend to use. …

---

## [Complex system command output is suppressed when jruby is executed from GlassFish](https://www.ruby-forum.com/t/complex-system-command-output-is-suppressed-when-jruby-is-executed-from-glassfish/252870)

<div class="topic-metadata">

**Author:** [@annabackiyam](https://www.ruby-forum.com/u/annabackiyam)\
**Replies:** 0\
**Last updated:** [August 13, 2019, 10:13pm UTC](https://www.ruby-forum.com/t/complex-system-command-output-is-suppressed-when-jruby-is-executed-from-glassfish/252870 "2019-08-13T22:13:57Z")

</div>

\#!/usr/local/bin/ruby IO.popen(’( dbus-uuidgen \> /var/lib/dbus/machine-id ; /usr/bin/Xvnc -rfbauth /etc/hosts & export DISPLAY=:0 ; ( /usr/bin/firefox & ) \> /dev/null 2\>&1 ; sleep 5 ; /usr/bin/killall firefox ; /usr…

---

## [How to implement java interface in jruby 9.2.7.0](https://www.ruby-forum.com/t/how-to-implement-java-interface-in-jruby-9-2-7-0/252767)

<div class="topic-metadata">

**Author:** [@SyedBhai81](https://www.ruby-forum.com/u/SyedBhai81)\
**Replies:** 0\
**Last updated:** [July 23, 2019, 11:13am UTC](https://www.ruby-forum.com/t/how-to-implement-java-interface-in-jruby-9-2-7-0/252767 "2019-07-23T11:13:43Z")

</div>

Hi there, I have a ruby script as follows: class MyScript # Import the interface required by the Script snap. include com.snaplogic.scripting.language.ScriptHook attr\_reader :log, :input, :output, :error def initia…

---

## [Jruby "RuntimeHelpers" class is depricated](https://www.ruby-forum.com/t/jruby-runtimehelpers-class-is-depricated/244739)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [July 22, 2019, 1:14pm UTC](https://www.ruby-forum.com/t/jruby-runtimehelpers-class-is-depricated/244739 "2019-07-22T13:14:15Z")

</div>

I am having a project based on JRuby on rails, now I am migrating this project to jruby-9.0.5.0 version. In the code, ruby is called from Java file as shown below: String source = new StringBuilder(“require ‘java’\\n” …

---

## [JRuby and Java Reflection](https://www.ruby-forum.com/t/jruby-and-java-reflection/252485)

<div class="topic-metadata">

**Author:** [@Pauloo27](https://www.ruby-forum.com/u/Pauloo27)\
**Replies:** 0\
**Last updated:** [May 25, 2019, 9:23pm UTC](https://www.ruby-forum.com/t/jruby-and-java-reflection/252485 "2019-05-25T21:23:15Z")

</div>

Hello, I’m new to JRuby so don’t roast me, plzz. I’m using a Java lib that have a method that gets Class parameter. In Java I can do something like: lib.method(MyClass.class); I want to the same with JRuby. First, i…

---

## [Need to hire a java/ruby/jruby web application developer (Boston)](https://www.ruby-forum.com/t/need-to-hire-a-java-ruby-jruby-web-application-developer-boston/153536)

<div class="topic-metadata">

**Author:** [@stepheneb](https://www.ruby-forum.com/u/stepheneb)\
**Replies:** 4\
**Last updated:** [November 18, 2008, 7:11pm UTC](https://www.ruby-forum.com/t/need-to-hire-a-java-ruby-jruby-web-application-developer-boston/153536 "2008-11-18T19:11:30Z")

</div>

At 7:48 AM +0100 11/18/08, Charles Oliver N. wrote: Go ahead and post to the list, and prefix with “Charlie suggested I post…” so nobody gives you a hard time. :wink: We’re looking to find a senior web developer wi…

---

## [Kryptcore load error in production, Rails 4.2](https://www.ruby-forum.com/t/kryptcore-load-error-in-production-rails-4-2/245029)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [August 19, 2016, 12:50pm UTC](https://www.ruby-forum.com/t/kryptcore-load-error-in-production-rails-4-2/245029 "2016-08-19T12:50:47Z")

</div>

I have updated to Rails 4.2.7.1 from Rails 4.1, and now get an error when going into console mode, but only with production. This works fine: rails c This worked fine in Rails 4.1, but now fails: rails c production …

---

## [Jruby 9000 and cpaybara throws exception](https://www.ruby-forum.com/t/jruby-9000-and-cpaybara-throws-exception/244615)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [May 12, 2016, 11:40pm UTC](https://www.ruby-forum.com/t/jruby-9000-and-cpaybara-throws-exception/244615 "2016-05-12T23:40:36Z")

</div>

after executing the feature spec, it throws the below exception. right after executing the line visit login\_path the exception raises, but still spec continues and pass technical stack jruby 9000 capybara webkit 1.3…

---

## [Uninitialized Constant WIN32OLE](https://www.ruby-forum.com/t/uninitialized-constant-win32ole/244341)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 1\
**Last updated:** [March 30, 2016, 2:54pm UTC](https://www.ruby-forum.com/t/uninitialized-constant-win32ole/244341 "2016-03-30T14:54:18Z")

</div>

I am trying to use WIN32OLE gem available in jar file; build according to Nick’s blog: http://blog.nicksieger.com/articles/2009/01/10/jruby-1-1-6-gems-in-a-jar/ I added the path of the jar file at top of the script l…

---

## [What version is this JRuby?](https://www.ruby-forum.com/t/what-version-is-this-jruby/244230)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 1\
**Last updated:** [March 15, 2016, 10:39am UTC](https://www.ruby-forum.com/t/what-version-is-this-jruby/244230 "2016-03-15T10:39:55Z")

</div>

I am trying to debug logstash-2.2.2 in Eclipse, and I cannot figure out the version of JRuby that came with it. Does below output say 1.7.23, or 1.9.3? c:\\workspace\\logstash\\vendor\\jruby\\bin\>jruby.exe --version jruby…

---

## [Deployment in the land JRuby and Rails](https://www.ruby-forum.com/t/deployment-in-the-land-jruby-and-rails/243841)

<div class="topic-metadata">

**Author:** [@Sadaf\_N](https://www.ruby-forum.com/u/Sadaf_N)\
**Replies:** 0\
**Last updated:** [January 15, 2016, 9:12pm UTC](https://www.ruby-forum.com/t/deployment-in-the-land-jruby-and-rails/243841 "2016-01-15T21:12:45Z")

</div>

I need to fully automate my JRuby in Rails application. The continuous integration server will be Jenkins. I am pretty new to doing the continuous integration side of things, but on this new project there is no one …

---

## [JRuby much slower on this benchmark](https://www.ruby-forum.com/t/jruby-much-slower-on-this-benchmark/243814)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 6\
**Last updated:** [January 13, 2016, 5:36pm UTC](https://www.ruby-forum.com/t/jruby-much-slower-on-this-benchmark/243814 "2016-01-13T17:36:44Z")

</div>

On the Fast-Ruby site someone submitted a pull request for the benchmark below. I ran it on JRuby 9.0.4.0, MRI 2.3.0, and Rubinius 2.5.2. On MRI and Rubinius it produces comparable results (SET.include? is fastest) bu…

---

## [Is there a nicer way to call Ruby method from Java?](https://www.ruby-forum.com/t/is-there-a-nicer-way-to-call-ruby-method-from-java/243827)

<div class="topic-metadata">

**Author:** [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Replies:** 0\
**Last updated:** [January 13, 2016, 2:58pm UTC](https://www.ruby-forum.com/t/is-there-a-nicer-way-to-call-ruby-method-from-java/243827 "2016-01-13T14:58:57Z")

</div>

I have in my Java class a variable of type IRubyObject, which actually points to a RubyObject: // Java RubyObject ro = get\_it\_from\_somewhere(); .... IRubyObject iro = ro; The RubyObject holds an object of some Ruby cl…

[Next page](https://www.ruby-forum.com/c/ruby/jruby/23.md?page=1)
