Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

i wanna 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, im 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 ensure 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 im confident is the absolute link to jre installed.

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

Please help. tks 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

2 Answers 2

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 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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.