Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Question : No Java Virtual Machine ?
Question : No Java Virtual Machine ? [message #84876] Sun, 29 June 2003 20:44 Go to next message
Eclipse UserFriend
Originally posted by: g_vangeel.hotmail.com

This is a multi-part message in MIME format.

------=_NextPart_000_0072_01C33E8F.FC42AF60
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello everybody,


I've installed Eclipse on a RedHat 9.0 system together with the =
j2sdk1.4.0_03 and the j2re1.4.0_03.

When I try to start Eclipse I get the following error message...

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/local/eclipse/./jre/bin/java
'java' in your current PATH

Even when I try using the -vm option to point eclipse to the j2sdk or =
j2re directory it won't work.
Can anyone help me to get eclipse to work please. (I'm fairly new to =
Linux and Java)

Thanks in advance


Kind Regards
Gert Vangeel
------=_NextPart_000_0072_01C33E8F.FC42AF60
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3DArial size=3D2>Hello everybody,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I've installed Eclipse on a RedHat 9.0 =
system=20
together with the j2sdk1.4.0_03 and the j2re1.4.0_03.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>When I try to start Eclipse I get the =
following=20
error message...</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2><EM>A Java Runtime Environment (JRE) or =
Java=20
Development Kit (JDK)<BR>must be available in order to run Eclipse. No =
Java=20
virtual machine<BR>was found after searching the following=20
locations:<BR>/usr/local/eclipse/./jre/bin/java<BR>'java' in your =
current=20
PATH</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Even when I try using the -vm option to =
point=20
eclipse to the j2sdk or j2re directory it won't work.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Can anyone help me to get eclipse to =
work please.=20
<FONT color=3D#800000>(I'm fairly new to Linux and =
Java)</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Thanks in advance</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Kind Regards</FONT></DIV>
<DIV><FONT face=3DArial color=3D#000080 size=3D2><STRONG>Gert=20
Vangeel</STRONG></FONT></DIV></BODY></HTML>

------=_NextPart_000_0072_01C33E8F.FC42AF60--
Re: Question : No Java Virtual Machine ? [message #84891 is a reply to message #84876] Sun, 29 June 2003 21:44 Go to previous messageGo to next message
Eric Bordeau is currently offline Eric BordeauFriend
Messages: 259
Registered: July 2009
Senior Member
use the -vm to point to j2sdk1.4.0_03/bin, not just j2sdk1.4.0_03

Gert Vangeel wrote:
> Hello everybody,
>
>
> I've installed Eclipse on a RedHat 9.0 system together with the
> j2sdk1.4.0_03 and the j2re1.4.0_03.
>
> When I try to start Eclipse I get the following error message...
>
> /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/local/eclipse/./jre/bin/java
> 'java' in your current PATH/
>
> Even when I try using the -vm option to point eclipse to the j2sdk or
> j2re directory it won't work.
> Can anyone help me to get eclipse to work please. (I'm fairly new to
> Linux and Java)
>
> Thanks in advance
>
>
> Kind Regards
> *Gert Vangeel*
Re: Question : No Java Virtual Machine ? [message #85146 is a reply to message #84891] Mon, 30 June 2003 10:04 Go to previous messageGo to next message
Jerome Lanneluc is currently offline Jerome LannelucFriend
Messages: 572
Registered: July 2009
Senior Member
Actually, you want to point it to the executable, not just the bin
directory, e.g. -vm j2sdk1.4.0_03/bin/java.exe

Jerome

"Eric Bordeau" <ebordeau@us.ibm.com> wrote in message
news:bdnmjc$f15$1@rogue.oti.com...
> use the -vm to point to j2sdk1.4.0_03/bin, not just j2sdk1.4.0_03
>
> Gert Vangeel wrote:
> > Hello everybody,
> >
> >
> > I've installed Eclipse on a RedHat 9.0 system together with the
> > j2sdk1.4.0_03 and the j2re1.4.0_03.
> >
> > When I try to start Eclipse I get the following error message...
> >
> > /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/local/eclipse/./jre/bin/java
> > 'java' in your current PATH/
> >
> > Even when I try using the -vm option to point eclipse to the j2sdk or
> > j2re directory it won't work.
> > Can anyone help me to get eclipse to work please. (I'm fairly new to
> > Linux and Java)
> >
> > Thanks in advance
> >
> >
> > Kind Regards
> > *Gert Vangeel*
>
Re: Question : No Java Virtual Machine ? [message #85252 is a reply to message #85146] Mon, 30 June 2003 11:49 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: g_vangeel.hotmail.com

That's it !!!

Thank you very much to everybody who helped me here !

Kind regards,
Gert Vangeel


"Jerome Lanneluc" <jerome_lanneluc@fr.ibm.com> wrote in message
news:bdp207$ba8$1@rogue.oti.com...
> Actually, you want to point it to the executable, not just the bin
> directory, e.g. -vm j2sdk1.4.0_03/bin/java.exe
>
> Jerome
>
> "Eric Bordeau" <ebordeau@us.ibm.com> wrote in message
> news:bdnmjc$f15$1@rogue.oti.com...
> > use the -vm to point to j2sdk1.4.0_03/bin, not just j2sdk1.4.0_03
> >
> > Gert Vangeel wrote:
> > > Hello everybody,
> > >
> > >
> > > I've installed Eclipse on a RedHat 9.0 system together with the
> > > j2sdk1.4.0_03 and the j2re1.4.0_03.
> > >
> > > When I try to start Eclipse I get the following error message...
> > >
> > > /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/local/eclipse/./jre/bin/java
> > > 'java' in your current PATH/
> > >
> > > Even when I try using the -vm option to point eclipse to the j2sdk or
> > > j2re directory it won't work.
> > > Can anyone help me to get eclipse to work please. (I'm fairly new to
> > > Linux and Java)
> > >
> > > Thanks in advance
> > >
> > >
> > > Kind Regards
> > > *Gert Vangeel*
> >
>
>
Re: Question : No Java Virtual Machine ? [message #85847 is a reply to message #84876] Mon, 30 June 2003 20:20 Go to previous message
Eclipse UserFriend
Originally posted by: msolo.third-bit.com

Hi Gert,

Also, set your JAVA_HOME variable to point to the j2sdk1.4.0_03 directory.
For example, under Red Hat add this line to your ~/.bash_profile file:

export JAVA_HOME=/usr/share/j2sdk1.4.0

This will allow you to run Eclipse without the -vm option and may solve
other future problems.

--
Matthew
Previous Topic:Multiuser Eclipse and Private Plugin Install
Next Topic:Newbie question re:/.classpath files
Goto Forum:
  


Current Time: Wed Jun 26 19:47:09 GMT 2024

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

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

Back to the top