Uploaded image for project: 'Apache Gearpump'
  1. Apache Gearpump
  2. GEARPUMP-353

Start cluster can not work when install Java in custom directory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      When I installed java in my custom directory by "jdk-8u121-linux-x64.tar.gz" file, java -verion command is right to perform, then executed start-cluster.sh command,I got some error like this:
      "which: no javac in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
      which: no java in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin)
      Error: JAVA_HOME is not defined correctly.
      We cannot execute "
      I had already installed the Java,Why perform the which command? Why JAVA_HOME is not defined correctly?

      Attachments

        Activity

          People

            Unassigned Unassigned
            Xuetong Zhu Xuetong Zhu
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: