Discussion:
Jikes, yikes!!!
Edwin Pilobello
2009-03-14 21:43:56 UTC
Permalink
One of my students copied TrackFire and added a few lines of code to it.

Trackfire compiles to completion while his revised version freezes the compiler on a blank window. The window is modal. You can't do anything else except shutdown robocode. I've tried to figure out what part of his code causes the compiler to freeze. So far, no luck.

However, it seems the compiler does go to completion. We ran a battle after the freeze up and saw the changes he made.

So, why is jikes not returning from what seems to be a successful compile?









------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:Robocode-***@yahoogroups.com
mailto:Robocode-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
flemmingnlarsen
2009-03-15 22:10:50 UTC
Permalink
Jikes is known to cause problem with never versions of Java. So if you/he is running Java 6 (can be tested from a command line by writting 'java -version').

Jikes has not been updated for years, and is only provided in Robocode due to history and as alternative to javac from Sun's Java compiler.

My recommendation is that you download the Sun JDK 5.0 or newer from Sun, and reset the compiler in Robocode afterwards to use javac instead of Jikes.

Sun's JDK con be downloaded from here:
http://java.sun.com/javase/downloads/?intcmp=1281

Best,
- Flemming
Post by Edwin Pilobello
One of my students copied TrackFire and added a few lines of code to it.
Trackfire compiles to completion while his revised version freezes the compiler on a blank window. The window is modal. You can't do anything else except shutdown robocode. I've tried to figure out what part of his code causes the compiler to freeze. So far, no luck.
However, it seems the compiler does go to completion. We ran a battle after the freeze up and saw the changes he made.
So, why is jikes not returning from what seems to be a successful compile?
------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:Robocode-***@yahoogroups.com
mailto:Robocode-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
flemmingnlarsen
2009-03-15 22:13:56 UTC
Permalink
Jikes is known to cause problem with newer versions of Java. So if you/he is running Java 6 this might be the reason why Jikes gives strange compiler errors. You can test the Java version from a command-line (promt/shell) by writting 'java -version'.

Jikes has not been updated for years, and is only provided in Robocode due to history and as alternative to javac from Sun's Java compiler.

My recommendation is that you download the Sun JDK 5.0 or newer from Sun, and reset the compiler in Robocode afterwards to use javac instead of Jikes.

Sun's JDK con be downloaded from here:
http://java.sun.com/javase/downloads/?intcmp=1281

Best,
- Flemming
Post by Edwin Pilobello
One of my students copied TrackFire and added a few lines of code to it.
Trackfire compiles to completion while his revised version freezes the compiler on a blank window. The window is modal. You can't do anything else except shutdown robocode. I've tried to figure out what part of his code causes the compiler to freeze. So far, no luck.
However, it seems the compiler does go to completion. We ran a battle after the freeze up and saw the changes he made.
So, why is jikes not returning from what seems to be a successful compile?
------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/Robocode/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/Robocode/join
(Yahoo! ID required)

<*> To change settings via email:
mailto:Robocode-***@yahoogroups.com
mailto:Robocode-***@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
Robocode-***@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/

Continue reading on narkive:
Loading...