Public bug reported: I have installed Robocode and created the initial class making no changes to it. I get the following compile error:
Compiling... /home/volodya/.robocode/robots/volodya/MyRobot.java:2: error: package robocode does not exist import robocode.*; ^ /home/volodya/.robocode/robots/volodya/MyRobot.java:8: error: cannot find symbol public class MyRobot extends Robot ^ symbol: class Robot /home/volodya/.robocode/robots/volodya/MyRobot.java:29: error: cannot find symbol public void onScannedRobot(ScannedRobotEvent e) { ^ symbol: class ScannedRobotEvent location: class MyRobot /home/volodya/.robocode/robots/volodya/MyRobot.java:36: error: cannot find symbol public void onHitByBullet(HitByBulletEvent e) { ^ symbol: class HitByBulletEvent location: class MyRobot /home/volodya/.robocode/robots/volodya/MyRobot.java:19: error: cannot find symbol ahead(100); ^ symbol: method ahead(int) location: class MyRobot /home/volodya/.robocode/robots/volodya/MyRobot.java:20: error: cannot find symbol turnGunRight(360); ^ symbol: method turnGunRight(int) location: class MyRobot /home/volodya/.robocode/robots/volodya/MyRobot.java:21: error: cannot find symbol back(100); ^ symbol: method back(int) location: class MyRobot /home/volodya/.robocode/robots/volodya/MyRobot.java:22: error: cannot find symbol turnGunRight(360); ^ symbol: method turnGunRight(int) location: class MyRobot /home/volodya/.robocode/robots/volodya/MyRobot.java:30: error: cannot find symbol fire(1); ^ symbol: method fire(int) location: class MyRobot 9 errors Compile Failed (1) Some libraries are not being found. The compiler settings: Binary: javac Options: -deprecation -g Classpath: -classpath /usr/lib/jvm/java-7-openjdk-amd64/jre/lib/rt.jar:libs/robocode.jar:/home/volodya/.robocode/robots ProblemType: Bug DistroRelease: Ubuntu 14.04 Package: robocode 1.6.2+dfsg-3.1 ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7 Uname: Linux 3.13.0-37-generic x86_64 ApportVersion: 2.14.1-0ubuntu3.5 Architecture: amd64 CurrentDesktop: Unity Date: Thu Oct 23 15:50:42 2014 InstallationDate: Installed on 2014-10-02 (20 days ago) InstallationMedia: Ubuntu 14.04.1 LTS "Trusty Tahr" - Release amd64 (20140722.2) PackageArchitecture: all SourcePackage: robocode UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: robocode (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug trusty -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1384691 Title: Robocode fails during compilation To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/robocode/+bug/1384691/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs