Dear visitor, welcome to KDE-Forum.org.
If this is your first visit here, please read the Help. It explains in detail how this page works.
To use all features of this page, you should consider registering.
Please use the registration form, to register here or read more information about the registration process.
If you are already registered, please login here.
Running Eclipse in KDE
I can't run Eclipse in KDE I get the following error:
"
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:
/opt/eclipse/jre/bin/java
'java' in your current PATH"
I set PATH variable in my .bashrc file so I can run Eclipse in the shall...but I would like to also be able to run it by clicking on the icon but I don't know in which file I should set PATH variable
Regards
RE: Running Eclipse in KDE
Solution 1: Try adding it to .bash_profile.
Solution 2: Try adding it to /etc/profile or somewhere in the /etc/profile.d/.
Solution 3: Write a simple shell script that sets all the required paths and executes Eclipse.
It has to be in the environment which is avlaid when startkde runs.
On KDE3.3 and higher you can easily extend that enirovnment by placing .sh files into
.kde/env/
(or equivalent global directory)
They are then sourced by startkde
Cheers,
_
Qt/KDE Developer
Debian User
I cannot find the env sub-directory in my home directory.
Is there a graphical way to make KDE aware of Java Virtual Machine? I seek a
solution for JAVA applications in general not only eclipse.
run this in your konsole:
1. which java
2. java -version
paste the output here
Regards, J.