hello,
i'm developping with java an editor which offer me the possibility to save an XML file.
My task is to transform this file to Z:So i have to transform it at first to .Tex and open this new file .tex generated with Z-EVES.
I have to run Z-Eves within java(i.e,when i press a bouton transform, Z-Eves should be executed and my file.tex should also be opened:
I try with this code to run Z-EVES but it doesn't work:
I need your help please!!
i'm developping with java an editor which offer me the possibility to save an XML file.
My task is to transform this file to Z:So i have to transform it at first to .Tex and open this new file .tex generated with Z-EVES.
I have to run Z-Eves within java(i.e,when i press a bouton transform, Z-Eves should be executed and my file.tex should also be opened:
I try with this code to run Z-EVES but it doesn't work:
Code:
String[] cmd = {"C:\\Python23\\pythonw.exe", "C:\\Program Files (x86)\\Z-Eves 2.3.1\\gui\\toplevel.pyw"};
File workingDir = new File("C:\\Program Files (x86)\\Z-EVES 2.3.1\\gui");
try
{
Runtime r = Runtime.getRuntime();
Process p = r.exec(cmd, null, workingDir);
}catch(Exception e1) {
System.out.println("erreur d'execution " + e1.toString());
}
I need your help please!!