JAVAC and JPS are not present in /usr/lib/jvm/java-8-openjdk-amd64/bin folder











up vote
2
down vote

favorite
1












Below is the java I installed in ubuntu 16.04, but I am unable to find Javac and Jps in this. Can someone help how to get them.



$ java -version    
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11)
OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)

$ update-alternatives --get-selections | grep java
java auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
jexec auto /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jexec
jjs auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/jjs
keytool auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
orbd auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/orbd
pack200 auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/pack200
rmid auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmid
rmiregistry auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmiregistry
servertool auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/servertool
tnameserv auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/tnameserv
unpack200 auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/unpack200


I am unable to see JPS and JAVAC. Can anyone help?










share|improve this question




























    up vote
    2
    down vote

    favorite
    1












    Below is the java I installed in ubuntu 16.04, but I am unable to find Javac and Jps in this. Can someone help how to get them.



    $ java -version    
    openjdk version "1.8.0_131"
    OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11)
    OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)

    $ update-alternatives --get-selections | grep java
    java auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
    jexec auto /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jexec
    jjs auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/jjs
    keytool auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
    orbd auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/orbd
    pack200 auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/pack200
    rmid auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmid
    rmiregistry auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmiregistry
    servertool auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/servertool
    tnameserv auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/tnameserv
    unpack200 auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/unpack200


    I am unable to see JPS and JAVAC. Can anyone help?










    share|improve this question


























      up vote
      2
      down vote

      favorite
      1









      up vote
      2
      down vote

      favorite
      1






      1





      Below is the java I installed in ubuntu 16.04, but I am unable to find Javac and Jps in this. Can someone help how to get them.



      $ java -version    
      openjdk version "1.8.0_131"
      OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11)
      OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)

      $ update-alternatives --get-selections | grep java
      java auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
      jexec auto /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jexec
      jjs auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/jjs
      keytool auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
      orbd auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/orbd
      pack200 auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/pack200
      rmid auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmid
      rmiregistry auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmiregistry
      servertool auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/servertool
      tnameserv auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/tnameserv
      unpack200 auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/unpack200


      I am unable to see JPS and JAVAC. Can anyone help?










      share|improve this question















      Below is the java I installed in ubuntu 16.04, but I am unable to find Javac and Jps in this. Can someone help how to get them.



      $ java -version    
      openjdk version "1.8.0_131"
      OpenJDK Runtime Environment (build 1.8.0_131-8u131-b11-0ubuntu1.16.04.2-b11)
      OpenJDK 64-Bit Server VM (build 25.131-b11, mixed mode)

      $ update-alternatives --get-selections | grep java
      java auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
      jexec auto /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/jexec
      jjs auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/jjs
      keytool auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/keytool
      orbd auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/orbd
      pack200 auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/pack200
      rmid auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmid
      rmiregistry auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/rmiregistry
      servertool auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/servertool
      tnameserv auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/tnameserv
      unpack200 auto /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/unpack200


      I am unable to see JPS and JAVAC. Can anyone help?







      openjdk






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Jun 13 '17 at 15:53









      muru

      135k19289491




      135k19289491










      asked Jun 13 '17 at 15:01









      chandrapvs

      1113




      1113






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote













          How did you install java 8?



          Perhaps you installed only JRE?



          sudo apt-get install openjdk-8-jre


          This will install java run time environment, typically in:



          /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java


          When you should have done:



          sudo apt-get install openjdk-8-jdk


          Which shall install compiler in (usually):



          /usr/lib/jvm/java-8-openjdk-amd64/bin/javac


          If you can't get openjdk to work you can try Oracles java via www.webupd8.org



          sudo add-apt-repository ppa:webupd8team/java
          sudo apt-get update
          sudo apt-get install oracle-java8-installer


          That results in:



          java -version
          java version "1.8.0_131"
          Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
          Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)<br>


          which javac
          /usr/bin/javac



          Which links to:



            /usr/lib/jvm/java-8-oracle/bin/javac





          share|improve this answer























          • (When you should have done: sudo apt-get install openjdk-8-jdk) I installed the same, but no luck. I am not seeing either Javac or JPS.
            – chandrapvs
            Jun 14 '17 at 0:46




















          up vote
          0
          down vote













          I resolved the issue by running the below command, simply installing all the java packages.



          sudo apt-get install openjdk-8*


          Wish I'd done it in the first place. Thanks all for your replies.






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "89"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f924987%2fjavac-and-jps-are-not-present-in-usr-lib-jvm-java-8-openjdk-amd64-bin-folder%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote













            How did you install java 8?



            Perhaps you installed only JRE?



            sudo apt-get install openjdk-8-jre


            This will install java run time environment, typically in:



            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java


            When you should have done:



            sudo apt-get install openjdk-8-jdk


            Which shall install compiler in (usually):



            /usr/lib/jvm/java-8-openjdk-amd64/bin/javac


            If you can't get openjdk to work you can try Oracles java via www.webupd8.org



            sudo add-apt-repository ppa:webupd8team/java
            sudo apt-get update
            sudo apt-get install oracle-java8-installer


            That results in:



            java -version
            java version "1.8.0_131"
            Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
            Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)<br>


            which javac
            /usr/bin/javac



            Which links to:



              /usr/lib/jvm/java-8-oracle/bin/javac





            share|improve this answer























            • (When you should have done: sudo apt-get install openjdk-8-jdk) I installed the same, but no luck. I am not seeing either Javac or JPS.
              – chandrapvs
              Jun 14 '17 at 0:46

















            up vote
            1
            down vote













            How did you install java 8?



            Perhaps you installed only JRE?



            sudo apt-get install openjdk-8-jre


            This will install java run time environment, typically in:



            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java


            When you should have done:



            sudo apt-get install openjdk-8-jdk


            Which shall install compiler in (usually):



            /usr/lib/jvm/java-8-openjdk-amd64/bin/javac


            If you can't get openjdk to work you can try Oracles java via www.webupd8.org



            sudo add-apt-repository ppa:webupd8team/java
            sudo apt-get update
            sudo apt-get install oracle-java8-installer


            That results in:



            java -version
            java version "1.8.0_131"
            Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
            Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)<br>


            which javac
            /usr/bin/javac



            Which links to:



              /usr/lib/jvm/java-8-oracle/bin/javac





            share|improve this answer























            • (When you should have done: sudo apt-get install openjdk-8-jdk) I installed the same, but no luck. I am not seeing either Javac or JPS.
              – chandrapvs
              Jun 14 '17 at 0:46















            up vote
            1
            down vote










            up vote
            1
            down vote









            How did you install java 8?



            Perhaps you installed only JRE?



            sudo apt-get install openjdk-8-jre


            This will install java run time environment, typically in:



            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java


            When you should have done:



            sudo apt-get install openjdk-8-jdk


            Which shall install compiler in (usually):



            /usr/lib/jvm/java-8-openjdk-amd64/bin/javac


            If you can't get openjdk to work you can try Oracles java via www.webupd8.org



            sudo add-apt-repository ppa:webupd8team/java
            sudo apt-get update
            sudo apt-get install oracle-java8-installer


            That results in:



            java -version
            java version "1.8.0_131"
            Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
            Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)<br>


            which javac
            /usr/bin/javac



            Which links to:



              /usr/lib/jvm/java-8-oracle/bin/javac





            share|improve this answer














            How did you install java 8?



            Perhaps you installed only JRE?



            sudo apt-get install openjdk-8-jre


            This will install java run time environment, typically in:



            /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java


            When you should have done:



            sudo apt-get install openjdk-8-jdk


            Which shall install compiler in (usually):



            /usr/lib/jvm/java-8-openjdk-amd64/bin/javac


            If you can't get openjdk to work you can try Oracles java via www.webupd8.org



            sudo add-apt-repository ppa:webupd8team/java
            sudo apt-get update
            sudo apt-get install oracle-java8-installer


            That results in:



            java -version
            java version "1.8.0_131"
            Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
            Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)<br>


            which javac
            /usr/bin/javac



            Which links to:



              /usr/lib/jvm/java-8-oracle/bin/javac






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Jun 13 '17 at 17:49









            xavier_fakerat

            13719




            13719










            answered Jun 13 '17 at 17:23









            user2071943

            514




            514












            • (When you should have done: sudo apt-get install openjdk-8-jdk) I installed the same, but no luck. I am not seeing either Javac or JPS.
              – chandrapvs
              Jun 14 '17 at 0:46




















            • (When you should have done: sudo apt-get install openjdk-8-jdk) I installed the same, but no luck. I am not seeing either Javac or JPS.
              – chandrapvs
              Jun 14 '17 at 0:46


















            (When you should have done: sudo apt-get install openjdk-8-jdk) I installed the same, but no luck. I am not seeing either Javac or JPS.
            – chandrapvs
            Jun 14 '17 at 0:46






            (When you should have done: sudo apt-get install openjdk-8-jdk) I installed the same, but no luck. I am not seeing either Javac or JPS.
            – chandrapvs
            Jun 14 '17 at 0:46














            up vote
            0
            down vote













            I resolved the issue by running the below command, simply installing all the java packages.



            sudo apt-get install openjdk-8*


            Wish I'd done it in the first place. Thanks all for your replies.






            share|improve this answer



























              up vote
              0
              down vote













              I resolved the issue by running the below command, simply installing all the java packages.



              sudo apt-get install openjdk-8*


              Wish I'd done it in the first place. Thanks all for your replies.






              share|improve this answer

























                up vote
                0
                down vote










                up vote
                0
                down vote









                I resolved the issue by running the below command, simply installing all the java packages.



                sudo apt-get install openjdk-8*


                Wish I'd done it in the first place. Thanks all for your replies.






                share|improve this answer














                I resolved the issue by running the below command, simply installing all the java packages.



                sudo apt-get install openjdk-8*


                Wish I'd done it in the first place. Thanks all for your replies.







                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Dec 1 at 15:38









                Zanna

                49.4k13127236




                49.4k13127236










                answered Jun 14 '17 at 1:32









                chandrapvs

                1113




                1113






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Ask Ubuntu!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f924987%2fjavac-and-jps-are-not-present-in-usr-lib-jvm-java-8-openjdk-amd64-bin-folder%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Quarter-circle Tiles

                    build a pushdown automaton that recognizes the reverse language of a given pushdown automaton?

                    Mont Emei