`

No Java compiler available

    博客分类:
  • hive
 
阅读更多

现在要做的就是添加apache ant的编译工具,不安装则会报错

 

 

Problem accessing /hwi/. Reason:

    No Java compiler available

安装方法不做介绍了,网上很多。

安装完后需要设置path:

设置ANT_LIB路径
            export ANT_LIB=/usr/lib/apache-ant-1.9.0/lib

,但是这个方法不好使,需要把

  • ant-launcher.jar
  • ant.jar

这两个jar包拷贝到$HIVE_HOME/lib下,才能使用。

 

cp opt/jdk/tools.jar /home/hadoop/hive/lib/

 

后台运行hwi:
$ nohup /home/work/hive/hive-0.8.1/bin/hive --service hwi &

分享到:
评论

相关推荐

    2、Java代码审计环境搭建

    在“Window”菜单中选择“Preferences”,找到“Java” -> “Installed JREs”,点击“Add”添加本地JDK路径,然后在“Compiler”中设置编译版本。 为了进行Web应用的开发和测试,我们需要将Eclipse与Apache Tomcat...

    jdk-9.0.1_doc-all 最新版

    The Java Development Kit (JDK) APIs are specific to the JDK and will not necessarily be available in all implementations of the Java SE Platform. These APIs are in modules whose names start with jdk....

    javacv-platform-1.3.3-src

    Another option available for Scala users is sbt-javacv. Required Software To use JavaCV, you will first need to download and install the following software: An implementation of Java SE 7 or newer...

    java英文笔试

    **Example Answer**: To write a program that sorts elements, you can use various sorting algorithms available in Java, such as `Arrays.sort()`, `Collections.sort()`, or implement your own sorting logic...

    centos7.9 gcc和gcc-c++所需依赖

    在CentOS 7.9操作系统中,安装GCC(GNU Compiler Collection)和GCC-C++是进行C和C++编程的基础。GCC是一套集成了C、C++、Fortran、Objective-C等语言编译器的工具集合,而GCC-C++则专注于C++的编译。在离线环境下...

    tomcat-7_API_帮助文档

    compiler from the JDK to compile JSPs, or any other Java compiler supported by Apache Ant. ============== API Stability: ============== The public interfaces for the following classes are fixed and ...

    Visual.C++.NET托管扩展编程英文版

    The concept of a runtime is not new to Microsoft technologies—Visual Basic applications have always carried around the baggage of the Visual Basic runtime, and Microsoft’s foray into Java brought ...

    Professional Assembly Language

    oper tools, such as an optimizing compiler, an assembler, a linker, and a debugger, all at little or no charge. This wealth of development tools in the Linux environment makes it the perfect setting...

    maven 常见错误集合

    [WARNING] The POM for org.apache.plugins:maven-source-plugin:jar:2.4 is missing, no dependency information available ``` 这可能是因为以下原因: - **网络问题**:网络连接不稳定,导致Maven无法访问远程...

    aarch64-linux-android-4.9(windows-64位)

    开发者通常会用到NDK工具链来编译C或C++库,这些库可以被Java代码通过JNI(Java Native Interface)调用,以提升性能或利用硬件特性。 压缩包中的“mips64el-linux-android-4.9”虽然不在标题中,但表明这个包也...

    android lint performance probe帮助.zip

    TopDownAnalyzerFacadeForJVM is essentially the entry point into the Kotlin compiler, so it is a good proxy for how much time is spent upfront analyzing a Kotlin module before Lint detectors can start....

    JSP Simple Examples

    The compiler provides us with a default constructor to the class having no arguments. Abstract classes We does not make a object of the abstract class. This class must be inherited. Unlike ...

    Literate programming, Why

    2. **Tool Support**: While tools like TeX and Noweb are available, they may not be as widely supported as traditional development environments. 3. **Adoption**: Widespread adoption of literate ...

    Unix solaris 11.1 iso最新版本

    Oracle Enterprise Manager Ops Center is available to Oracle Solaris customers at no additional cost under the Ops Center Everywhere Program. Oracle Solaris Studio delivers the latest in compiler ...

    Hello.Android.4th.Edition

    Many other mobile platforms are available on the market today, including iOS, Windows, Tizen, Firefox OS, and more. So why do people choose Android over the others? What’s the difference? Although ...

    tomcat-8_API

    * ecj-4.4.jar (Eclipse JDT Java compiler) * el-api.jar (EL 3.0 API) * jasper.jar (Jasper 2 Compiler and Runtime) * jasper-el.jar (Jasper 2 EL implementation) * jsp-api.jar (JSP 2.3 API) * servlet-api....

    Google C++ Style Guide(Google C++编程规范)高清PDF

    The definition of an inline function needs to be in a header file, so that the compiler has the definition available for inlining at the call sites. However, implementation code properly belongs in ....

    UE(官方下载)

    Java compiler Create a custom user tool to compile Java code, using the command line, from within UltraEdit Configure UltraEdit with javascript lint How to check your JavaScript source code for common...

Global site tag (gtag.js) - Google Analytics