Altering AutoAnalyser generated python code to set flag convertStrings=True in JVM start, as per PR #94

This commit is contained in:
jlizier 2022-09-08 10:20:20 +10:00
parent ee3ce5dd51
commit 865d82630a
1 changed files with 1 additions and 1 deletions

View File

@ -811,7 +811,7 @@ public abstract class AutoAnalyser extends JFrame
pythonCode.append("# Add JIDT jar library to the path\n");
pythonCode.append("jarLocation = \"" + jarLocation + "\"\n");
pythonCode.append("# Start the JVM (add the \"-Xmx\" option with say 1024M if you get crashes due to not enough memory space)\n");
pythonCode.append("startJVM(getDefaultJVMPath(), \"-ea\", \"-Djava.class.path=\" + jarLocation)\n\n");
pythonCode.append("startJVM(getDefaultJVMPath(), \"-ea\", \"-Djava.class.path=\" + jarLocation, convertStrings=True)\n\n");
// 3. Matlab:
StringBuffer matlabCode = new StringBuffer();
matlabCode.append("% Add JIDT jar library to the path, and disable warnings that it's already there:\n");