Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Unable to locate Java. Please set JAVA_HOME environment variable.

Discussion in 'General Discussion' started by WebHostPro, Oct 15, 2008.

  1. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,651
    Likes Received:
    15
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    I'm trying to install red5 and t need paths and I think variables to Java

    Anyone know this?

    When i ry to install I ge this: Unable to locate Java. Please set JAVA_HOME environment variable.

    I untared it in the opt folder

    Thanks,

    Charles
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,651
    Likes Received:
    15
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    anyone installed red5 with cpanel? or at least know the path to Java Tomcat
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. amr ahmed

    amr ahmed Registered

    Joined:
    Aug 9, 2006
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    151
  4. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,651
    Likes Received:
    15
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    tomcat is installed from cpanel easy apache installs it.

    that was uses java, there is only one way to install this through cpanel.

    I guess I need a support ticket to cpanel. just seems so simple if someone has done it yet.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,651
    Likes Received:
    15
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    errr, this is so lame
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. arunsv84

    arunsv84 Well-Known Member

    Joined:
    Oct 20, 2008
    Messages:
    373
    Likes Received:
    1
    Trophy Points:
    68
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    Please follow the steps listed...

    You can locate java using the command " whereis java"

    edit .bash_profile file in your home direcory and append the lines.
    Code:
    
    export JAVA_HOME="/path/to/java/home"
    export PATH="/path/to/java/bin:$PATH"
    
    
    You can check the path using the command "echo $JAVA_HOME"

    Hope this helps...:)

    Please refer the links listed below if u hav any doubts....

    http://ubuntuforums.org/archive/index.php/t-111783.html

    http://forums.fedoraforum.org/showthread.php?t=85446

    http://www.mail-archive.com/slide-user@jakarta.apache.org/msg12820.html

    http://forums.sun.com/thread.jspa?threadID=567732
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice