Skip to main content



      Home
Home » Newcomers » Newcomers » Installation problem
Installation problem [message #103809] Thu, 22 September 2005 04:58 Go to next message
Eclipse UserFriend
Originally posted by: Lsnewton01.hotmail.com

I got eclipse from school, and got it running fine on my desktop computer.
After getting it exactly the same way and attempting to install it on my
laptop, however, I keep getting the error message that:

"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:
C:\Program Files\eclipse\jre\bin\javaw.exe
'javaw.exe' in your current PATH".

Just to make sure, I downloaded the JRE and installed it, but still
recieved the same error message.
Re: Installation problem [message #103825 is a reply to message #103809] Thu, 22 September 2005 05:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hendrik_maryns.despammed.com

Liam schreef:
> I got eclipse from school, and got it running fine on my desktop
> computer. After getting it exactly the same way and attempting to
> install it on my laptop, however, I keep getting the error message that:
>
> "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:
> C:\Program Files\eclipse\jre\bin\javaw.exe
> 'javaw.exe' in your current PATH".
>
> Just to make sure, I downloaded the JRE and installed it, but still
> recieved the same error message.

Seems like you need to add java\bin to your path. Open a command line, type

$PATH

and if java doesn't show up in there, type $PATH /h to see how you can
change it. You should add a folder named {location of java}\bin.

HTH, H.

--
Hendrik Maryns

==================
www.lieverleven.be
http://aouw.org
Re: Installation problem [message #104544 is a reply to message #103809] Fri, 23 September 2005 22:35 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: subhash.bhushan.gmail.com

Hi,

In addition to adding the java/bin folder to your path, you should also
configure the JREs that eclipse can use.

To configure the JREs installed for eclipse, follow:
Eclipse->Window->Preferences
Java->Installed JREs

Click on Add and select the folder where your JRE is installed.

Regards,
Subhash Bhushan.



"Liam" <Lsnewton01@hotmail.com> wrote in message
news:27e9ca5c6f33a7fa9d56e4f23a64e59a$1@www.eclipse.org...
> I got eclipse from school, and got it running fine on my desktop computer.
> After getting it exactly the same way and attempting to install it on my
> laptop, however, I keep getting the error message that:
>
> "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:
> C:\Program Files\eclipse\jre\bin\javaw.exe
> 'javaw.exe' in your current PATH".
>
> Just to make sure, I downloaded the JRE and installed it, but still
> recieved the same error message.
>
Re: Installation problem [message #105294 is a reply to message #104544] Tue, 27 September 2005 10:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Lsnewton01.hotmail.com

Okay, thanks for your help, but I'm gonna need a bit more.
Firstly, the answer given by Hendrik would be great, but considering that
the only 'command line' I know of is just the command prompt (which
doesn't work, I haven't had much success.
Subhash's answer was a lot easier to follow, except that I can't find
where it was telling me to go. Keep in mind that I cannot even RUN
eclipse. All I've got are the files that come with it.

And yes, I am aware that doesn't make me look like the most intelligent
guy in the world, but hey, that's why I'm on the newcomers board.
Re: Installation problem [message #105307 is a reply to message #105294] Tue, 27 September 2005 10:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hendrik_maryns.despammed.com

Liam schreef:
> Okay, thanks for your help, but I'm gonna need a bit more.
> Firstly, the answer given by Hendrik would be great, but considering
> that the only 'command line' I know of is just the command prompt (which
> doesn't work, I haven't had much success.
> Subhash's answer was a lot easier to follow, except that I can't find
> where it was telling me to go. Keep in mind that I cannot even RUN
> eclipse. All I've got are the files that come with it.
>
> And yes, I am aware that doesn't make me look like the most intelligent
> guy in the world, but hey, that's why I'm on the newcomers board.

If the command prompt does not work, then you have a serious problem.
Ask help on a windows forum. Otherwise, indeed I meant the command
prompt. I'm on a Linux right now, so I can't check the syntax, but
IIRC, you just have to type

PATH [location of java]\bin;%PATH

But as I am not sure and this might mess up your system, I recommend you
to type help PATH or PATH -h or PATH /h or anything that gives you the
usage message.
Here, [location of java] probably is something like C:\Program
Files\java\jdk1.5\jre

HTH,H.

--
Hendrik Maryns

==================
www.lieverleven.be
http://aouw.org
Re: Installation problem [message #105498 is a reply to message #105307] Tue, 27 September 2005 23:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Lsnewton01.hotmail.com

Okay. I wasn't typing in the correct things, and help PATH brings up a
bunch of stuff, so I'll give that line you just gave me a try.
Re: Installation problem [message #105510 is a reply to message #105498] Wed, 28 September 2005 00:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Lsnewton01.hotmail.com

Okay, after actually reading the message that help PATH brings up, it says
that it changes the locations searched for by exe's. Seeing as how it
doesn't specify *which* exe's, I'm a little loathe to try that line until
I know that it's gonna work correctly and not **** up everything else.
Re: Installation problem [message #105537 is a reply to message #105510] Wed, 28 September 2005 04:50 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hendrik_maryns.despammed.com

Liam schreef:
> Okay, after actually reading the message that help PATH brings up, it
> says that it changes the locations searched for by exe's. Seeing as how
> it doesn't specify *which* exe's, I'm a little loathe to try that line
> until I know that it's gonna work correctly and not **** up everything
> else.

All executables. But if you read carefully, you will see that you can
_add_ a location to your path, thus nothing will change: all programs
that know where to find their stuff now will still do so in the future.
If you really feel uncomfortable with this, ask for someone to help
you (physically I mean), go to a windows newsgroup, or do an internet
search for "windows change path" (third link in google will be what you
want)

--
Hendrik Maryns

==================
www.lieverleven.be
http://aouw.org
Re: Installation problem [message #106225 is a reply to message #104544] Thu, 29 September 2005 17:43 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

> "Liam" <Lsnewton01@hotmail.com> wrote in message
> news:27e9ca5c6f33a7fa9d56e4f23a64e59a$1@www.eclipse.org...
>
>>I got eclipse from school, and got it running fine on my desktop computer.
>>After getting it exactly the same way and attempting to install it on my
>>laptop, however, I keep getting the error message that:
>>
>>"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:
>>C:\Program Files\eclipse\jre\bin\javaw.exe
>>'javaw.exe' in your current PATH".
>>
>>Just to make sure, I downloaded the JRE and installed it, but still
>>recieved the same error message.

If you installed the JRE under Windows, then Eclipse will find it. So
something else must be going on.

In any case, what you really want to do is install a JDK, not just a JRE
(unless you don't intend to use Eclipse as a Java development IDE).
Once you've done that, you'll want to point the eclipse.exe to a
specific location to ensure it will use the JDK installation.
See this Wiki page for info on how to do that:
http://eclipsewiki.editme.com/StartupProblems

HTH,
Eric
Re: Installation problem [message #106612 is a reply to message #106225] Sun, 02 October 2005 00:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Lsnewton01.hotmail.com

> If you installed the JRE under Windows, then Eclipse will find it. So
> something else must be going on.

> In any case, what you really want to do is install a JDK, not just a JRE
> (unless you don't intend to use Eclipse as a Java development IDE).
> Once you've done that, you'll want to point the eclipse.exe to a
> specific location to ensure it will use the JDK installation.
> See this Wiki page for info on how to do that:
> http://eclipsewiki.editme.com/StartupProblems

> HTH,
> Eric


So the JRE I downloaded should be in the WINDOWS folder, then? Either way,
where can I get the JDK you speak of?
Re: Installation problem [message #106637 is a reply to message #106612] Sun, 02 October 2005 06:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: hendrik_maryns.despammed.com

Liam uitte de volgende tekst op 2/10/2005 6:03:
>
>
>> If you installed the JRE under Windows, then Eclipse will find it. So
>> something else must be going on.
>
>
>> In any case, what you really want to do is install a JDK, not just a
>> JRE (unless you don't intend to use Eclipse as a Java development IDE).
>> Once you've done that, you'll want to point the eclipse.exe to a
>> specific location to ensure it will use the JDK installation.
>> See this Wiki page for info on how to do that:
>> http://eclipsewiki.editme.com/StartupProblems
>
>
>> HTH,
>> Eric
>
>
>
> So the JRE I downloaded should be in the WINDOWS folder, then?

No, generally it will be in Program Files\java*

Either
> way, where can I get the JDK you speak of?

java.sun.com

--
Hendrik Maryns

==================
www.lieverleven.be
http://aouw.org
Re: Installation problem [message #106872 is a reply to message #106612] Mon, 03 October 2005 12:01 Go to previous message
Eclipse UserFriend
Originally posted by: eclipse3.rizzoweb.com

Liam wrote:
>
>
>> If you installed the JRE under Windows, then Eclipse will find it. So
>> something else must be going on.
>
>
>> In any case, what you really want to do is install a JDK, not just a
>> JRE (unless you don't intend to use Eclipse as a Java development IDE).
>> Once you've done that, you'll want to point the eclipse.exe to a
>> specific location to ensure it will use the JDK installation.
>> See this Wiki page for info on how to do that:
>> http://eclipsewiki.editme.com/StartupProblems
>
>
>> HTH,
>> Eric
>
>
>
> So the JRE I downloaded should be in the WINDOWS folder, then? Either
> way, where can I get the JDK you speak of?
>

When I said "under Windows" I meant in the Windows operating system (as
opposed to Linux or Mac OS/X), not in the WINDOWS directory.

If you don't know where/how to get the JDK, then I think you need to do
some more learning about Java development - Eclipse is not your problem
at that stage.

HTH,
Eric
Previous Topic:Why is it so difficult to work with Eclipse?
Next Topic:Classpath problem
Goto Forum:
  


Current Time: Fri Apr 25 21:10:59 EDT 2025

Powered by FUDForum. Page generated in 0.08242 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top