Return-Path: X-Original-To: apmail-spark-user-archive@minotaur.apache.org Delivered-To: apmail-spark-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 12DEC186E8 for ; Wed, 14 Oct 2015 20:20:10 +0000 (UTC) Received: (qmail 17676 invoked by uid 500); 14 Oct 2015 20:19:58 -0000 Delivered-To: apmail-spark-user-archive@spark.apache.org Received: (qmail 17570 invoked by uid 500); 14 Oct 2015 20:19:58 -0000 Mailing-List: contact user-help@spark.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list user@spark.apache.org Received: (qmail 17560 invoked by uid 99); 14 Oct 2015 20:19:58 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Oct 2015 20:19:58 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 6B965C0257 for ; Wed, 14 Oct 2015 20:19:58 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.121 X-Spam-Level: X-Spam-Status: No, score=-0.121 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id 8soMUGhmwhgE for ; Wed, 14 Oct 2015 20:19:57 +0000 (UTC) Received: from mail-vk0-f41.google.com (mail-vk0-f41.google.com [209.85.213.41]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 968B723062 for ; Wed, 14 Oct 2015 20:19:57 +0000 (UTC) Received: by vkex70 with SMTP id x70so29948159vke.3 for ; Wed, 14 Oct 2015 13:19:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Mni/b2NUyMajwyR+JGJmRduqTgfXDNXy6vhAobwx5Qk=; b=CW4RIFR59xU9U+9091jdbxckIin2ONkpQdLsnI0Fi4SgyG7RGhxrwCg3thxJzRcqh/ BT2BaYEwhSDX9gOGpIjrteyS3Ru5ddmhmsx5JJy9cYqLwKOKho0EO9IW0sPgYHK4bJAJ 3IYF87B3ux9qRk/RL3d735bzHqR+UuTbfqsqqEtJApdePkC92nr6Q8Len/L5W4PIkMde ifOi9eN/T95YQ1HwmDf6U78Q3iSfwuWAm+E2In8Zqi0mAyYceeFQBx5ugdnF2Dy3llsx 6awdWvSzyelFSVvMMGJWLaLovytA+K7OO2gDPLHu3trUoUx76k46LJSQzijTpsaSmcWz gfWQ== MIME-Version: 1.0 X-Received: by 10.31.11.1 with SMTP id 1mr3105949vkl.119.1444853996713; Wed, 14 Oct 2015 13:19:56 -0700 (PDT) Received: by 10.103.106.3 with HTTP; Wed, 14 Oct 2015 13:19:56 -0700 (PDT) Date: Wed, 14 Oct 2015 13:19:56 -0700 Message-ID: Subject: spark-shell :javap fails with complaint about JAVA_HOME, but it is set correctly From: Robert Dodier To: user@spark.apache.org Content-Type: text/plain; charset=UTF-8 Hi, I am working with Spark 1.5.1 (official release), with Oracle Java8, on Ubuntu 14.04. echo $JAVA_HOME says "/usr/lib/jvm/java-8-oracle". I'd like to use :javap in spark-shell, but I get an error message: scala> :javap java.lang.Object Failed: Could not load javap tool. Check that JAVA_HOME is correct. However ls $JAVA_HOME/lib/tools.jar shows that it is there. I tried starting spark-shell with -toolcp $JAVA_HOME/lib/tools.jar but I get the same error. For comparison, if execute scala and enter :javap java.lang.Object, it works as expected. Not sure where to go from here. Thanks for any advice. best, Robert Dodier --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@spark.apache.org For additional commands, e-mail: user-help@spark.apache.org