# Troubleshooting Ruby, Netbeans, sqljdbc

**URL:** <https://www.ruby-forum.com/t/troubleshooting-ruby-netbeans-sqljdbc/163467>\
**Category:** Ruby\
**Created:** [March 20, 2009, 5:32pm UTC](https://www.ruby-forum.com/t/troubleshooting-ruby-netbeans-sqljdbc/163467 "2009-03-20T17:32:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tabassman](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/9de0a6/32.png) [@tabassman](https://www.ruby-forum.com/u/tabassman)\
**Post date:** [March 20, 2009, 5:32pm UTC](https://www.ruby-forum.com/t/troubleshooting-ruby-netbeans-sqljdbc/163467/1 "2009-03-20T17:32:14Z")

</div>

Hello everyone,  
I posting this after doing a good deal of unsuccessful researches.

I am running windows with ruby 2.3.2 and working with netbeans. I just  
switch my project from running on the built-in ruby of nb, and now the  
application give me this weird error:  
…ruby/lib/ruby/gems/1.8/gems/activerecord-2.3.2/lib/active\_record/connection\_adapters/abstract/connection\_specification.rb:76:in  
`establish_connection': Please install the jdbc adapter:`gem install  
activerecord-jdbc-adapter` (no such file to load – java) (RuntimeError)

I have installed activerecord-jdbc-adapter 0.9.1 and I get the same  
error. I downloaded the sqljdbc.jar but I don’t know where to place it!  
I read somewhere that it needs to be in the lib folder. Can anyone who  
knows be more specific? last time I checked there were about 16 lib  
folder within the ruby folder!

I have the same problem on a Mac running Leopard, so I believe it has to  
do with the jar file, but donÂ´t take my word for it. If you have any  
idea please let me know! My brain hurts !

Thank you
