<legend id='5mmFH'><style id='5mmFH'><dir id='5mmFH'><q id='5mmFH'></q></dir></style></legend>

        <tfoot id='5mmFH'></tfoot>

        <small id='5mmFH'></small><noframes id='5mmFH'>

      1. <i id='5mmFH'><tr id='5mmFH'><dt id='5mmFH'><q id='5mmFH'><span id='5mmFH'><b id='5mmFH'><form id='5mmFH'><ins id='5mmFH'></ins><ul id='5mmFH'></ul><sub id='5mmFH'></sub></form><legend id='5mmFH'></legend><bdo id='5mmFH'><pre id='5mmFH'><center id='5mmFH'></center></pre></bdo></b><th id='5mmFH'></th></span></q></dt></tr></i><div id='5mmFH'><tfoot id='5mmFH'></tfoot><dl id='5mmFH'><fieldset id='5mmFH'></fieldset></dl></div>
        • <bdo id='5mmFH'></bdo><ul id='5mmFH'></ul>
      2. 如何在 Ubuntu 中设置 Java 环境路径

        How to set Java environment path in Ubuntu(如何在 Ubuntu 中设置 Java 环境路径)
      3. <tfoot id='CGNwk'></tfoot>

      4. <small id='CGNwk'></small><noframes id='CGNwk'>

              <tbody id='CGNwk'></tbody>

                <bdo id='CGNwk'></bdo><ul id='CGNwk'></ul>
                <i id='CGNwk'><tr id='CGNwk'><dt id='CGNwk'><q id='CGNwk'><span id='CGNwk'><b id='CGNwk'><form id='CGNwk'><ins id='CGNwk'></ins><ul id='CGNwk'></ul><sub id='CGNwk'></sub></form><legend id='CGNwk'></legend><bdo id='CGNwk'><pre id='CGNwk'><center id='CGNwk'></center></pre></bdo></b><th id='CGNwk'></th></span></q></dt></tr></i><div id='CGNwk'><tfoot id='CGNwk'></tfoot><dl id='CGNwk'><fieldset id='CGNwk'></fieldset></dl></div>
                <legend id='CGNwk'><style id='CGNwk'><dir id='CGNwk'><q id='CGNwk'></q></dir></style></legend>
                • 本文介绍了如何在 Ubuntu 中设置 Java 环境路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我刚刚在 Ubuntu 中使用 sudo apt-get install openjdk-6-jdk 命令安装了 JDK,安装后Java bin 目录在哪里?以及如何设置该目录的环境路径?我对 Ubuntu 没有什么经验,谁能给点建议或推荐任何好的网站以供参考?

                  I just installed JDK in Ubuntu with sudo apt-get install openjdk-6-jdk command, after the installation where's the Java bin directory located? And how can I set the environment path for that directory? I have little experience with Ubuntu, can anyone give some advice or suggest any good website for reference?

                  推荐答案

                  设置环境变量如下

                  编辑系统路径文件/etc/profile

                  Edit the system Path file /etc/profile

                  sudo gedit /etc/profile
                  

                  在末尾添加以下行

                  JAVA_HOME=/usr/lib/jvm/jdk1.7.0
                  PATH=$PATH:$HOME/bin:$JAVA_HOME/bin
                  export JAVA_HOME
                  export JRE_HOME
                  export PATH
                  

                  然后注销并登录 ubuntu 以设置路径...

                  Then Log out and Log in ubuntu for setting up the paths...

                  这篇关于如何在 Ubuntu 中设置 Java 环境路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  How to send data to COM PORT using JAVA?(如何使用 JAVA 向 COM PORT 发送数据?)
                  How to make a report page direction to change to quot;rtlquot;?(如何使报表页面方向更改为“rtl?)
                  Use cyrillic .properties file in eclipse project(在 Eclipse 项目中使用西里尔文 .properties 文件)
                  Is there any way to detect an RTL language in Java?(有没有办法在 Java 中检测 RTL 语言?)
                  How to load resource bundle messages from DB in Java?(如何在 Java 中从 DB 加载资源包消息?)
                  How do I change the default locale settings in Java to make them consistent?(如何更改 Java 中的默认语言环境设置以使其保持一致?)

                    • <i id='oNhLi'><tr id='oNhLi'><dt id='oNhLi'><q id='oNhLi'><span id='oNhLi'><b id='oNhLi'><form id='oNhLi'><ins id='oNhLi'></ins><ul id='oNhLi'></ul><sub id='oNhLi'></sub></form><legend id='oNhLi'></legend><bdo id='oNhLi'><pre id='oNhLi'><center id='oNhLi'></center></pre></bdo></b><th id='oNhLi'></th></span></q></dt></tr></i><div id='oNhLi'><tfoot id='oNhLi'></tfoot><dl id='oNhLi'><fieldset id='oNhLi'></fieldset></dl></div>

                        <legend id='oNhLi'><style id='oNhLi'><dir id='oNhLi'><q id='oNhLi'></q></dir></style></legend>
                        • <bdo id='oNhLi'></bdo><ul id='oNhLi'></ul>
                          <tfoot id='oNhLi'></tfoot>
                            <tbody id='oNhLi'></tbody>

                            <small id='oNhLi'></small><noframes id='oNhLi'>