24
Dec 09

Eclipse in ZenWalk

If you try a default install of Eclipse in Zenwalk you will probably get an error about Eclipse not being able to find java's path:

A Java Runtime Environment (JRE) or Java Development Kit (JDK)
must be available in order to run Eclipse. No Java virtual machine

was found after searching the following locations:

/usr/lib/eclipse-3.4.1/jre/bin/java

java in your current PATH

A Java Runtime Environment (JRE) or Java Development Kit (JDK)must be available in order to run Eclipse. No Java virtual machinewas found after searching the following locations:/usr/lib/eclipse-3.4.1/jre/bin/javajava in your current PATH

Of course, you will have to install JRE (or JDE) first. For this purpose simply use netpkg to install 'jre'. However, this will not help and you will have to add the following symlink:

# ln -s /usr/lib/java/ /usr/lib/eclipse-3.4.1/jre

After that Eclipse will be working perfectly fine on your Zenwalk :)