LucidDB 0.9.3 Installation Issue under Ubuntu 10.04

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

LucidDB 0.9.3 Installation Issue under Ubuntu 10.04

Vishal Belsare
I am trying to install LucidDB on an Ubuntu machine. Untar'ing the
archive, and trying to run the install script led to an error about
the Java virtual machine being incorrect. I was using the IcedTea
OpenJDK, instead of Sun's JRE.
Thinking that this might the issue, I installed Sun' JRE, and set it
as the default JRE, and confirmed that by using 'which java' and 'java
-version'. Showed up fine. Edited, /etc/environment to set JAVA_HOME
to /usr/lib/jvm/java-6-sun and confirmed that by an echo $JAVA_HOME,
which shows correctly.

-----
vishal@goedel:/opt/luciddb-0.9.3/install$ sudo echo $JAVA_HOME
/usr/lib/jvm/java-6-sun

vishal@goedel:/opt/luciddb-0.9.3/install$ which java
/usr/bin/java

vishal@goedel:/opt/luciddb-0.9.3/install$ sudo java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
-----

However, when I try to run install.sh, I see the following message:
--
vishal@goedel:/opt/luciddb-0.9.3/install$ sudo ./install.sh
The JAVA_HOME environment variable must be set to the location
of a version 1.6 or higher JVM.
--

I'd appreciate suggestions to fix this. Thanks.


Best wishes,
Vishal Belsare

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
luciddb-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luciddb-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: LucidDB 0.9.3 Installation Issue under Ubuntu 10.04

John Sichi
Administrator
What do you get back from this command?

sudo export $JAVA_HOME

The install script does this:

if [ -z "$JAVA_HOME" ]; then
    echo "The JAVA_HOME environment variable must be set to the location"
    echo "of a version 1.6 or higher JVM."
    exit 1;
fi

So somehow JAVA_HOME is not visible inside the script, which usually
means it is set but not exported.

JVS

On Thu, Feb 24, 2011 at 12:26 PM, Vishal Belsare
<[hidden email]> wrote:

> I am trying to install LucidDB on an Ubuntu machine. Untar'ing the
> archive, and trying to run the install script led to an error about
> the Java virtual machine being incorrect. I was using the IcedTea
> OpenJDK, instead of Sun's JRE.
> Thinking that this might the issue, I installed Sun' JRE, and set it
> as the default JRE, and confirmed that by using 'which java' and 'java
> -version'. Showed up fine. Edited, /etc/environment to set JAVA_HOME
> to /usr/lib/jvm/java-6-sun and confirmed that by an echo $JAVA_HOME,
> which shows correctly.
>
> -----
> vishal@goedel:/opt/luciddb-0.9.3/install$ sudo echo $JAVA_HOME
> /usr/lib/jvm/java-6-sun
>
> vishal@goedel:/opt/luciddb-0.9.3/install$ which java
> /usr/bin/java
>
> vishal@goedel:/opt/luciddb-0.9.3/install$ sudo java -version
> java version "1.6.0_24"
> Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
> Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)
> -----
>
> However, when I try to run install.sh, I see the following message:
> --
> vishal@goedel:/opt/luciddb-0.9.3/install$ sudo ./install.sh
> The JAVA_HOME environment variable must be set to the location
> of a version 1.6 or higher JVM.
> --
>
> I'd appreciate suggestions to fix this. Thanks.
>
>
> Best wishes,
> Vishal Belsare
>
> ------------------------------------------------------------------------------
> Free Software Download: Index, Search & Analyze Logs and other IT data in
> Real-Time with Splunk. Collect, index and harness all the fast moving IT data
> generated by your applications, servers and devices whether physical, virtual
> or in the cloud. Deliver compliance at lower cost and gain new business
> insights. http://p.sf.net/sfu/splunk-dev2dev
> _______________________________________________
> luciddb-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/luciddb-users
>

------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev 
_______________________________________________
luciddb-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/luciddb-users
Loading...