« Return to Thread: NetBeans 6.5 and JRuby 1.2.0

Re: NetBeans 6.5 and JRuby 1.2.0

by emononen :: Rate this Message:

Reply to Author | View in Thread

Hi Lars,

Glad to hear you found a way to add it.

I apparently forgot to reply to this thread earlier (the other thread
about a similar issue got me to forgot this one). Anyway, what I wanted
to reply is that the log file could help us tracking down the problem,
so if you have the time please turn on detailed logging
(http://wiki.netbeans.org/FaqRubyNBLogging), reproduce the issue and
send the log file to me. The root cause here seems to be something else
than in the other thread.

Thanks,
Erno


Lars Frantzen wrote:

> 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@...
>
>  


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

 « Return to Thread: NetBeans 6.5 and JRuby 1.2.0