I need some help...

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