You are not logged in.

#1 2009-03-21 00:05:33

dr0p
Member
From: Seattle, WA, USA
Registered: 2008-06-11
Posts: 120

Eclipse not finding JRE/JDK...

Well I'm trying to get Eclipse up and running, but whenever I launch it it tells me...

JRE or JDK needed.
No java virtual machine was found after searching:
/usr/share/eclipse/jre/bin/java

How would I go about pointing it to the real path for JRE? Thanks.


Arch i686 User
xmonad :: xmobar :: urxvt :: vim

Offline

#2 2009-03-21 00:09:33

Inxsible
Forum Fellow
From: Chicago
Registered: 2008-06-09
Posts: 9,183

Re: Eclipse not finding JRE/JDK...

I am assuming you already have jre and jdk installed. I have seen a couple of threads where eclipse was not recognizing the jre/jdk path correctly.


Forum Rules

There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !

Offline

#3 2009-03-21 05:03:48

dr0p
Member
From: Seattle, WA, USA
Registered: 2008-06-11
Posts: 120

Re: Eclipse not finding JRE/JDK...

Yes, I have JRE and JDK installed.


Arch i686 User
xmonad :: xmobar :: urxvt :: vim

Offline

#4 2009-03-21 05:23:22

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,395
Website

Re: Eclipse not finding JRE/JDK...

Have you logged out/in or sourced /etc/profile sine the install of jre/jdk.  This adjusts the JAVA_HOME path to point in the right place.

Offline

#5 2009-03-22 02:02:12

dr0p
Member
From: Seattle, WA, USA
Registered: 2008-06-11
Posts: 120

Re: Eclipse not finding JRE/JDK...

Allan wrote:

Have you logged out/in or sourced /etc/profile sine the install of jre/jdk.  This adjusts the JAVA_HOME path to point in the right place.

Thanks, that worked ^_^ I feel stupid for not having tried this ._.


Arch i686 User
xmonad :: xmobar :: urxvt :: vim

Offline

#6 2009-03-22 02:05:33

Ranguvar
Member
Registered: 2008-08-12
Posts: 2,549

Re: Eclipse not finding JRE/JDK...

Perhaps we should make the JDK/JRE .install files export JAVA_HOME? I haven't looked at the packaging for them, but it seems everyone has a problem eventually relating to this.
Maybe something similar for everything that installs in /opt, since PATH needs refreshing... at least have pacman tell the user to source /etc/profile.

Anyways, OP, please mark your thread as [SOLVED] by editing the first post smile

Last edited by Ranguvar (2009-03-22 02:05:57)

Offline

Board footer

Powered by FluxBB