View source for Talk:Robocode/Older Developers Guide for building Robocode
Building Robocode
I'm using Eclipse(Version: 3.2.2), I've downloaded the robocode's source in .zip format, then I've imported it as "existing project", but I still got the error: com.sun.tools.javac.Main is not on the classpath. Perhaps JAVA_HOME does not point to the JDK. It is currently set to "/usr/lib/jvm/java-6-sun-1.6.0.07/jre" I've understand that JAVA_HOME have to be changed to my sdk, but how? Modify the OS classpath hasn't work, modyfy project standard jre hasn't work, other idea? my OS is ubuntu hardy X64
- On my Ubuntu 8.10 x64 I use the java-6-openjdk, which I download and installed from Sun's JDK pages. I set up the JAVA_HOME and PATH in my .bashrc file, i.e. for my user account. I have added these lines in .bashrc:
# exports for Java export JAVA_HOME=/usr/lib/jvm/java-6-openjdk/ export PATH=$JAVA_HOME/bin:$PATH
I hope this helps you! --Fnl 22:53, 25 February 2009 (UTC)
- [View source↑]
- [History↑]
Contents
Thread title | Replies | Last modified |
---|---|---|
Building Robocode (Compilation) | 0 | 18:28, 27 December 2015 |
Building Robocode | 0 | 23:18, 5 February 2014 |
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page.
Return to Thread:Talk:Robocode/Older Developers Guide for building Robocode/Building Robocode (Compilation).
Please be aware that you need to use Maven 2, not 3 to build. Just had to debug maven to find out why it would not run. Also mvn.cmd will mess with you trying to execute mvn from your path. i would recommend renaming mvn.cmd to mvn_.cmd I have tried migrating the poms to 3, but not had much luck, backed out and switched back to maven 2.