I just call a script inside the Java code:
try {
Runtime.getRuntime().exec("PlotFiles.py" + FinalCallStringCMD + " -w 1");
} catch (IOException ex) {// catch ex }
I have then two question:
1) How can I indicate the script in the code as part of the package and not as hardcoded path (ex. /users/pinc/Plot.py
)
2) How can I embed the Python script in the JAR file, so I can always call it?