KathysKode-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2008-Jan-14 16:03 UTC
Help finding "JRE" to run Netbeans in Linux
I''ve spent the last year developing a large Ruby on Rails 2.0 application with over a 100 tables and controllers and hope to be deploying it soon. Before I moved from my Windows XP computer to deployment, I wanted to run it in a local Linux environment to sort out: 1. Amazon S3 files 2. RMagick (went south when I upgraded to Rails 2.0) 3. ARMailer (mail spooling program) I''ve installed Ubuntu 7.10 and feel running the scripts to install Ruby and Rails are reasonable straightforward. I plan to run an Nginx server with multiple Mongrel clusters using Capistrano. What''s killing me is installing a graphic development environment such as Radrails (which I love on Windows XP) or Netbeans. Understand that I''ve been through the routine of installing "sudo apt- get install sun-java6-jre" many times. Once, for some unknown reason my Netbeans 6.0 came up fine (as it found the JRE location on its own), but I was unsure how it happened and elected to re-install my Ubuntu and try again. Anyway, I''m able to install the Netbeans to the point where it asks for the location of the "JRE". The one time that it worked, this value was automatically filled in when Netbeans started for the first time. When I run "java -version" I get the latest 1.6 installation but can''t find out where the "JRE" is located. I''ve looked MANY places. Anyway, I''m desperate to move this project along and am happy to hire someone to consult on this matter. I am grateful for your reply. Kathleen Kennedy KathysKode-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Your Java Runtime Edition should be somewhere in: /usr/java/jre1.6.0_??/ It MIGHT instead be somewhere around here: /usr/lib/jvm/java-6-sun-1.6.0.00 If that doesn''t work... then I''m out of ideas, ^_^ -Ryan On Jan 14, 10:03 am, "KathysK...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <KathysK...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve spent the last year developing a large Ruby on Rails 2.0 > application with over a 100 tables and controllers and hope to be > deploying it soon. > Before I moved from my Windows XP computer to deployment, I wanted to > run it in a local Linux environment to sort out: > 1. Amazon S3 files > 2. RMagick (went south when I upgraded to Rails 2.0) > 3. ARMailer (mail spooling program) > > I''ve installed Ubuntu 7.10 and feel running the scripts to install > Ruby and Rails are reasonable straightforward. I plan to run an Nginx > server with multiple Mongrel clusters using Capistrano. > What''s killing me is installing a graphic development environment such > as Radrails (which I love on Windows XP) or Netbeans. > Understand that I''ve been through the routine of installing "sudo apt- > get install sun-java6-jre" many times. Once, for some unknown reason > my Netbeans 6.0 came up fine (as it found the JRE location on its > own), but I was unsure how it happened and elected to re-install my > Ubuntu and try again. > Anyway, I''m able to install the Netbeans to the point where it asks > for the location of the "JRE". The one time that it worked, this value > was automatically filled in when Netbeans started for the first time. > When I run "java -version" I get the latest 1.6 installation but > can''t find out where the "JRE" is located. I''ve looked MANY places. > Anyway, I''m desperate to move this project along and am happy to hire > someone to consult on this matter. > I am grateful for your reply. > Kathleen Kennedy > KathysK...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
> On Jan 14, 10:03 am, "KathysK...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <KathysK...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote:> > Understand that I''ve been through the routine of installing "sudo apt- > > get install sun-java6-jre" many times...which I previously pointed out is the wrong approach. But maybe you''re just a glutton for punishment :-) whatever.> > Anyway, I''m able to install the Netbeans to the point where it asks > > for the location of the "JRE". The one time that it worked, this value > > was automatically filled in when Netbeans started for the first time. > > When I run "java -version" I get the latest 1.6 installationSo what does running `which java` produce? Have you tried the `find` command at all? Again, you wouldn''t be wasting time on this if you installed using the simple, straightforward Sun installer. FWIW, -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Netbeans requires JDK not JRE. You will need the java sdk download rather than the runtime. -A -----Original Message----- From: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of Hassan Schroeder Sent: Monday, January 14, 2008 9:10 AM To: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Subject: [Rails] Re: Help finding "JRE" to run Netbeans in Linux> On Jan 14, 10:03 am, "KathysK...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <KathysK...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote:> > Understand that I''ve been through the routine of installing "sudo apt- > > get install sun-java6-jre" many times...which I previously pointed out is the wrong approach. But maybe you''re just a glutton for punishment :-) whatever.> > Anyway, I''m able to install the Netbeans to the point where it asks > > for the location of the "JRE". The one time that it worked, this value > > was automatically filled in when Netbeans started for the first time. > > When I run "java -version" I get the latest 1.6 installationSo what does running `which java` produce? Have you tried the `find` command at all? Again, you wouldn''t be wasting time on this if you installed using the simple, straightforward Sun installer. FWIW, -- Hassan Schroeder ------------------------ hassan.schroeder-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Another point. NetBeans 6.0 is not compatible with Rails 2.0. You are using 2.0 right? It seems like you have two options: 1. Install the pre-release version of 6.1 which has everything needed to run Rails 2.0. But Tor warns that since this is a pre-release version, anything goes. 2. Install JRuby 1.0.3 I believe and point NetBeans 6.0 to it. How? I don''t know. I am new to NetBeans and Rails 2.0 myself. Bharat --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
You need the java JDK not the JRE. Also netbeans can be used with the ruby sdk and hence all gems (including rails) that you will be available. You don''t need Jruby and you don''t need 6.1 netbeans. Though the scaffolding would not work because of the change in args. You can however use the console for that. -A -----Original Message----- From: rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of Bharat Sent: Tuesday, January 15, 2008 2:39 PM To: Ruby on Rails: Talk Subject: [Rails] Re: Help finding "JRE" to run Netbeans in Linux Another point. NetBeans 6.0 is not compatible with Rails 2.0. You are using 2.0 right? It seems like you have two options: 1. Install the pre-release version of 6.1 which has everything needed to run Rails 2.0. But Tor warns that since this is a pre-release version, anything goes. 2. Install JRuby 1.0.3 I believe and point NetBeans 6.0 to it. How? I don''t know. I am new to NetBeans and Rails 2.0 myself. Bharat --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---