I am new to java (especially exceptions like IO, which might be my problem), and I am having trouble running a .exe file that is located inside a folder in my Java project (A gameboy emulator). Here's what I have so far:
try {
Runtime.getRuntime ().exec ("\VBA\VisualBoyAdvance-1.8.0-511.exe");
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
The folder that VisualBoyAdvance is in is called VBA, every time I run the program, it says that the .exe is not found. How should I be formatting this?