Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » Installing Eclipse
Installing Eclipse [message #103439] Sun, 12 October 2003 15:13 Go to next message
Eclipse UserFriend
Originally posted by: jgold03.swbell.net

I am a newbie who is having trouble getting Eclipse to run. I am using
Red Hat 9.0. I downloaded the most recent Java SDK and JRE rpms, and ran
them. I then downloaded eclipse, and extracted the folder into my home
directory. I then ran eclipse, and I got 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:
/root/eclipse/jre/bin/java
'java' in your current PATH

However, when I run this command:

# echo $PATH

/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin :/usr/X11R6/bin:/root/bin:/usr/java/j2sdk1.5.1_05/bin:/usr/j ava/j2re1.4.2_01/bin

Any ideas?
Re: Installing Eclipse [message #103453 is a reply to message #103439] Sun, 12 October 2003 15:55 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ja.it-practice.dk-nospam

Jason Goldberg wrote:
> I am a newbie who is having trouble getting Eclipse to run. I am using
> Red Hat 9.0. I downloaded the most recent Java SDK and JRE rpms, and ran
> them. I then downloaded eclipse, and extracted the folder into my home
> directory. I then ran eclipse, and I got 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:
> /root/eclipse/jre/bin/java
> 'java' in your current PATH
>
> However, when I run this command:
>
> # echo $PATH
>
> /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin :/usr/X11R6/bin:/root/bin:/usr/java/j2sdk1.5.1_05/bin:/usr/j ava/j2re1.4.2_01/bin
>
> Any ideas?
>
Try to setup the JAVA_HOME variable in your .bashrc like:

export JAVA_HOME=/usr/java/j2sdk1.5.1_05
export PATH=$JAVA_HOME/bin:$PATH

/jens

P.S. Try to look at the other redhat/Eclipse thread in the SWT newsgroup
Re: Installing Eclipse [message #103467 is a reply to message #103453] Sun, 12 October 2003 16:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jgold03.swbell.net

Jens Andersen wrote:

> Jason Goldberg wrote:
> > I am a newbie who is having trouble getting Eclipse to run. I am using
> > Red Hat 9.0. I downloaded the most recent Java SDK and JRE rpms, and ran
> > them. I then downloaded eclipse, and extracted the folder into my home
> > directory. I then ran eclipse, and I got 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:
> > /root/eclipse/jre/bin/java
> > 'java' in your current PATH
> >
> > However, when I run this command:
> >
> > # echo $PATH
> >
> >
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin :/usr/X11R6/bin:/root/bin:/usr/java/j2sdk1.5.1_05/bin:/usr/j ava/j2re1.4.2_01/bin
> >
> > Any ideas?
> >
> Try to setup the JAVA_HOME variable in your .bashrc like:

> export JAVA_HOME=/usr/java/j2sdk1.5.1_05
> export PATH=$JAVA_HOME/bin:$PATH

> /jens

> P.S. Try to look at the other redhat/Eclipse thread in the SWT newsgroup

Another question, since you know what you are talking about. When I set
my $PATH variable and then restarted, the $PATH variable was reset. How
to I make it permanent?
Re: Installing Eclipse [message #103480 is a reply to message #103467] Sun, 12 October 2003 16:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ja.it-practice.dk-nospam

Jason Goldberg wrote:

> Jens Andersen wrote:
>
>
>>Jason Goldberg wrote:
>>
>>>I am a newbie who is having trouble getting Eclipse to run. I am using
>>>Red Hat 9.0. I downloaded the most recent Java SDK and JRE rpms, and ran
>>>them. I then downloaded eclipse, and extracted the folder into my home
>>>directory. I then ran eclipse, and I got 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:
>>>/root/eclipse/jre/bin/java
>>>'java' in your current PATH
>>>
>>>However, when I run this command:
>>>
>>># echo $PATH
>>>
>>>
>
> /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin :/usr/X11R6/bin:/root/bin:/usr/java/j2sdk1.5.1_05/bin:/usr/j ava/j2re1.4.2_01/bin
>
>>>Any ideas?
>>>
>>
>>Try to setup the JAVA_HOME variable in your .bashrc like:
>
>
>>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
>>export PATH=$JAVA_HOME/bin:$PATH
>
>
>>/jens
>
>
>>P.S. Try to look at the other redhat/Eclipse thread in the SWT newsgroup
>
>
> Another question, since you know what you are talking about. When I set
> my $PATH variable and then restarted, the $PATH variable was reset. How
> to I make it permanent?
>
>
You should open the .bashrc file in your home folder and add:

export JAVA_HOME=/usr/java/j2sdk1.5.1_05
export PATH=$JAVA_HOME/bin:$PATH

then save the .bashrc file. Then you type the following in your terminal.

.. .bashrc

next time you login or open a terminal the JAVA_HOME and PATH should be
set permanent.

Regards,

Jens ;-)
Re: Installing Eclipse [message #103491 is a reply to message #103480] Sun, 12 October 2003 17:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jgold03.swbell.net

Jens Andersen wrote:

> Jason Goldberg wrote:

> > Jens Andersen wrote:
> >
> >
> >>Jason Goldberg wrote:
> >>
> >>>I am a newbie who is having trouble getting Eclipse to run. I am using
> >>>Red Hat 9.0. I downloaded the most recent Java SDK and JRE rpms, and ran
> >>>them. I then downloaded eclipse, and extracted the folder into my home
> >>>directory. I then ran eclipse, and I got 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:
> >>>/root/eclipse/jre/bin/java
> >>>'java' in your current PATH
> >>>
> >>>However, when I run this command:
> >>>
> >>># echo $PATH
> >>>
> >>>
> >
> >
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin :/usr/X11R6/bin:/root/bin:/usr/java/j2sdk1.5.1_05/bin:/usr/j ava/j2re1.4.2_01/bin
> >
> >>>Any ideas?
> >>>
> >>
> >>Try to setup the JAVA_HOME variable in your .bashrc like:
> >
> >
> >>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
> >>export PATH=$JAVA_HOME/bin:$PATH
> >
> >
> >>/jens
> >
> >
> >>P.S. Try to look at the other redhat/Eclipse thread in the SWT newsgroup
> >
> >
> > Another question, since you know what you are talking about. When I set
> > my $PATH variable and then restarted, the $PATH variable was reset. How
> > to I make it permanent?
> >
> >
> You should open the .bashrc file in your home folder and add:

> export JAVA_HOME=/usr/java/j2sdk1.5.1_05
> export PATH=$JAVA_HOME/bin:$PATH

> then save the .bashrc file. Then you type the following in your terminal.

> .. .bashrc

> next time you login or open a terminal the JAVA_HOME and PATH should be
> set permanent.

> Regards,

> Jens ;-)


ok I added the stuff to my .bashrc file, but when i go to the terminal and
type in:

#.. .bashrc

- or -

# .bashrc

It says command not found.
Re: Installing Eclipse [message #103505 is a reply to message #103491] Sun, 12 October 2003 17:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ja.it-practice.dk-nospam

Jason Goldberg wrote:

> Jens Andersen wrote:
>
>
>>Jason Goldberg wrote:
>
>
>>>Jens Andersen wrote:
>>>
>>>
>>>
>>>>Jason Goldberg wrote:
>>>>
>>>>
>>>>>I am a newbie who is having trouble getting Eclipse to run. I am using
>>>>>Red Hat 9.0. I downloaded the most recent Java SDK and JRE rpms, and ran
>>>>>them. I then downloaded eclipse, and extracted the folder into my home
>>>>>directory. I then ran eclipse, and I got 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:
>>>>>/root/eclipse/jre/bin/java
>>>>>'java' in your current PATH
>>>>>
>>>>>However, when I run this command:
>>>>>
>>>>># echo $PATH
>>>>>
>>>>>
>>>
>>>
> /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin :/usr/X11R6/bin:/root/bin:/usr/java/j2sdk1.5.1_05/bin:/usr/j ava/j2re1.4.2_01/bin
>
>>>>>Any ideas?
>>>>>
>>>>
>>>>Try to setup the JAVA_HOME variable in your .bashrc like:
>>>
>>>
>>>>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
>>>>export PATH=$JAVA_HOME/bin:$PATH
>>>
>>>
>>>>/jens
>>>
>>>
>>>>P.S. Try to look at the other redhat/Eclipse thread in the SWT newsgroup
>>>
>>>
>>>Another question, since you know what you are talking about. When I set
>>>my $PATH variable and then restarted, the $PATH variable was reset. How
>>>to I make it permanent?
>>>
>>>
>>
>>You should open the .bashrc file in your home folder and add:
>
>
>>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
>>export PATH=$JAVA_HOME/bin:$PATH
>
>
>>then save the .bashrc file. Then you type the following in your terminal.
>
>
>>.. .bashrc
>
>
>>next time you login or open a terminal the JAVA_HOME and PATH should be
>>set permanent.
>
>
>>Regards,
>
>
>>Jens ;-)
>
>
>
> ok I added the stuff to my .bashrc file, but when i go to the terminal and
> type in:
>
> #.. .bashrc
>
> - or -
>
> # .bashrc
>
> It says command not found.
>
you must type . .bashrc [dot space dotbashrc]
Re: Installing Eclipse [message #103524 is a reply to message #103491] Sun, 12 October 2003 18:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jgold03.swbell.net

Jason Goldberg wrote:

> Jens Andersen wrote:

> > Jason Goldberg wrote:

> > > Jens Andersen wrote:
> > >
> > >
> > >>Jason Goldberg wrote:
> > >>
> > >>>I am a newbie who is having trouble getting Eclipse to run. I am using
> > >>>Red Hat 9.0. I downloaded the most recent Java SDK and JRE rpms, and
ran
> > >>>them. I then downloaded eclipse, and extracted the folder into my home
> > >>>directory. I then ran eclipse, and I got 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:
> > >>>/root/eclipse/jre/bin/java
> > >>>'java' in your current PATH
> > >>>
> > >>>However, when I run this command:
> > >>>
> > >>># echo $PATH
> > >>>
> > >>>
> > >
> > >
>
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin :/usr/X11R6/bin:/root/bin:/usr/java/j2sdk1.5.1_05/bin:/usr/j ava/j2re1.4.2_01/bin
> > >
> > >>>Any ideas?
> > >>>
> > >>
> > >>Try to setup the JAVA_HOME variable in your .bashrc like:
> > >
> > >
> > >>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
> > >>export PATH=$JAVA_HOME/bin:$PATH
> > >
> > >
> > >>/jens
> > >
> > >
> > >>P.S. Try to look at the other redhat/Eclipse thread in the SWT newsgroup
> > >
> > >
> > > Another question, since you know what you are talking about. When I set
> > > my $PATH variable and then restarted, the $PATH variable was reset. How
> > > to I make it permanent?
> > >
> > >
> > You should open the .bashrc file in your home folder and add:

> > export JAVA_HOME=/usr/java/j2sdk1.5.1_05
> > export PATH=$JAVA_HOME/bin:$PATH

> > then save the .bashrc file. Then you type the following in your terminal.

> > .. .bashrc

> > next time you login or open a terminal the JAVA_HOME and PATH should be
> > set permanent.

> > Regards,

> > Jens ;-)


> ok I added the stuff to my .bashrc file, but when i go to the terminal and
> type in:

> #.. .bashrc

> - or -

> # .bashrc

> It says command not found.

Also, even when I set my temp env variables to work for java, i still
can't run eclipse... I get the same error.
Re: Installing Eclipse [message #103536 is a reply to message #103524] Sun, 12 October 2003 18:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ja.it-practice.dk-nospam

Jason Goldberg wrote:

> Jason Goldberg wrote:
>
>
>>Jens Andersen wrote:
>
>
>>>Jason Goldberg wrote:
>
>
>>>>Jens Andersen wrote:
>>>>
>>>>
>>>>
>>>>>Jason Goldberg wrote:
>>>>>
>>>>>
>>>>>>I am a newbie who is having trouble getting Eclipse to run. I am using
>>>>>>Red Hat 9.0. I downloaded the most recent Java SDK and JRE rpms, and
>
> ran
>
>>>>>>them. I then downloaded eclipse, and extracted the folder into my home
>>>>>>directory. I then ran eclipse, and I got 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:
>>>>>>/root/eclipse/jre/bin/java
>>>>>>'java' in your current PATH
>>>>>>
>>>>>>However, when I run this command:
>>>>>>
>>>>>># echo $PATH
>>>>>>
>>>>>>
>>>>
>>>>
> /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin :/usr/X11R6/bin:/root/bin:/usr/java/j2sdk1.5.1_05/bin:/usr/j ava/j2re1.4.2_01/bin
>
>>>>>>Any ideas?
>>>>>>
>>>>>
>>>>>Try to setup the JAVA_HOME variable in your .bashrc like:
>>>>
>>>>
>>>>>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
>>>>>export PATH=$JAVA_HOME/bin:$PATH
>>>>
>>>>
>>>>>/jens
>>>>
>>>>
>>>>>P.S. Try to look at the other redhat/Eclipse thread in the SWT newsgroup
>>>>
>>>>
>>>>Another question, since you know what you are talking about. When I set
>>>>my $PATH variable and then restarted, the $PATH variable was reset. How
>>>>to I make it permanent?
>>>>
>>>>
>>>
>>>You should open the .bashrc file in your home folder and add:
>
>
>>>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
>>>export PATH=$JAVA_HOME/bin:$PATH
>
>
>>>then save the .bashrc file. Then you type the following in your terminal.
>
>
>>>.. .bashrc
>
>
>>>next time you login or open a terminal the JAVA_HOME and PATH should be
>>>set permanent.
>
>
>>>Regards,
>
>
>>>Jens ;-)
>
>
>
>>ok I added the stuff to my .bashrc file, but when i go to the terminal and
>>type in:
>
>
>>#.. .bashrc
>
>
>>- or -
>
>
>># .bashrc
>
>
>>It says command not found.
>
>
> Also, even when I set my temp env variables to work for java, i still
> can't run eclipse... I get the same error.
>
What if you type:

java

in your konsole - does it work?
Re: Installing Eclipse [message #103551 is a reply to message #103536] Sun, 12 October 2003 18:20 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jgold03.swbell.net

Jens Andersen wrote:

> Jason Goldberg wrote:

> > Jason Goldberg wrote:
> >
> >
> >>Jens Andersen wrote:
> >
> >
> >>>Jason Goldberg wrote:
> >
> >
> >>>>Jens Andersen wrote:
> >>>>
> >>>>
> >>>>
> >>>>>Jason Goldberg wrote:
> >>>>>
> >>>>>
> >>>>>>I am a newbie who is having trouble getting Eclipse to run. I am using
> >>>>>>Red Hat 9.0. I downloaded the most recent Java SDK and JRE rpms, and
> >
> > ran
> >
> >>>>>>them. I then downloaded eclipse, and extracted the folder into my home
> >>>>>>directory. I then ran eclipse, and I got 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:
> >>>>>>/root/eclipse/jre/bin/java
> >>>>>>'java' in your current PATH
> >>>>>>
> >>>>>>However, when I run this command:
> >>>>>>
> >>>>>># echo $PATH
> >>>>>>
> >>>>>>
> >>>>
> >>>>
> >
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin :/usr/X11R6/bin:/root/bin:/usr/java/j2sdk1.5.1_05/bin:/usr/j ava/j2re1.4.2_01/bin
> >
> >>>>>>Any ideas?
> >>>>>>
> >>>>>
> >>>>>Try to setup the JAVA_HOME variable in your .bashrc like:
> >>>>
> >>>>
> >>>>>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
> >>>>>export PATH=$JAVA_HOME/bin:$PATH
> >>>>
> >>>>
> >>>>>/jens
> >>>>
> >>>>
> >>>>>P.S. Try to look at the other redhat/Eclipse thread in the SWT newsgroup
> >>>>
> >>>>
> >>>>Another question, since you know what you are talking about. When I set
> >>>>my $PATH variable and then restarted, the $PATH variable was reset. How
> >>>>to I make it permanent?
> >>>>
> >>>>
> >>>
> >>>You should open the .bashrc file in your home folder and add:
> >
> >
> >>>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
> >>>export PATH=$JAVA_HOME/bin:$PATH
> >
> >
> >>>then save the .bashrc file. Then you type the following in your terminal.
> >
> >
> >>>.. .bashrc
> >
> >
> >>>next time you login or open a terminal the JAVA_HOME and PATH should be
> >>>set permanent.
> >
> >
> >>>Regards,
> >
> >
> >>>Jens ;-)
> >
> >
> >
> >>ok I added the stuff to my .bashrc file, but when i go to the terminal and
> >>type in:
> >
> >
> >>#.. .bashrc
> >
> >
> >>- or -
> >
> >
> >># .bashrc
> >
> >
> >>It says command not found.
> >
> >
> > Also, even when I set my temp env variables to work for java, i still
> > can't run eclipse... I get the same error.
> >
> What if you type:

> java

> in your konsole - does it work?

yes
Re: Installing Eclipse [message #103562 is a reply to message #103551] Sun, 12 October 2003 18:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jgold03.swbell.net

Jason Goldberg wrote:

> Jens Andersen wrote:

> > Jason Goldberg wrote:

> > > Jason Goldberg wrote:
> > >
> > >
> > >>Jens Andersen wrote:
> > >
> > >
> > >>>Jason Goldberg wrote:
> > >
> > >
> > >>>>Jens Andersen wrote:
> > >>>>
> > >>>>
> > >>>>
> > >>>>>Jason Goldberg wrote:
> > >>>>>
> > >>>>>
> > >>>>>>I am a newbie who is having trouble getting Eclipse to run. I am
using
> > >>>>>>Red Hat 9.0. I downloaded the most recent Java SDK and JRE rpms, and
> > >
> > > ran
> > >
> > >>>>>>them. I then downloaded eclipse, and extracted the folder into my
home
> > >>>>>>directory. I then ran eclipse, and I got 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:
> > >>>>>>/root/eclipse/jre/bin/java
> > >>>>>>'java' in your current PATH
> > >>>>>>
> > >>>>>>However, when I run this command:
> > >>>>>>
> > >>>>>># echo $PATH
> > >>>>>>
> > >>>>>>
> > >>>>
> > >>>>
> > >
>
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin :/usr/X11R6/bin:/root/bin:/usr/java/j2sdk1.5.1_05/bin:/usr/j ava/j2re1.4.2_01/bin
> > >
> > >>>>>>Any ideas?
> > >>>>>>
> > >>>>>
> > >>>>>Try to setup the JAVA_HOME variable in your .bashrc like:
> > >>>>
> > >>>>
> > >>>>>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
> > >>>>>export PATH=$JAVA_HOME/bin:$PATH
> > >>>>
> > >>>>
> > >>>>>/jens
> > >>>>
> > >>>>
> > >>>>>P.S. Try to look at the other redhat/Eclipse thread in the SWT
newsgroup
> > >>>>
> > >>>>
> > >>>>Another question, since you know what you are talking about. When I
set
> > >>>>my $PATH variable and then restarted, the $PATH variable was reset.
How
> > >>>>to I make it permanent?
> > >>>>
> > >>>>
> > >>>
> > >>>You should open the .bashrc file in your home folder and add:
> > >
> > >
> > >>>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
> > >>>export PATH=$JAVA_HOME/bin:$PATH
> > >
> > >
> > >>>then save the .bashrc file. Then you type the following in your
terminal.
> > >
> > >
> > >>>.. .bashrc
> > >
> > >
> > >>>next time you login or open a terminal the JAVA_HOME and PATH should be
> > >>>set permanent.
> > >
> > >
> > >>>Regards,
> > >
> > >
> > >>>Jens ;-)
> > >
> > >
> > >
> > >>ok I added the stuff to my .bashrc file, but when i go to the terminal
and
> > >>type in:
> > >
> > >
> > >>#.. .bashrc
> > >
> > >
> > >>- or -
> > >
> > >
> > >># .bashrc
> > >
> > >
> > >>It says command not found.
> > >
> > >
> > > Also, even when I set my temp env variables to work for java, i still
> > > can't run eclipse... I get the same error.
> > >
> > What if you type:

> > java

> > in your konsole - does it work?

> yes


OK, when i

# ./eclipse

It opens eclipse

but when I try and use a launcher I get the error
Re: Installing Eclipse [message #103577 is a reply to message #103551] Sun, 12 October 2003 18:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ja.it-practice.dk-nospam

Jason Goldberg wrote:
> Jens Andersen wrote:
>
>
>>Jason Goldberg wrote:
>
>
>>>Jason Goldberg wrote:
>>>
>>>
>>>
>>>>Jens Andersen wrote:
>>>
>>>
>>>>>Jason Goldberg wrote:
>>>
>>>
>>>>>>Jens Andersen wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Jason Goldberg wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>I am a newbie who is having trouble getting Eclipse to run. I am using
>>>>>>>>Red Hat 9.0. I downloaded the most recent Java SDK and JRE rpms, and
>>>
>>>ran
>>>
>>>
>>>>>>>>them. I then downloaded eclipse, and extracted the folder into my home
>>>>>>>>directory. I then ran eclipse, and I got 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:
>>>>>>>>/root/eclipse/jre/bin/java
>>>>>>>>'java' in your current PATH
>>>>>>>>
>>>>>>>>However, when I run this command:
>>>>>>>>
>>>>>>>># echo $PATH
>>>>>>>>
>>>>>>>>
>>>>>>
>>>>>>
> /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin :/usr/X11R6/bin:/root/bin:/usr/java/j2sdk1.5.1_05/bin:/usr/j ava/j2re1.4.2_01/bin
>
>>>>>>>>Any ideas?
>>>>>>>>
>>>>>>>
>>>>>>>Try to setup the JAVA_HOME variable in your .bashrc like:
>>>>>>
>>>>>>
>>>>>>>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
>>>>>>>export PATH=$JAVA_HOME/bin:$PATH
>>>>>>
>>>>>>
>>>>>>>/jens
>>>>>>
>>>>>>
>>>>>>>P.S. Try to look at the other redhat/Eclipse thread in the SWT newsgroup
>>>>>>
>>>>>>
>>>>>>Another question, since you know what you are talking about. When I set
>>>>>>my $PATH variable and then restarted, the $PATH variable was reset. How
>>>>>>to I make it permanent?
>>>>>>
>>>>>>
>>>>>
>>>>>You should open the .bashrc file in your home folder and add:
>>>
>>>
>>>>>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
>>>>>export PATH=$JAVA_HOME/bin:$PATH
>>>
>>>
>>>>>then save the .bashrc file. Then you type the following in your terminal.
>>>
>>>
>>>>>.. .bashrc
>>>
>>>
>>>>>next time you login or open a terminal the JAVA_HOME and PATH should be
>>>>>set permanent.
>>>
>>>
>>>>>Regards,
>>>
>>>
>>>>>Jens ;-)
>>>
>>>
>>>
>>>>ok I added the stuff to my .bashrc file, but when i go to the terminal and
>>>>type in:
>>>
>>>
>>>>#.. .bashrc
>>>
>>>
>>>>- or -
>>>
>>>
>>>># .bashrc
>>>
>>>
>>>>It says command not found.
>>>
>>>
>>>Also, even when I set my temp env variables to work for java, i still
>>>can't run eclipse... I get the same error.
>>>
>>
>>What if you type:
>
>
>>java
>
>
>>in your konsole - does it work?
>
>
> yes
>
Hmmmmm. Try starting eclipse by typing:

../path/to/your/eclipse-folder/eclipse -vm /path/to/your/j2sdk/bin
Re: Installing Eclipse [message #103588 is a reply to message #103562] Sun, 12 October 2003 18:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ja.it-practice.dk-nospam

Jason Goldberg wrote:

> Jason Goldberg wrote:
>
>
>>Jens Andersen wrote:
>
>
>>>Jason Goldberg wrote:
>
>
>>>>Jason Goldberg wrote:
>>>>
>>>>
>>>>
>>>>>Jens Andersen wrote:
>>>>
>>>>
>>>>>>Jason Goldberg wrote:
>>>>
>>>>
>>>>>>>Jens Andersen wrote:
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>Jason Goldberg wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>>I am a newbie who is having trouble getting Eclipse to run. I am
>
> using
>
>>>>>>>>>Red Hat 9.0. I downloaded the most recent Java SDK and JRE rpms, and
>>>>
>>>>ran
>>>>
>>>>
>>>>>>>>>them. I then downloaded eclipse, and extracted the folder into my
>
> home
>
>>>>>>>>>directory. I then ran eclipse, and I got 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:
>>>>>>>>>/root/eclipse/jre/bin/java
>>>>>>>>>'java' in your current PATH
>>>>>>>>>
>>>>>>>>>However, when I run this command:
>>>>>>>>>
>>>>>>>>># echo $PATH
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>>
> /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin :/usr/X11R6/bin:/root/bin:/usr/java/j2sdk1.5.1_05/bin:/usr/j ava/j2re1.4.2_01/bin
>
>>>>>>>>>Any ideas?
>>>>>>>>>
>>>>>>>>
>>>>>>>>Try to setup the JAVA_HOME variable in your .bashrc like:
>>>>>>>
>>>>>>>
>>>>>>>>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
>>>>>>>>export PATH=$JAVA_HOME/bin:$PATH
>>>>>>>
>>>>>>>
>>>>>>>>/jens
>>>>>>>
>>>>>>>
>>>>>>>>P.S. Try to look at the other redhat/Eclipse thread in the SWT
>
> newsgroup
>
>>>>>>>
>>>>>>>Another question, since you know what you are talking about. When I
>
> set
>
>>>>>>>my $PATH variable and then restarted, the $PATH variable was reset.
>
> How
>
>>>>>>>to I make it permanent?
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>You should open the .bashrc file in your home folder and add:
>>>>
>>>>
>>>>>>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
>>>>>>export PATH=$JAVA_HOME/bin:$PATH
>>>>
>>>>
>>>>>>then save the .bashrc file. Then you type the following in your
>
> terminal.
>
>>>>
>>>>>>.. .bashrc
>>>>
>>>>
>>>>>>next time you login or open a terminal the JAVA_HOME and PATH should be
>>>>>>set permanent.
>>>>
>>>>
>>>>>>Regards,
>>>>
>>>>
>>>>>>Jens ;-)
>>>>
>>>>
>>>>
>>>>>ok I added the stuff to my .bashrc file, but when i go to the terminal
>
> and
>
>>>>>type in:
>>>>
>>>>
>>>>>#.. .bashrc
>>>>
>>>>
>>>>>- or -
>>>>
>>>>
>>>>># .bashrc
>>>>
>>>>
>>>>>It says command not found.
>>>>
>>>>
>>>>Also, even when I set my temp env variables to work for java, i still
>>>>can't run eclipse... I get the same error.
>>>>
>>>
>>>What if you type:
>
>
>>>java
>
>
>>>in your konsole - does it work?
>
>
>>yes
>
>
>
> OK, when i
>
> # ./eclipse
>
> It opens eclipse
>
> but when I try and use a launcher I get the error
>
What error - what does it say? By the way - you should try starting
eclipse by typing ./path/to/your/eclipe/eclipse -vm
/path/to/your/j2sdk/bin/java. Is you pointing to your JRE or SDK?
Re: Installing Eclipse [message #103601 is a reply to message #103588] Sun, 12 October 2003 18:34 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: jgold03.swbell.net

Jens Andersen wrote:

> Jason Goldberg wrote:

> > Jason Goldberg wrote:
> >
> >
> >>Jens Andersen wrote:
> >
> >
> >>>Jason Goldberg wrote:
> >
> >
> >>>>Jason Goldberg wrote:
> >>>>
> >>>>
> >>>>
> >>>>>Jens Andersen wrote:
> >>>>
> >>>>
> >>>>>>Jason Goldberg wrote:
> >>>>
> >>>>
> >>>>>>>Jens Andersen wrote:
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>
> >>>>>>>>Jason Goldberg wrote:
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>
> >>>>>>>>>I am a newbie who is having trouble getting Eclipse to run. I am
> >
> > using
> >
> >>>>>>>>>Red Hat 9.0. I downloaded the most recent Java SDK and JRE rpms,
and
> >>>>
> >>>>ran
> >>>>
> >>>>
> >>>>>>>>>them. I then downloaded eclipse, and extracted the folder into my
> >
> > home
> >
> >>>>>>>>>directory. I then ran eclipse, and I got 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:
> >>>>>>>>>/root/eclipse/jre/bin/java
> >>>>>>>>>'java' in your current PATH
> >>>>>>>>>
> >>>>>>>>>However, when I run this command:
> >>>>>>>>>
> >>>>>>>>># echo $PATH
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>
> >>>>>>>
> >
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin :/usr/X11R6/bin:/root/bin:/usr/java/j2sdk1.5.1_05/bin:/usr/j ava/j2re1.4.2_01/bin
> >
> >>>>>>>>>Any ideas?
> >>>>>>>>>
> >>>>>>>>
> >>>>>>>>Try to setup the JAVA_HOME variable in your .bashrc like:
> >>>>>>>
> >>>>>>>
> >>>>>>>>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
> >>>>>>>>export PATH=$JAVA_HOME/bin:$PATH
> >>>>>>>
> >>>>>>>
> >>>>>>>>/jens
> >>>>>>>
> >>>>>>>
> >>>>>>>>P.S. Try to look at the other redhat/Eclipse thread in the SWT
> >
> > newsgroup
> >
> >>>>>>>
> >>>>>>>Another question, since you know what you are talking about. When I
> >
> > set
> >
> >>>>>>>my $PATH variable and then restarted, the $PATH variable was reset.
> >
> > How
> >
> >>>>>>>to I make it permanent?
> >>>>>>>
> >>>>>>>
> >>>>>>
> >>>>>>You should open the .bashrc file in your home folder and add:
> >>>>
> >>>>
> >>>>>>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
> >>>>>>export PATH=$JAVA_HOME/bin:$PATH
> >>>>
> >>>>
> >>>>>>then save the .bashrc file. Then you type the following in your
> >
> > terminal.
> >
> >>>>
> >>>>>>.. .bashrc
> >>>>
> >>>>
> >>>>>>next time you login or open a terminal the JAVA_HOME and PATH should
be
> >>>>>>set permanent.
> >>>>
> >>>>
> >>>>>>Regards,
> >>>>
> >>>>
> >>>>>>Jens ;-)
> >>>>
> >>>>
> >>>>
> >>>>>ok I added the stuff to my .bashrc file, but when i go to the terminal
> >
> > and
> >
> >>>>>type in:
> >>>>
> >>>>
> >>>>>#.. .bashrc
> >>>>
> >>>>
> >>>>>- or -
> >>>>
> >>>>
> >>>>># .bashrc
> >>>>
> >>>>
> >>>>>It says command not found.
> >>>>
> >>>>
> >>>>Also, even when I set my temp env variables to work for java, i still
> >>>>can't run eclipse... I get the same error.
> >>>>
> >>>
> >>>What if you type:
> >
> >
> >>>java
> >
> >
> >>>in your konsole - does it work?
> >
> >
> >>yes
> >
> >
> >
> > OK, when i
> >
> > # ./eclipse
> >
> > It opens eclipse
> >
> > but when I try and use a launcher I get the error
> >
> What error - what does it say? By the way - you should try starting
> eclipse by typing ./path/to/your/eclipe/eclipse -vm
> /path/to/your/j2sdk/bin/java. Is you pointing to your JRE or SDK?

Well, I restarted and now it works. Thanks :)
Re: Installing Eclipse [message #103612 is a reply to message #103601] Sun, 12 October 2003 18:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ja.it-practice.dk-nospam

Jason Goldberg wrote:

> Jens Andersen wrote:
>
>
>>Jason Goldberg wrote:
>
>
>>>Jason Goldberg wrote:
>>>
>>>
>>>
>>>>Jens Andersen wrote:
>>>
>>>
>>>>>Jason Goldberg wrote:
>>>
>>>
>>>>>>Jason Goldberg wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Jens Andersen wrote:
>>>>>>
>>>>>>
>>>>>>>>Jason Goldberg wrote:
>>>>>>
>>>>>>
>>>>>>>>>Jens Andersen wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>Jason Goldberg wrote:
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>>I am a newbie who is having trouble getting Eclipse to run. I am
>>>
>>>using
>>>
>>>
>>>>>>>>>>>Red Hat 9.0. I downloaded the most recent Java SDK and JRE rpms,
>
> and
>
>>>>>>ran
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>>>>them. I then downloaded eclipse, and extracted the folder into my
>>>
>>>home
>>>
>>>
>>>>>>>>>>>directory. I then ran eclipse, and I got 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:
>>>>>>>>>>>/root/eclipse/jre/bin/java
>>>>>>>>>>>'java' in your current PATH
>>>>>>>>>>>
>>>>>>>>>>>However, when I run this command:
>>>>>>>>>>>
>>>>>>>>>>># echo $PATH
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
> /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin :/usr/X11R6/bin:/root/bin:/usr/java/j2sdk1.5.1_05/bin:/usr/j ava/j2re1.4.2_01/bin
>
>>>>>>>>>>>Any ideas?
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>Try to setup the JAVA_HOME variable in your .bashrc like:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
>>>>>>>>>>export PATH=$JAVA_HOME/bin:$PATH
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>/jens
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>P.S. Try to look at the other redhat/Eclipse thread in the SWT
>>>
>>>newsgroup
>>>
>>>
>>>>>>>>>Another question, since you know what you are talking about. When I
>>>
>>>set
>>>
>>>
>>>>>>>>>my $PATH variable and then restarted, the $PATH variable was reset.
>>>
>>>How
>>>
>>>
>>>>>>>>>to I make it permanent?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>You should open the .bashrc file in your home folder and add:
>>>>>>
>>>>>>
>>>>>>>>export JAVA_HOME=/usr/java/j2sdk1.5.1_05
>>>>>>>>export PATH=$JAVA_HOME/bin:$PATH
>>>>>>
>>>>>>
>>>>>>>>then save the .bashrc file. Then you type the following in your
>>>
>>>terminal.
>>>
>>>
>>>>>>>>.. .bashrc
>>>>>>
>>>>>>
>>>>>>>>next time you login or open a terminal the JAVA_HOME and PATH should
>
> be
>
>>>>>>>>set permanent.
>>>>>>
>>>>>>
>>>>>>>>Regards,
>>>>>>
>>>>>>
>>>>>>>>Jens ;-)
>>>>>>
>>>>>>
>>>>>>
>>>>>>>ok I added the stuff to my .bashrc file, but when i go to the terminal
>>>
>>>and
>>>
>>>
>>>>>>>type in:
>>>>>>
>>>>>>
>>>>>>>#.. .bashrc
>>>>>>
>>>>>>
>>>>>>>- or -
>>>>>>
>>>>>>
>>>>>>># .bashrc
>>>>>>
>>>>>>
>>>>>>>It says command not found.
>>>>>>
>>>>>>
>>>>>>Also, even when I set my temp env variables to work for java, i still
>>>>>>can't run eclipse... I get the same error.
>>>>>>
>>>>>
>>>>>What if you type:
>>>
>>>
>>>>>java
>>>
>>>
>>>>>in your konsole - does it work?
>>>
>>>
>>>>yes
>>>
>>>
>>>
>>>OK, when i
>>>
>>># ./eclipse
>>>
>>>It opens eclipse
>>>
>>>but when I try and use a launcher I get the error
>>>
>>
>>What error - what does it say? By the way - you should try starting
>>eclipse by typing ./path/to/your/eclipe/eclipse -vm
>>/path/to/your/j2sdk/bin/java. Is you pointing to your JRE or SDK?
>
>
> Well, I restarted and now it works. Thanks :)
>
>
You are welcome - happy hacking :-)

Regards,

Jens
Re: Installing Eclipse [message #103626 is a reply to message #103612] Sun, 12 October 2003 18:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: muelleimer.usenet.katzien.de

Hallo!

* Jens Andersen <ja@it-practice.dk-nospam> wrote:
> Jason Goldberg wrote:
>> Well, I restarted and now it works. Thanks :)
> You are welcome - happy hacking :-)

Just for this onliner you needed to quote *two* *hundred* lines of
other stuff, which wasn't relevant *at all* for the reply. I've no
idea, how you read news, but on my terminal, I needed lots of
scrolling to get to the point, just to discover, that nothing
essential was added. Thats *very* annoying!

Guys, whatever you do next, please *first* read http://learn.to/quote/

Jan, seriously pissed.
Re: Installing Eclipse [message #103639 is a reply to message #103626] Sun, 12 October 2003 19:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ja.it-practice.dk-nospam

Then I'm very glad that you didn't read the xdoclet thread above ;-)
Thanks for letting me know :-)

Jens, very happy
Re: Installing Eclipse [message #106735 is a reply to message #103639] Thu, 16 October 2003 16:24 Go to previous message
Eclipse UserFriend
Yes, guilty as charged. It's been a while since I posted, and in the
interim I became a Usenet heathen. The first step is admitting I have a
problem... :)

Derek

Jens Andersen wrote:
> Then I'm very glad that you didn't read the xdoclet thread above ;-)
> Thanks for letting me know :-)
>
> Jens, very happy
>
Previous Topic:Extension point for "Show Logical Structure" in Debug Variables view
Next Topic:sticky bootclasspath
Goto Forum:
  


Current Time: Fri May 02 15:36:38 EDT 2025

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

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

Back to the top