GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - arton/rjb: Ruby Java Bridge

BranchesTags
Open more actions menu

Latest commit

 

History

264 Commits
264 Commits

Folders and files

NameName
Last commit message
Last commit date
data/rjb/jp/co/infoseek/hp/arton/rjb
data/rjb/jp/co/infoseek/hp/arton/rjb
 
 
ext
ext
 
 
lib
lib
 
 
samples
samples
 
 
test
test
 
 
.gitattributes
.gitattributes
 
 
COPYING
COPYING
 
 
ChangeLog
ChangeLog
 
 
README.md
README.md
 
 
Rakefile
Rakefile
 
 
pre-install.rb
pre-install.rb
 
 
readme.sj
readme.sj
 
 
readme.txt
readme.txt
 
 
rjb.gemspec
rjb.gemspec
 
 
rjb.rake
rjb.rake
 
 
setup.rb
setup.rb
 
 

Repository files navigation

Rjb is Ruby-Java bridge using Java Native Interface.

The Ruby Kaigi 2010 Presentation on Rjb.

A short introduction in English.

Some examples in Japanese, but the source code is clear for everybody.

How to install

You need to install Java2 sdk, and setup JAVA_HOME enviromental varible except for OS X. I assume that OS X's JAVA_HOME is reported by calling /usr/libexec/java_home.

This done please proceed with:

ruby setup.rb config
ruby setup.rb setup
# (in Unix)
sudo ruby setup.rb install

or

# (in win32)
ruby setup.rb install

How to test

On Windows based machines:

cd test
ruby test.rb

On Unix based machines plese see test/readme.unix. You need to set LD_LIBRARY_PATH environmental variable to run rjb.

Notice for opening non-ASCII 7bit filename

If you'll plan to open the non-ascii character named file by Java class through Rjb, it may require to set LC_ALL environment variable in your script.

For example in Rails, set above line in production.rb as your environment:

ENV['LC_ALL'] = 'en_us.utf8' # or ja_JP.utf8 etc.

cf: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=4733494 (Thanks Paul for this information).

Contact

[email protected]

About

Ruby Java Bridge

www.artonx.org/collabo/backyard/?RubyJavaBridge

Resources

Readme
LGPL-2.1 license
Activity

Stars

121 stars

Watchers

11 watching

Forks

34 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.