# Inheritance problem

**URL:** <https://www.ruby-forum.com/t/inheritance-problem/162515>\
**Category:** Rails\
**Created:** [March 10, 2009, 7:29pm UTC](https://www.ruby-forum.com/t/inheritance-problem/162515 "2009-03-10T19:29:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mahmoud\_cs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e56c9b/32.png) [@mahmoud\_cs](https://www.ruby-forum.com/u/mahmoud_cs)\
**Post date:** [March 10, 2009, 7:29pm UTC](https://www.ruby-forum.com/t/inheritance-problem/162515/1 "2009-03-10T19:29:36Z")

</div>

i create java class and i want to create ruby class and inherit from  
this java class

---

<div class="post-metadata">

**Author:** ![mahmoud\_cs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e56c9b/32.png) [@mahmoud\_cs](https://www.ruby-forum.com/u/mahmoud_cs)\
**Post date:** [March 10, 2009, 7:37pm UTC](https://www.ruby-forum.com/t/inheritance-problem/162515/2 "2009-03-10T19:37:51Z")

</div>

> i create java class and i want to create ruby class and inherit from  
> this java class

You just need to write an adapter in c# and you should be all set.

SH

---

<div class="post-metadata">

**Author:** ![mahmoud\_cs](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/e56c9b/32.png) [@mahmoud\_cs](https://www.ruby-forum.com/u/mahmoud_cs)\
**Post date:** [March 10, 2009, 8:57pm UTC](https://www.ruby-forum.com/t/inheritance-problem/162515/3 "2009-03-10T20:57:25Z")

</div>

JRuby can do what you’re asking. You should go post the question to the  
JRuby mailing list and ask for links to basic tutorials which should  
generally cover this kind of thing.
