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:
- Amazon S3 files
- RMagick (went south when I upgraded to Rails 2.0)
- 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
[email protected]
Hi,
I dont know if anyone answered you but I believe its found in
/usr/lib/jvm/java-6-sun/jre
Regards,
Jose.
On Jan 14, 2008 11:05 AM, [email protected] [email protected]
wrote:
I’ve installed Ubuntu 7.10 and feel running the scripts to install
for the location of the “JRE”. The one time that it worked, this value
–
“Eppure si muove”
Jose,
My question turned out to be a ‘trick question’ as I found out that I
must install the JDK and NOT the JDR to work with Netbeans on Ubuntu
7.10.
I am always amazed how the community seems to leave these LOCKED DOORS
with no explanation. If you’re tasked with such an endeavor, please
feel free to contact me.
Thank you,
Kathleen
That’s the unsaid open source credo: “Open but you have to work for
it”
On Jan 15, 3:33 pm, “[email protected]” [email protected]
Next time try running ‘which java’.
On ubuntu ‘which java’ will return /usr/bin/java which is a symlink to
/etc/alternatives/java on ubuntu
This mechanism allows multipe jre/jdks to be installed. You can list,
and set what the version of java is being used with update-alternatives
update-alternatives --list java
The output should look like something like this depending on versions
installed.
/usr/lib/jvm/java-1.5.0-sun/jre/bin/java
/usr/lib/jvm/java-6-sun/jre/bin/java
/usr/bin/gij-4.2
/usr/lib/jvm/java-gcj/jre/bin/java
/usr/bin/gij-4.1
You can then set which one to use as follows
sudo update-alternatives --set java
/usr/lib/jvm/java-1.5.0-sun/jre/bin/java
Afterwards java -version returns
java version “1.5.0_13”
Java™ 2 Runtime Environment, Standard Edition (build 1.5.0_13-b05)
Java HotSpot™ Server VM (build 1.5.0_13-b05, mixed mode)
I hope this helps.
Regards,
John
[email protected] wrote:
Anyway, I’m able to install the Netbeans to the point where it asks
–
“Eppure si muove”- Hide quoted text -
http://maps.google.com/maps/ms?ie=UTF8&hl=en&msa=0&ll=53.40462,-6.364946&spn=0.033004,0.11467&z=14&om=1&msid=116685921175017216102.0004394bd4ce4dfebdfc3