<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to 29: Robocode Cannot Create Compiler</title><link href="https://sourceforge.net/p/robocode/support-requests/29/" rel="alternate"/><link href="https://sourceforge.net/p/robocode/support-requests/29/feed.atom" rel="self"/><id>https://sourceforge.net/p/robocode/support-requests/29/</id><updated>2020-02-25T20:39:56.624000Z</updated><subtitle>Recent changes to 29: Robocode Cannot Create Compiler</subtitle><entry><title>#29 Robocode Cannot Create Compiler</title><link href="https://sourceforge.net/p/robocode/support-requests/29/?limit=25#fe82" rel="alternate"/><published>2020-02-25T20:39:56.624000Z</published><updated>2020-02-25T20:39:56.624000Z</updated><author><name>Flemming N. Larsen</name><uri>https://sourceforge.net/u/fnl/</uri></author><id>https://sourceforge.net0ad8b91e8b777758ce37efa014d94499d302dfe7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I tested using OpenJDK 13 btw. Perhaps you are using the Oracle JDK 13?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#29 Robocode Cannot Create Compiler</title><link href="https://sourceforge.net/p/robocode/support-requests/29/?limit=25#4bca" rel="alternate"/><published>2020-02-25T20:39:05.690000Z</published><updated>2020-02-25T20:39:05.690000Z</updated><author><name>Flemming N. Larsen</name><uri>https://sourceforge.net/u/fnl/</uri></author><id>https://sourceforge.net36d099e4a8c5a3fadcdc9b8de58328a48550bede</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I could be a problem with JDK 13 - even though I can't reproduce the issue.&lt;/p&gt;
&lt;p&gt;Hmm... You could try installing and older JDK, e.g. JDK 11 or 10 and see if that changes anything for you. If so, we need to have a look at the JDK to see if it causes some new issues not seen before.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#29 Robocode Cannot Create Compiler</title><link href="https://sourceforge.net/p/robocode/support-requests/29/?limit=25#2741/9a10" rel="alternate"/><published>2020-02-24T22:46:22.174000Z</published><updated>2020-02-24T22:46:22.174000Z</updated><author><name>Megan K</name><uri>https://sourceforge.net/u/megankaz/</uri></author><id>https://sourceforge.net616637c762c22e99d3c4b580d48d8bce150b99cd</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I cannot seem to get that to work for me, either. I keep getting the same errors...&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#29 Robocode Cannot Create Compiler</title><link href="https://sourceforge.net/p/robocode/support-requests/29/?limit=25#2741" rel="alternate"/><published>2020-02-24T22:32:41.624000Z</published><updated>2020-02-24T22:32:41.624000Z</updated><author><name>Flemming N. Larsen</name><uri>https://sourceforge.net/u/fnl/</uri></author><id>https://sourceforge.net80ed9481cc404630bd6d09ac12199ea30637d040</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am not sure what causes the issue on your system. I just tried out the newest version with JDK 13.0.2, where it works fine.&lt;br/&gt;
Hmm... have you tried to create a clean/fresh installation folder of Robocode, e.g. under C:\Robocode (just for the test).&lt;/p&gt;
&lt;p&gt;Make sure to install Robocode using this command:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;java&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;jar&lt;/span&gt; &lt;span class="n"&gt;robocode&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="mi"&gt;1&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;9&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;3&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="mi"&gt;7&lt;/span&gt;&lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="n"&gt;setup&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;jar&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Run robocde using the robocode.bat file from the installation folder.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#29 Robocode Cannot Create Compiler</title><link href="https://sourceforge.net/p/robocode/support-requests/29/?limit=25#5c2b/106e" rel="alternate"/><published>2020-02-24T22:14:46.899000Z</published><updated>2020-02-24T22:14:46.899000Z</updated><author><name>Megan K</name><uri>https://sourceforge.net/u/megankaz/</uri></author><id>https://sourceforge.nete0fd9585386068edd4670900f0d62ae7dab18caf</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;Thank you for the reply. Unfortunately I still get errors even when I do that:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;Cannot&lt;/span&gt; &lt;span class="k"&gt;create&lt;/span&gt; &lt;span class="n"&gt;dir&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;C&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;Users&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="k"&gt;user&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;Downloads&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;robocode&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;theme&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;editor&lt;/span&gt;
&lt;span class="n"&gt;Cannot&lt;/span&gt; &lt;span class="k"&gt;create&lt;/span&gt; &lt;span class="n"&gt;dir&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;C&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;Users&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="k"&gt;user&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;Downloads&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;robocode&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;theme&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;editor&lt;/span&gt;
&lt;span class="n"&gt;Could&lt;/span&gt; &lt;span class="k"&gt;not&lt;/span&gt; &lt;span class="n"&gt;find&lt;/span&gt; &lt;span class="n"&gt;file&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;null&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
&lt;span class="n"&gt;java&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;io&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;FileNotFoundException&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;C&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;Users&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="k"&gt;user&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;Downloads&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;robocode&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;theme&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;editor&lt;/span&gt;&lt;span class="err"&gt;\&lt;/span&gt;&lt;span class="n"&gt;Robocode&lt;/span&gt; &lt;span class="n"&gt;White&lt;/span&gt; &lt;span class="n"&gt;Theme&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="n"&gt;properties&lt;/span&gt; &lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;The&lt;/span&gt; &lt;span class="k"&gt;system&lt;/span&gt; &lt;span class="n"&gt;cannot&lt;/span&gt; &lt;span class="n"&gt;find&lt;/span&gt; &lt;span class="n"&gt;the&lt;/span&gt; &lt;span class="n"&gt;path&lt;/span&gt; &lt;span class="n"&gt;specified&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I am running javac 13.0.2 (the latest version) with Java 1.8.0_241 (the latest version). I suspected a version issue, but being a bit of a novice I am not too entirely certain. Javac &lt;em&gt;does&lt;/em&gt; have the path on my computer.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>#29 Robocode Cannot Create Compiler</title><link href="https://sourceforge.net/p/robocode/support-requests/29/?limit=25#5c2b" rel="alternate"/><published>2020-02-24T21:22:13.758000Z</published><updated>2020-02-24T21:22:13.758000Z</updated><author><name>Flemming N. Larsen</name><uri>https://sourceforge.net/u/fnl/</uri></author><id>https://sourceforge.nete6fb548c3da77a10991d796f63b3be52fd20de15</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You could check your compiler options.&lt;br/&gt;
If you are using 'javac' from the JDK, the compiler preferences (Compiler -&amp;gt; Options -&amp;gt; Preferences) you should have the following settings:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Binary Compiler:&lt;/strong&gt;&lt;br/&gt;
javac&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Compiler Options:&lt;/strong&gt;&lt;br/&gt;
-verbose -encoding UTF-8&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Compiler Classpath:&lt;/strong&gt;&lt;br/&gt;
-classpath libs\robocode.jar;C:\robocode\robots&lt;/p&gt;
&lt;p&gt;If you are using ECJ, the compiler preferences should look like this:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Binary Compiler:&lt;/strong&gt;&lt;br/&gt;
java -cp compilers/ecj.jar org.eclipse.jdt.internal.compiler.batch.Main&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Compiler Options:&lt;/strong&gt;&lt;br/&gt;
-verbose -encoding UTF-8&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Compiler Classpath:&lt;/strong&gt;&lt;br/&gt;
-classpath libs\robocode.jar;C:\robocode\robots&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Notice:&lt;/strong&gt; When using the 'javac' compiler, you needthe JDK/bin folder to be on the PATH.&lt;br/&gt;
You should be able to call this from a command prompt:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;javac&lt;/span&gt; &lt;span class="o"&gt;-&lt;/span&gt;&lt;span class="k"&gt;version&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</summary></entry><entry><title>Robocode Cannot Create Compiler</title><link href="https://sourceforge.net/p/robocode/support-requests/29/" rel="alternate"/><published>2020-02-24T16:49:35.747000Z</published><updated>2020-02-24T16:49:35.747000Z</updated><author><name>Megan K</name><uri>https://sourceforge.net/u/megankaz/</uri></author><id>https://sourceforge.netc5cb06ed7bfeeb14eeab15803209842bcffe5ca1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I cannot get Robocode to create a compiler. I am running Windows 10 x64 bit and JDK 13, as well as the latest version of Robocode.&lt;/p&gt;
&lt;p&gt;JDK 13 has the PATH on my computer and is the SDK for my project. I keep getting this error:&lt;/p&gt;
&lt;p&gt;Please wait while Robocode sets up a compiler for you...&lt;/p&gt;
&lt;p&gt;Setting up compiler&lt;br/&gt;
Java home is C:\Program Files\Java\jdk-13.0.2&lt;/p&gt;
&lt;p&gt;Testing compile with Java Compiler (javac)&lt;br/&gt;
error: file not found: compilers\CompilerTest.java&lt;br/&gt;
Usage: javac &amp;lt;options&amp;gt; &lt;source/&gt;&lt;br/&gt;
use --help for a list of possible options&lt;br/&gt;
Java Compiler (javac) does not exists or cannot compile.&lt;br/&gt;
Testing compile with Eclipse Compiler for Java (ECJ)&lt;br/&gt;
Error: Could not find or load main class org.eclipse.jdt.internal.compiler.batch.Main&lt;br/&gt;
Caused by: java.lang.ClassNotFoundException: org.eclipse.jdt.internal.compiler.batch.Main&lt;br/&gt;
Eclipse Compiler for Java (ECJ) does not exists or cannot compile.&amp;lt;/options&amp;gt;&lt;/p&gt;
&lt;p&gt;Unable to set up a working compiler for Robocode.&lt;/p&gt;
&lt;p&gt;I am unsure what to do. I have tried the solutions that I have seen posted here, but again I have not seen anything too recent. Any pointers would be appreciated. Thank you.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>