You are not logged in.
Pages: 1
Topic closed
Hi all,
I've installed eclipse thru pacman along with jre and jdk and when I try to run eclipse I get a
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/share/eclipse/jre/bin/java
java in your current PATH
What am I missing?
Offline
your PATH environment variable needs to point to a directory containing the JRE.
On my system, I have a file called /etc/profile.d/jre.sh that adds "/opt/java/jre/bin" to my path. It's called at boot. I think it comes with the "jre" package (but I didn't check). So, you can
export PATH=$PATH:/opt/java/jre/bin
or reboot your computer.
Offline
mate. you are brilliant. Thank you so much
Offline
just relogin after installing jre/jdk
Give what you have. To someone, it may be better than you dare to think.
Offline
Or . /etc/profile.d/jre.sh and jdk.sh (only affects the current shell)
Edit: just noticed: Holy necropost batman!
Last edited by Mr.Elendig (2010-09-21 14:49:41)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Closing.
Please read forum etiquettes on necro bumping.
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Pages: 1
Topic closed