`
liyixing1
  • 浏览: 938182 次
  • 性别: Icon_minigender_1
  • 来自: 江西上饶
社区版块
存档分类
最新评论

Neither the JAVA_HOME nor the JRE_HOME environment variable is defined

阅读更多
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
我已经编辑了/etc/profile,source过profile,但是依然读取不了,实际上就是当前用户的环境没有生效
其实最终的原因就是环境变量没有生效。

编辑我的.bashrc

我的用户是liyixing

cd /home/liyixing
vi .bashrc

source .bashrc
分享到:
评论

相关推荐

    Kubuntu下安装配置Tomcat

    错误1:Neither the JAVA_HOME nor the JRE_HOME environment variable is defined At least one of these environment variable is needed to run this program 错误2: Neither the JAVA_HOME nor the JRE_HOME ...

    Neither_Snow_Nor_Rain_Nor_MITM_._._._An_Empirical_Analysis_of

    Neither_Snow_Nor_Rain_Nor_MITM_ 红蓝对抗 安全对抗 业务安全 安全威胁 金融安全

    Java邮件开发Fundamentals of the JavaMail API

    addition, you will need a development environment such as the JDK 1.1.6+ or the Java 2 Platform, Standard Edition (J2SE) 1.2.x or 1.3.x. A general familiarity with object-oriented programming ...

    2009 达内Unix学习笔记

    集合了 所有的 Unix命令大全 ...telnet 192.168.0.23 自己帐号 sd08077-you0 ftp工具 192.168.0.202 tools-toolss ... 各个 shell 可互相切换 ksh:$ sh:$ csh:guangzhou% bash:bash-3.00$ ... 命令和参数之间必需用空格隔...

    Java+structs快速学习指南

    notEmpty Evaluate the nested body content of this tag if the requested variable is neither null nor an empty string. notEqual Evaluate the nested body content of this tag if the requested variable is ...

    Addison.Wesley.The.Java.Programming.Language.4th.Edition.Aug.2005.chm

    That said, this book is neither a comparative analysis nor a "bridge" tutorialno knowledge of C or C++ is assumed. C++ programmers, especially, may be as hindered by what they must unlearn as they ...

    SSD7 选择题。Multiple-Choice

    (b) the name of the table, the names of the table's attributes, the data types of the table's attributes, the formats of the table's attributes, and the maximum number of rows that the table can have...

    The irrationals: a story of the numbers you can't count on

    The ancient Greeks discovered them, but it wasn't until the nineteenth century that irrational numbers were properly understood and rigorously defined, and even today not all their mysteries have been...

    so nor neither的用法总结PPT学习教案.pptx

    so nor neither的用法总结PPT学习教案.pptx

    netWindows_0.3.0_pre2

    Neither the names of Licensor, nor the names ofany contributors to the Original Work, nor any of their trademarks or servicemarks, may be used to endorse or promote products derived from this ...

    ACM的一道题--Parenthesize the string

    Notice that the multiplication operation defined by the table is neither associative nor commutative. a b c a b b a b c b a c a c c Find an efficient algorithm that examines a string of these ...

    Java Data Science Made Easy

    Neither the authors, nor Packt Publishing, and its dealers and distributors will be held liable for any damages caused or alleged to be caused directly or indirectly by this course. Packt Publishing ...

    a project model for the FreeBSD Project.7z

    It is well defined what issues the hat should be contacted about by the project members and people outside the project. 2.4. Outcome An “outcome” is the final output of the process. This is ...

    The Princeton Companion To Mathematics

    the two propositions, and neither p nor q contains any constants except logical constants. And logical constants are all notions definable in terms of the following: Implication, the relation of a ...

    Neither...nor的用法小结.doc

    Neither...nor的用法小结.doc

    The use of Bayes and causal modelling in decision making, uncertainty and risk

    Neither the data-driven nor the risk register approaches are able to model dependencies between different risk factors. Causal probabilistic models (called Bayesian networks) that are based on ...

    unrxlib_275_u_1_0_13

    the author(s) nor anybody connected to this software in any way can assume any responsibility. * All rights held by the author(s) or owner(s) of units or documents. _______________________________...

    delphixe10 RxLib_For_RX10插件

    the author(s) nor anybody connected to this software in any way can assume any responsibility. * All rights held by the author(s) or owner(s) of units or documents. _______________________________...

    Springer Mathematical Aspects of Computer and Information Sciences

    Neither the publisher nor the authors or the editors give a warranty, express or implied, with respect to the material contained herein or for any errors or omissions that may have been made. The ...

    The C++ Standard Library of the current C++23 standard

    C++23 and C++17 are neither a big nor small C++ standards. C++14 is a small addition to C++11. C++11 had more than 1,300 pages and was published in 2011. That was 13 years after the first and only C++...

Global site tag (gtag.js) - Google Analytics