You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Made it possible to run programs in Java by adding (1) option to skip checking existence of executable file and (2) instructions on Java configuration.
<Propertyname="text"type="java.lang.String"value="Leave it empty for C++ (i.e. if the executable is standalone). Nonempty examples: "java","python""/>
183
+
<Propertyname="text"type="java.lang.String"value="Leave it empty for C++ (i.e. if the executable is standalone). Nonempty example:"python""/>
<Propertyname="text"type="java.lang.String"value="<html>Setup tips for Java: let's say you keep the main class of your compiled solution to problem B at "d:\u005calgo\u005ctaskB\u005cMain.class". In this case you want to execute "java -classpath d:\u005calgo\u005ctaskB Main", so you should set the working directory to "d:\u005calgo", path from working directory to executable to "task%P Main" and the prepending command to "java -classpath". If you had just "d:\u005calgo\u005cMain.class", you would need to set the path from working directory to executable to " Main" (note the space at the beginning).<br>You must also uncheck "check whether executable file exists"."containsInvalidXMLChars="true"/>
@@ -94,7 +96,12 @@ public void actionPerformed(java.awt.event.ActionEvent evt) {
94
96
95
97
jLabel2.setText("Command to prepend the executable with:");
96
98
97
-
jLabel3.setText("Leave it empty for C++ (i.e. if the executable is standalone). Nonempty examples: \"java\", \"python\"");
99
+
jLabel3.setText("Leave it empty for C++ (i.e. if the executable is standalone). Nonempty example: \"python\"");
100
+
101
+
checkExistenceCheckBox.setSelected(true);
102
+
checkExistenceCheckBox.setText("Check whether executable file exists before execution");
103
+
104
+
jLabel4.setText("<html>Setup tips for Java: let's say you keep the main class of your compiled solution to problem B at \"d:\\algo\\taskB\\Main.class\". In this case you want to execute \"java -classpath d:\\algo\\taskB Main\", so you should set the working directory to \"d:\\algo\", path from working directory to executable to \"task%P Main\" and the prepending command to \"java -classpath\". If you had just \"d:\\algo\\Main.class\", you would need to set the path from working directory to executable to \" Main\" (note the space at the beginning).<br>You must also uncheck \"check whether executable file exists\".");
0 commit comments