Link to home
Start Free TrialLog in
Avatar of saffar4ever
saffar4ever

asked on

how to open any file in Java?

I need the code to run/open/execute any word document/picture/... in windows default application in Java.
This may help : Runtime.getRuntime().exec(myFileLocation);
Please help me.
SOLUTION
Avatar of ysnky
ysnky
Flag of Türkiye image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of saffar4ever
saffar4ever

ASKER

thanks all. sorry for being late. pls give me some more time to test. i had pc problems