« Return to Thread: NetBeans 6.5 and JRuby 1.2.0

Re: NetBeans 6.5 and JRuby 1.2.0

by Lars Frantzen :: Rate this Message:

Reply to Author | View in Thread

Hi,

I could fix it by manually adding the JRuby 1.2.0 platform. Something
seems to go wrong when doing the autodetect.

Cheers,
Lars

Erno Mononen wrote:

Lars Frantzen wrote:

> Hi Erno,
>
> thanks for the reply.
>
> Erno Mononen wrote:
>> Can you try whether the following works from the command line:
>>
>> <jruby-1.2.0 install dir>bin/jruby -v
>
> yes, it is installed in /usr/local/jruby-1.2.0/ and there is a symlink
> to the jruby executable in /usr/local/bin.
>
> I get:
>
> jruby -v
> jruby 1.2.0 (ruby 1.8.6 patchlevel 287) (2009-03-16 rev 9419) [amd64-java]
>
> Cheers,
> Lars
>
>>
>> Erno
>>
>>
>>
>> Lars Frantzen wrote:
>>> Hello,
>>>
>>> I installed JRuby on my Ubuntu laptop and used the 'Autodetect
>>> Platforms' feature of NetBeans to detect it, which seemed to work fine.
>>>
>>> But when I try to run a JRuby project I get:
>>>
>>> Exception in thread "main" java.lang.NoClassDefFoundError: org/jruby/Main
>>> Caused by: java.lang.ClassNotFoundException: org.jruby.Main
>>> ...
>>>
>>> Would be happy for every hint!
>>>
>>> Cheers,
>>> Lars
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: users-unsubscribe@...
>>> For additional commands, e-mail: users-help@...
>>>
>>>  
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@...
>> For additional commands, e-mail: users-help@...
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@...
> For additional commands, e-mail: users-help@...
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@...
For additional commands, e-mail: users-help@...

 « Return to Thread: NetBeans 6.5 and JRuby 1.2.0