VIMRC question ????


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting VIMRC question ????
# 1  
Old 01-16-2007
VIMRC question ????

Hi There, Smilie

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
# 2  
Old 01-16-2007
Not that I have any experience with this, but ... why would ECLIPSE have anything to do with your .vimrc file?
# 3  
Old 01-17-2007
Or did you actually mean ~/.bashrc?
# 4  
Old 01-18-2007
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
# 5  
Old 01-18-2007
What's the error message? Post the output of

echo $PATH

and the path to java, eclipse etc.
# 6  
Old 01-18-2007
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
# 7  
Old 01-19-2007
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.
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Double quote in vimrc not take as comment

Hi, 1. I'm using tcsh and I use a .gvimrc file which was working fine with my previous ksh shell. But while sourcing, I'm getting messages like 'Unmatched " '. I'm not trying anything fancy but just using " for commenting in the very first line and I see the error is thrown right there. 2.... (2 Replies)
Discussion started by: rishikpillai90
2 Replies

2. UNIX for Advanced & Expert Users

Vimrc creating tabs instead of spaces

I'm having trouble getting my vimrc to work the way I want it. For some reason after I hit enter it is creating tabs instead of spaces like I would expect. Here is an example of what I am talking about. $ = newline, ^I = tab. On the line of struct EDGETAG* q; I hit enter and it created a tab... (2 Replies)
Discussion started by: cokedude
2 Replies

3. Shell Programming and Scripting

Difference between .vimrc and .exrc?

What is the difference between .vimrc and .exrc? I google it but didn't find the brief explanation? Regards ADI (2 Replies)
Discussion started by: adisky123
2 Replies

4. Shell Programming and Scripting

Creating bashrc and vimrc using scripting

I am trying to write a bash script that will create a .bashrc and .vimrc. I was wondering if anyone would know how to do approach this. Would this work if there was no .bashrc file minus the "stuff" echo "stuff" >> .bashrc (5 Replies)
Discussion started by: meredith1990
5 Replies

5. UNIX for Advanced & Expert Users

vimrc help with line endings

I was reading this and thought I could put this in my vimrc and it would convert the line endings to unix. Am I doing something wrong or am I missing something? set ff=unixManaging/Munging Line-Endings with Vi/Vim | Jeet Sukumaran I used this command and it confirms that my global option is... (2 Replies)
Discussion started by: cokedude
2 Replies

6. UNIX for Dummies Questions & Answers

Question about -n

Hello there, New user/ poster that just joined, really quick question as I couldnt find it through the search function In this script echo -n "enter your username " read username if then echo "Hello $username!" exit 0 else echo "You did not provide a vaild name!" exit 1... (2 Replies)
Discussion started by: kingpin007
2 Replies

7. Solaris

editing crontab with vim and using .vimrc

Hi since we migrated from Solaris 8 to Solaris 10 I do miss a nice feature when editing crontab with vim editor: no more color highlighting after starting to edit. Well there is a hack, see below. I did define: export EDITOR='vim -c ":source /export/home/duc904/.vimrc"' Under Sol8 when... (2 Replies)
Discussion started by: duc904
2 Replies

8. UNIX Desktop Questions & Answers

Please Help me out with this question

. Make a new copy of mars.txt called marsx. What happens if you give the following commands when the files bio and marsx both already exist? Don't guess, try it! a) cp bio marsx b) mv bio marsx (2 Replies)
Discussion started by: rohit.katpalli
2 Replies

9. Shell Programming and Scripting

bc question

i'm trying to parse a file with lines like the below where i need to get a diff on the 169-182 so that the result is 13 for instance. I was looking into using bc but am not that familiar with embedding it in a script. john8:9. 169-182 any ideas are appreciated! (5 Replies)
Discussion started by: nlevens
5 Replies
Login or Register to Ask a Question