Hi everyone.
I had previously asked a question about using Vim to develop Java, but I ended up realizing JDK works very well and that Ant is wayyy too much complicated for a starter like me. Things got a little bit clearer, and now I have a question again.
When I work with a file such as 'filename.java', I need to be able to use 'javac.exe', which is in the Java Development Kit (JDK), on 'filename.java' (a typical project I could be working on). Normally, to do this outside Vim, I could do
:shell in Vim to access a shell outside Vim
C:\Program Files...\javac C:\home-directory-of-filename.java\filename.java
Which is pretty long, because I must access the javac directory and then write the whole 'filename.java' directory.
Is there anyway to ask Vim to call javac and use it directly on the file that I am working on? I would be pleased if anyone could help. I tried to write a couple of things in my _vimrc file, unsuccessfully. By the way, I am a windows vista user.