Skip to content

Commit

Permalink
Altering AutoAnalyser generated python code to set flag convertString…
Browse files Browse the repository at this point in the history
…s=True in JVM start, as per PR #94
  • Loading branch information
jlizier committed Sep 8, 2022
1 parent ee3ce5d commit 865d826
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ protected void compute() {
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");
Expand Down

0 comments on commit 865d826

Please sign in to comment.