I need some help...

xJustMex:
sry cant find any idea to do it can u just give me example of when the PIR sensor input high it will open java file....
any code will do if possible C will help
sry still newbie with this arduino

This is code on your computer not on the arduino.
What language do you want to program your computer in?
What environment do you have to write this program?

When you say open a file do you mean open it for reading bytes from it or do you mean open it as in run the program it contains?

Is this any more help to you?
http://playground.arduino.cc/Interfacing/GoBetwino