ok thank you,
am I right here in "What's Wrong With My Code?"
Concerning my execution problem I've already searched a lot of in the internet how can I combine Win7 speech recognition and java or tutorials, but I didn't find something me helped. I have to add that I'm not a very good programmer and have problems to understand or implement all the stuff I read.
What I've found out yet:
public static void main(String[] args)
{
Runtime.getRuntime().exec(" ");
}
With this command I could open the notepad and the calculator, but I had problems to open for example a textfile on my desktop:
public static void main(String[] args) {
try {
Process p = Runtime.getRuntime().exec("cmd /C/User/Desktop/text.txt");
}
Because I thought, when I can open a textfile, I could open the Win7SpeechRec. too, but I dind’t even succeed this little problem.