JRuby 1.5.0 picking and Java classpath

Hi,

Has anyone had problems with JRuby 1.5.0 picking up the Java classpath?

My classpath is:

CLASSPATH=C:\jruby-1.5.0.RC1\lib\ojdbc14-10.2.0.4.0.jar

The Oracle JDBC is located within the path, but I am receiving:

java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:

I am positive that this worked in 1.4x

Cheers

Aidy


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

aidy lewis wrote:

Hi,

Has anyone had problems with JRuby 1.5.0 picking up the Java classpath?

My classpath is:

CLASSPATH=C:\jruby-1.5.0.RC1\lib\ojdbc14-10.2.0.4.0.jar

The Oracle JDBC is located within the path, but I am receiving:

java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:

I am positive that this worked in 1.4x

Cheers

Aidy


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Hey Aidy … I’m having the same problems at this thread:
Jruby 1.5 require 'sqljdbc.jar' no longer working - JRuby - Ruby-Forum … Charles Nutter has
responded so I’m hoping he’s looking into it and will get back to me
there.

You should try it with JRuby 1.5.0 final also. There were significant
changes from RC1 to final release.

Uwe

On May 14, 2010, at 7:52 PM, Christopher Dancy wrote:


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


With kind regards
Uwe K.
Kubosch Consulting
[email protected]


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Hi,

I am using the JRuby 1.5.0 (Final Release) and find that it picks up any
JDBC drivers I place into the “lib” folder without having to name them
in the CLASSPATH.

Regards
Matthew W.

On 15/05/2010, at 8:36 AM, Uwe K. wrote:

I am positive that this worked in 1.4x

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Hi Aidy,

I’ve posted a workaround for similar issue here:
http://www.ruby-forum.com/topic/209741#912610

Could you please try and let us know if that resolved the problem for
you?

Thanks,
–Vladimir

On Fri, May 14, 2010 at 6:39 PM, aidy lewis [email protected]
wrote:

java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:
http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Hi Guys,

I have installed JRuby 1.5.0 final

CLASSPATH=C:\jruby-1.5.0\lib\ojdbc14-10.2.0.4.0.jar

/* the jar is in the above dir */

However when I run my tests:

java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:

Thanks

Aidy

On 16 May 2010 09:25, Vladimir S. [email protected] wrote:

On Fri, May 14, 2010 at 6:39 PM, aidy lewis [email protected] wrote:

java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:
http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Hi Vladimir,

You workaround works though.

Perhaps that is why it is called - a workaround.

Aidy

On 17 May 2010 15:36, aidy lewis [email protected] wrote:

java.sql.SQLException: No suitable driver found for jdbc:oracle:thin:

I’ve posted a workaround for similar issue here:

Has anyone had problems with JRuby 1.5.0 picking up the Java classpath?


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email