Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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'

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- 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 Jun 11 '11 at 11:42

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

What is the value of your JAVA_HOME environment variable? – Mat Jun 11 '11 at 7:07
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

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:

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .