Difference between revisions of "Robocode/Download And Install"

From Robowiki
Jump to navigation Jump to search
m
(fixing up youtube links)
(22 intermediate revisions by 9 users not shown)
Line 1: Line 1:
This page describes how to '''download and install''' the [[Robocode]] game.
+
This page describes how to download and install the [[Robocode]] game.
  
 
== How to download Robocode ==
 
== How to download Robocode ==
 +
Robocode can be downloaded from the [http://sourceforge.net/projects/robocode/files/robocode/ download page at SourceForge]; this page contains all Robocode releases available for download.
  
Robocode is downloaded from the download page at SourceForge containing all Robocode releases available for download, which you can find with [http://sourceforge.net/project/showfiles.php?group_id=37202&package_id=29609 this link].
+
The file you want to download is a JAR (Java ARchive) file, which is in fact a renamed ZIP file used for distributing Java programs. The name of the file will be named something like robocode-setup-x.y.z.jar, where "x.y.z" indicates the version number.
  
The file to download is a JAR file, i.e. Java Archive file, which is in fact a ZIP file used for distributing Java programs. The name of the file will be named something like robocode-setup-1.5.0.jar, where "1.5.0" indicates the version number.
+
===Debian/Ubuntu Users===
 +
A slightly out of date version of Robocode is available in the Universe Section of the Repos. This version is not recommended since it isn't supported by the Robocode Community.
  
 
== How to install Robocode ==
 
== How to install Robocode ==
 +
'''''NOTE: Java must be installed in order to install and run Robocode!''''' See the [[Robocode/System Requirements|System Requirements]] page for more info.
 +
===Windows==={{Youtube|GyVH8_C1QbQ|Windows Installation}}
 +
If Java has been properly installed (see [[Robocode/System Requirements|System Requirements]]), you should be able to install Robocode by opening (double click) the downloaded setup file (the JAR file). Change of drive and directory is possible by clicking "no" at the first dialog. Now you can change the new location.
  
If Java has been properly installed (see [[Robocode/System Requirements|System Requirements]]), you should be able to install Robocode by double-clicking on the downloaded setup file for Robocode (the JAR file).
+
Alternatively, you could open a command prompt with "Start/Execute" in the window type in "cmd". You can drag and drop the directory/file from explorer (or desktop) to dos command window and press enter.  
  
Alternatively, you could open a command prompt / shell where you change the current directory (using the "cd" command) to the directory you downloaded the Robocode setup file into, and then type:
+
In case of no mouse is present change the current drive and directory (using the <code>cd</code> command) to the directory you have downloaded the Robocode setup file into. Now type in ('''x.y.z''' must be replaced with the Robocode version):
 
<pre>
 
<pre>
java -jar robocode-setup-1.5.0.jar
+
java -jar robocode-setup-x.y.z.jar
 
</pre>
 
</pre>
  
Of course the "1.5.0" must be replaced with the Robocode version you are going to install.
+
===Linux==={{Youtube|y53rY5YoRWw|Linux Installation}}
 +
Open a shell and type in ('''x.y.z''' must be replaced with the Robocode version):
 +
java -jar robocode-setup-x.y.z.jar
 +
 
 +
====Ubuntu/Debian With Robocode pre-1.7.2.1 ====
 +
Ubuntu/Debian users could run into a couple of snags while installing Robocode. The best place to install it at is your ~/ directory (which is /home/account_name/ in short hand).
 +
 
 +
If you have a working java compiler already, you should be set. If not, you need to get a package from the repositories with the javac program in it, or let Robocode install Jikes. If you changed your JDK recently (like <code>sun-java5-jdk</code> to <code>sun-java6-jdk</code> or <code>openjdk-6-jdk</code>), you need to run <code>sudo update-alternatives --auto javac</code> in your shell to get the new javac to link correctly.
  
 
== How to get notified about new releases ==
 
== How to get notified about new releases ==
If you want to know exactly ''when'' a new release is available, you can subscribe to the [http://sourceforge.net/export/rss2_projfiles.php?group_id=37202 RSS feed] for Robocode file releases. The RSS feed will provide you with a link to both the release notes and where to download Robocode.
+
If you want to know ''exactly'' when a new release is available, you can subscribe to the Robocode file release [http://sourceforge.net/export/rss2_projfiles.php?group_id=37202 RSS feed]. The feed will provide you with a link to both the release notes and where to download Robocode.
  
 
== See also ==
 
== See also ==
 +
 +
=== News and Releases ===
 +
* [http://sourceforge.net/project/showfiles.php?group_id=37202&package_id=29609 Robocode file releases]
 +
* [http://sourceforge.net/export/rss2_project.php?group_id=37202 RSS Feeds for the Robocode project]
 +
 +
=== Tutorials ===
 
* [[Robocode/System Requirements|System Requirements for Robocode]]
 
* [[Robocode/System Requirements|System Requirements for Robocode]]
* [[Robocode/Console Usage|Starting Robocode from the command line]]
+
* [[Robocode/Robot Anatomy|The anatomy of a robot]]
 
* [[Robocode/Getting Started|Getting started with Robocode]]
 
* [[Robocode/Getting Started|Getting started with Robocode]]
 +
* [[Robocode/My First Robot|My First Robot Tutorial]]
 +
* [[Robocode/Game Physics|Robocode Game Physics]]
 +
* [[Robocode/Scoring|Scoring in Robocode]]
 +
* [[Robocode/Robot Console|Using the robot console]]
 +
* [[Robocode/Downloading_Robots|Downloading other robots]]
 +
* [[Robocode/Learning from Robots|Learning from other robots]]
 +
* [[Robocode/Package Robot|Package your robot]]
 
* [[Robocode/FAQ|Frequently Asked Questions (FAQ)]]
 
* [[Robocode/FAQ|Frequently Asked Questions (FAQ)]]
* [[List of articles about Robocode]]
+
* [[Robocode/Articles|Articles about Robocode]]
 +
* [[Robocode/Console Usage|Starting Robocode from the command line]]
 +
* [[Robocode/Graphical_Debugging|Graphical debugging]]
 +
* [[Robocode/Eclipse|Using Eclipse as IDE]]
 +
* [[Robocode/Eclipse/Create_a_Project|Creating a project for your robots]]
 +
* [[Robocode/Eclipse/Create_a_Robot|Creating a robot in Eclipse]]
 +
* [[Robocode/Running from Eclipse|Running your robot from Eclipse]]
 +
* [[Robocode/Eclipse/Debugging Robot|Debugging your robot with Eclipse]]
  
== External links ==
+
=== Home pages ===
* [http://sourceforge.net/project/showfiles.php?group_id=37202&package_id=29609 Robocode File Releases]
+
* [http://robocode.sourceforge.net/ Classic homepage]
* [http://sourceforge.net/export/rss2_project.php?group_id=37202 RSS Feeds for the Robocode project]
+
* [http://sourceforge.net/projects/robocode Robocode project at SourceForge]
 +
* [http://robocoderepository.com/ Robocode Repository]
 +
* [[wikipedia:Robocode|Wikipediaentry for Robocode]]
  
 
[[Category:Robocode Documentation]]
 
[[Category:Robocode Documentation]]

Revision as of 07:54, 15 October 2012

This page describes how to download and install the Robocode game.

How to download Robocode

Robocode can be downloaded from the download page at SourceForge; this page contains all Robocode releases available for download.

The file you want to download is a JAR (Java ARchive) file, which is in fact a renamed ZIP file used for distributing Java programs. The name of the file will be named something like robocode-setup-x.y.z.jar, where "x.y.z" indicates the version number.

Debian/Ubuntu Users

A slightly out of date version of Robocode is available in the Universe Section of the Repos. This version is not recommended since it isn't supported by the Robocode Community.

How to install Robocode

NOTE: Java must be installed in order to install and run Robocode! See the System Requirements page for more info.

Windows

Youtube
Youtube has a video of Windows Installation in action: click here to watch

If Java has been properly installed (see System Requirements), you should be able to install Robocode by opening (double click) the downloaded setup file (the JAR file). Change of drive and directory is possible by clicking "no" at the first dialog. Now you can change the new location.

Alternatively, you could open a command prompt with "Start/Execute" in the window type in "cmd". You can drag and drop the directory/file from explorer (or desktop) to dos command window and press enter.

In case of no mouse is present change the current drive and directory (using the cd command) to the directory you have downloaded the Robocode setup file into. Now type in (x.y.z must be replaced with the Robocode version):

 java -jar robocode-setup-x.y.z.jar

Linux

Youtube
Youtube has a video of Linux Installation in action: click here to watch

Open a shell and type in (x.y.z must be replaced with the Robocode version):

java -jar robocode-setup-x.y.z.jar

Ubuntu/Debian With Robocode pre-1.7.2.1

Ubuntu/Debian users could run into a couple of snags while installing Robocode. The best place to install it at is your ~/ directory (which is /home/account_name/ in short hand).

If you have a working java compiler already, you should be set. If not, you need to get a package from the repositories with the javac program in it, or let Robocode install Jikes. If you changed your JDK recently (like sun-java5-jdk to sun-java6-jdk or openjdk-6-jdk), you need to run sudo update-alternatives --auto javac in your shell to get the new javac to link correctly.

How to get notified about new releases

If you want to know exactly when a new release is available, you can subscribe to the Robocode file release RSS feed. The feed will provide you with a link to both the release notes and where to download Robocode.

See also

News and Releases

Tutorials

Home pages