VIMRC question ????

Hi There, :slight_smile:

I Need to put the following command in the vimrc for the execution of ECLIPSE
so I have written smthing like as follows,

export PATH=$PATH:/JVM location

after this i go to my eclipse folder and when I execute STILL it is not getting opened.....

Any Help that makes my eclipse to run.......

Regds
GK

Not that I have any experience with this, but ... why would ECLIPSE have anything to do with your .vimrc file?

Or did you actually mean ~/.bashrc?

Hey ,

Yeah offcourse its about the ~./bashrc .I mean even I click on the eclipse it is not getting opened , even Iam opening it with vim it has same issue............

So what all I have to do ,I need to know....

Rgds
GK

What's the error message? Post the output of

echo $PATH

and the path to java, eclipse etc.

OK

Let me make full clear what I need,

Actually If Iam clicking the ICON in the folder it is giving the issue like as follows

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

so If Go to the path accordingly and Iam giving the command like as follows....
export PATH=$PATH:/usr/local/jvm/java/bin

then the eclipse open....

but if say I close the eclipse and open again in both way it give the same error...

hence again I am supposed to export the path.

What all I need is to keep this comment in the .bashrc file so that when ever I loggin I get the eclipse open

Can now anybody let me know what I havet to do for this....?????

Regds
GK

Just append the "export" command you mentioned to the end of ~/.bashrc. If it works, it works. To verify, restart your X-Windows and then start a terminal to check whether that takes effect.