installing SubVersion on Linux












0















I want to install Subversion Edge on Linux. I've downloaded CollabNetSubversionEdge-1.3.3_linux-x86.tar.gz from here and I'm following the instruction from here



When I execute bin/csvn start on the terminal, I'm getting this error:




Unable to start CSVN Console: no Java executable found

Please make sure the variable JAVA_HOME is defined in your environment




I've already ensured that JRE is installed by doing the following:



>> locate 'bin/java'
/usr/bin/java
/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/bin/java
*/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java
/usr/lib/openoffice.org/ure/bin/javaldx


I've made the necessary changes with the instructions from here and here



I've changed the JAVA_PATH and JRE_PATH to /usr/local/bin/java which is a softlink to /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java which I'm confident is the absolute link to the JRE installed.



After making those changes, I've restarted my computer. I tried to execute bin/csvn start, but I am still getting the same error.



Please help. Thanks in advance










share|improve this question















migrated from stackoverflow.com Jun 11 '11 at 11:42


This question came from our site for professional and enthusiast programmers.











  • 2





    What is the value of your JAVA_HOME environment variable?

    – Mat
    Jun 11 '11 at 7:07






  • 2





    also, what is output of java -version

    – bbaja42
    Jun 11 '11 at 7:23











  • hi, echo $JAVA_HOME = /usr/local/bin/java. And the java -version is [root@localhost ~]# java -version java version "1.6.0_17" OpenJDK Runtime Environment (IcedTea6 1.7.10) (rhel-1.20.b17.el5-i386) OpenJDK Client VM (build 14.0-b16, mixed mode)

    – nuttynibbles
    Jun 11 '11 at 8:02
















0















I want to install Subversion Edge on Linux. I've downloaded CollabNetSubversionEdge-1.3.3_linux-x86.tar.gz from here and I'm following the instruction from here



When I execute bin/csvn start on the terminal, I'm getting this error:




Unable to start CSVN Console: no Java executable found

Please make sure the variable JAVA_HOME is defined in your environment




I've already ensured that JRE is installed by doing the following:



>> locate 'bin/java'
/usr/bin/java
/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/bin/java
*/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java
/usr/lib/openoffice.org/ure/bin/javaldx


I've made the necessary changes with the instructions from here and here



I've changed the JAVA_PATH and JRE_PATH to /usr/local/bin/java which is a softlink to /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java which I'm confident is the absolute link to the JRE installed.



After making those changes, I've restarted my computer. I tried to execute bin/csvn start, but I am still getting the same error.



Please help. Thanks in advance










share|improve this question















migrated from stackoverflow.com Jun 11 '11 at 11:42


This question came from our site for professional and enthusiast programmers.











  • 2





    What is the value of your JAVA_HOME environment variable?

    – Mat
    Jun 11 '11 at 7:07






  • 2





    also, what is output of java -version

    – bbaja42
    Jun 11 '11 at 7:23











  • hi, echo $JAVA_HOME = /usr/local/bin/java. And the java -version is [root@localhost ~]# java -version java version "1.6.0_17" OpenJDK Runtime Environment (IcedTea6 1.7.10) (rhel-1.20.b17.el5-i386) OpenJDK Client VM (build 14.0-b16, mixed mode)

    – nuttynibbles
    Jun 11 '11 at 8:02














0












0








0








I want to install Subversion Edge on Linux. I've downloaded CollabNetSubversionEdge-1.3.3_linux-x86.tar.gz from here and I'm following the instruction from here



When I execute bin/csvn start on the terminal, I'm getting this error:




Unable to start CSVN Console: no Java executable found

Please make sure the variable JAVA_HOME is defined in your environment




I've already ensured that JRE is installed by doing the following:



>> locate 'bin/java'
/usr/bin/java
/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/bin/java
*/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java
/usr/lib/openoffice.org/ure/bin/javaldx


I've made the necessary changes with the instructions from here and here



I've changed the JAVA_PATH and JRE_PATH to /usr/local/bin/java which is a softlink to /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java which I'm confident is the absolute link to the JRE installed.



After making those changes, I've restarted my computer. I tried to execute bin/csvn start, but I am still getting the same error.



Please help. Thanks in advance










share|improve this question
















I want to install Subversion Edge on Linux. I've downloaded CollabNetSubversionEdge-1.3.3_linux-x86.tar.gz from here and I'm following the instruction from here



When I execute bin/csvn start on the terminal, I'm getting this error:




Unable to start CSVN Console: no Java executable found

Please make sure the variable JAVA_HOME is defined in your environment




I've already ensured that JRE is installed by doing the following:



>> locate 'bin/java'
/usr/bin/java
/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre/bin/java
*/usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java
/usr/lib/openoffice.org/ure/bin/javaldx


I've made the necessary changes with the instructions from here and here



I've changed the JAVA_PATH and JRE_PATH to /usr/local/bin/java which is a softlink to /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0/jre/bin/java which I'm confident is the absolute link to the JRE installed.



After making those changes, I've restarted my computer. I tried to execute bin/csvn start, but I am still getting the same error.



Please help. Thanks in advance







java svn jre






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 21 '16 at 22:16









zx485

879713




879713










asked Jun 11 '11 at 7:04









nuttynibblesnuttynibbles

124310




124310




migrated from stackoverflow.com Jun 11 '11 at 11:42


This question came from our site for professional and enthusiast programmers.






migrated from stackoverflow.com Jun 11 '11 at 11:42


This question came from our site for professional and enthusiast programmers.










  • 2





    What is the value of your JAVA_HOME environment variable?

    – Mat
    Jun 11 '11 at 7:07






  • 2





    also, what is output of java -version

    – bbaja42
    Jun 11 '11 at 7:23











  • hi, echo $JAVA_HOME = /usr/local/bin/java. And the java -version is [root@localhost ~]# java -version java version "1.6.0_17" OpenJDK Runtime Environment (IcedTea6 1.7.10) (rhel-1.20.b17.el5-i386) OpenJDK Client VM (build 14.0-b16, mixed mode)

    – nuttynibbles
    Jun 11 '11 at 8:02














  • 2





    What is the value of your JAVA_HOME environment variable?

    – Mat
    Jun 11 '11 at 7:07






  • 2





    also, what is output of java -version

    – bbaja42
    Jun 11 '11 at 7:23











  • hi, echo $JAVA_HOME = /usr/local/bin/java. And the java -version is [root@localhost ~]# java -version java version "1.6.0_17" OpenJDK Runtime Environment (IcedTea6 1.7.10) (rhel-1.20.b17.el5-i386) OpenJDK Client VM (build 14.0-b16, mixed mode)

    – nuttynibbles
    Jun 11 '11 at 8:02








2




2





What is the value of your JAVA_HOME environment variable?

– Mat
Jun 11 '11 at 7:07





What is the value of your JAVA_HOME environment variable?

– Mat
Jun 11 '11 at 7:07




2




2





also, what is output of java -version

– bbaja42
Jun 11 '11 at 7:23





also, what is output of java -version

– bbaja42
Jun 11 '11 at 7:23













hi, echo $JAVA_HOME = /usr/local/bin/java. And the java -version is [root@localhost ~]# java -version java version "1.6.0_17" OpenJDK Runtime Environment (IcedTea6 1.7.10) (rhel-1.20.b17.el5-i386) OpenJDK Client VM (build 14.0-b16, mixed mode)

– nuttynibbles
Jun 11 '11 at 8:02





hi, echo $JAVA_HOME = /usr/local/bin/java. And the java -version is [root@localhost ~]# java -version java version "1.6.0_17" OpenJDK Runtime Environment (IcedTea6 1.7.10) (rhel-1.20.b17.el5-i386) OpenJDK Client VM (build 14.0-b16, mixed mode)

– nuttynibbles
Jun 11 '11 at 8:02










4 Answers
4






active

oldest

votes


















0















I've changed the JAVA_PATH and JRE PATH to ...




Reread those instructions carefully, especially the ones in the second link. The environment variables that need to be set are "JAVA_HOME" and "PATH". (Not "JAVA_PATH" or "JRE PATH" or some other random name.)



And make sure that you "export" the variables, otherwise they will be just shell variables and not environment variables.



Hint: running the command export with no arguments will list all of the environment variables that are in effect for the current shell ... and commands run from the shell.






share|improve this answer































    0














    I would suggest you to install the sun jdk, you can do so by uninstalling first the gcj and the openjdk. The procedure will vary depending on your distro.



    But after that (also depending on your distro) you will need to install the sun jdk.
    In ubuntu, for example you have to do something like:



    sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk


    You will find detailed instructions in:



    http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/






    share|improve this answer































      0














      I found the path to the JRE was enough. I didn't have to dive all the way down to the actual Java binary.



      su - csvn
      export JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64
      /svn/ci/csvn/bin/csvn start





      share|improve this answer

































        0














        What eventually worked for me is setting propper JAVA_HOME in csvn's config file, located in csvn/data/csvn.conf



        # Java environment
        # Minimum version: "1.6", etc. Leave empty if no minimum required
        # JAVA_HOME_CONF points to a file whose first line is exported as the JAVA_HOME when
        # the environment var is not found
        JAVA_REQUIRED=true
        JAVA_REQUIRED_VERSION=1.7
        JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre/





        share|improve this answer























          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "3"
          };
          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',
          autoActivateHeartbeat: false,
          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%2fsuperuser.com%2fquestions%2f295787%2finstalling-subversion-on-linux%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          4 Answers
          4






          active

          oldest

          votes








          4 Answers
          4






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0















          I've changed the JAVA_PATH and JRE PATH to ...




          Reread those instructions carefully, especially the ones in the second link. The environment variables that need to be set are "JAVA_HOME" and "PATH". (Not "JAVA_PATH" or "JRE PATH" or some other random name.)



          And make sure that you "export" the variables, otherwise they will be just shell variables and not environment variables.



          Hint: running the command export with no arguments will list all of the environment variables that are in effect for the current shell ... and commands run from the shell.






          share|improve this answer




























            0















            I've changed the JAVA_PATH and JRE PATH to ...




            Reread those instructions carefully, especially the ones in the second link. The environment variables that need to be set are "JAVA_HOME" and "PATH". (Not "JAVA_PATH" or "JRE PATH" or some other random name.)



            And make sure that you "export" the variables, otherwise they will be just shell variables and not environment variables.



            Hint: running the command export with no arguments will list all of the environment variables that are in effect for the current shell ... and commands run from the shell.






            share|improve this answer


























              0












              0








              0








              I've changed the JAVA_PATH and JRE PATH to ...




              Reread those instructions carefully, especially the ones in the second link. The environment variables that need to be set are "JAVA_HOME" and "PATH". (Not "JAVA_PATH" or "JRE PATH" or some other random name.)



              And make sure that you "export" the variables, otherwise they will be just shell variables and not environment variables.



              Hint: running the command export with no arguments will list all of the environment variables that are in effect for the current shell ... and commands run from the shell.






              share|improve this answer














              I've changed the JAVA_PATH and JRE PATH to ...




              Reread those instructions carefully, especially the ones in the second link. The environment variables that need to be set are "JAVA_HOME" and "PATH". (Not "JAVA_PATH" or "JRE PATH" or some other random name.)



              And make sure that you "export" the variables, otherwise they will be just shell variables and not environment variables.



              Hint: running the command export with no arguments will list all of the environment variables that are in effect for the current shell ... and commands run from the shell.







              share|improve this answer












              share|improve this answer



              share|improve this answer










              answered Jun 11 '11 at 7:32









              Stephen CStephen C

              33726




              33726

























                  0














                  I would suggest you to install the sun jdk, you can do so by uninstalling first the gcj and the openjdk. The procedure will vary depending on your distro.



                  But after that (also depending on your distro) you will need to install the sun jdk.
                  In ubuntu, for example you have to do something like:



                  sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk


                  You will find detailed instructions in:



                  http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/






                  share|improve this answer




























                    0














                    I would suggest you to install the sun jdk, you can do so by uninstalling first the gcj and the openjdk. The procedure will vary depending on your distro.



                    But after that (also depending on your distro) you will need to install the sun jdk.
                    In ubuntu, for example you have to do something like:



                    sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk


                    You will find detailed instructions in:



                    http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/






                    share|improve this answer


























                      0












                      0








                      0







                      I would suggest you to install the sun jdk, you can do so by uninstalling first the gcj and the openjdk. The procedure will vary depending on your distro.



                      But after that (also depending on your distro) you will need to install the sun jdk.
                      In ubuntu, for example you have to do something like:



                      sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk


                      You will find detailed instructions in:



                      http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/






                      share|improve this answer













                      I would suggest you to install the sun jdk, you can do so by uninstalling first the gcj and the openjdk. The procedure will vary depending on your distro.



                      But after that (also depending on your distro) you will need to install the sun jdk.
                      In ubuntu, for example you have to do something like:



                      sudo apt-get install sun-java6-bin sun-java6-jre sun-java6-jdk


                      You will find detailed instructions in:



                      http://www.cyberciti.biz/faq/howto-ubuntu-linux-install-configure-jdk-jre/







                      share|improve this answer












                      share|improve this answer



                      share|improve this answer










                      answered Jul 6 '11 at 2:46









                      Jaime HablutzelJaime Hablutzel

                      1013




                      1013























                          0














                          I found the path to the JRE was enough. I didn't have to dive all the way down to the actual Java binary.



                          su - csvn
                          export JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64
                          /svn/ci/csvn/bin/csvn start





                          share|improve this answer






























                            0














                            I found the path to the JRE was enough. I didn't have to dive all the way down to the actual Java binary.



                            su - csvn
                            export JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64
                            /svn/ci/csvn/bin/csvn start





                            share|improve this answer




























                              0












                              0








                              0







                              I found the path to the JRE was enough. I didn't have to dive all the way down to the actual Java binary.



                              su - csvn
                              export JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64
                              /svn/ci/csvn/bin/csvn start





                              share|improve this answer















                              I found the path to the JRE was enough. I didn't have to dive all the way down to the actual Java binary.



                              su - csvn
                              export JAVA_HOME=/usr/lib/jvm/jre-1.7.0-openjdk.x86_64
                              /svn/ci/csvn/bin/csvn start






                              share|improve this answer














                              share|improve this answer



                              share|improve this answer








                              edited Nov 21 '16 at 20:44









                              3498DB

                              15.7k114762




                              15.7k114762










                              answered Nov 21 '16 at 20:23









                              MichaelMichael

                              1




                              1























                                  0














                                  What eventually worked for me is setting propper JAVA_HOME in csvn's config file, located in csvn/data/csvn.conf



                                  # Java environment
                                  # Minimum version: "1.6", etc. Leave empty if no minimum required
                                  # JAVA_HOME_CONF points to a file whose first line is exported as the JAVA_HOME when
                                  # the environment var is not found
                                  JAVA_REQUIRED=true
                                  JAVA_REQUIRED_VERSION=1.7
                                  JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre/





                                  share|improve this answer




























                                    0














                                    What eventually worked for me is setting propper JAVA_HOME in csvn's config file, located in csvn/data/csvn.conf



                                    # Java environment
                                    # Minimum version: "1.6", etc. Leave empty if no minimum required
                                    # JAVA_HOME_CONF points to a file whose first line is exported as the JAVA_HOME when
                                    # the environment var is not found
                                    JAVA_REQUIRED=true
                                    JAVA_REQUIRED_VERSION=1.7
                                    JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre/





                                    share|improve this answer


























                                      0












                                      0








                                      0







                                      What eventually worked for me is setting propper JAVA_HOME in csvn's config file, located in csvn/data/csvn.conf



                                      # Java environment
                                      # Minimum version: "1.6", etc. Leave empty if no minimum required
                                      # JAVA_HOME_CONF points to a file whose first line is exported as the JAVA_HOME when
                                      # the environment var is not found
                                      JAVA_REQUIRED=true
                                      JAVA_REQUIRED_VERSION=1.7
                                      JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre/





                                      share|improve this answer













                                      What eventually worked for me is setting propper JAVA_HOME in csvn's config file, located in csvn/data/csvn.conf



                                      # Java environment
                                      # Minimum version: "1.6", etc. Leave empty if no minimum required
                                      # JAVA_HOME_CONF points to a file whose first line is exported as the JAVA_HOME when
                                      # the environment var is not found
                                      JAVA_REQUIRED=true
                                      JAVA_REQUIRED_VERSION=1.7
                                      JAVA_HOME=/usr/lib/jvm/java-7-openjdk-amd64/jre/






                                      share|improve this answer












                                      share|improve this answer



                                      share|improve this answer










                                      answered Dec 24 '18 at 9:42









                                      Aleksandar PavićAleksandar Pavić

                                      25127




                                      25127






























                                          draft saved

                                          draft discarded




















































                                          Thanks for contributing an answer to Super User!


                                          • 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%2fsuperuser.com%2fquestions%2f295787%2finstalling-subversion-on-linux%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

                                          Plaza Victoria

                                          Puebla de Zaragoza

                                          Musa