Stendhal on Eclipse: Difference between revisions
Content deleted Content added
imported>Hendrik Brummermann |
imported>Hendrik Brummermann |
||
| (18 intermediate revisions by 4 users not shown) | |||
Line 7:
* If you can play Stendhal, you already have Java and can skip this step.
* If you do not have java installed, please download it https://java.com<br> (if you are on Linux, use your packet manager)
== Get Node.js ==
* https://nodejs.org (optional: for building & using web client)
== Get Eclipse==
Line 12 ⟶ 16:
* Go to https://www.eclipse.org/downloads/
* Download: "Eclipse IDE for Java Developers"
* Unzip the download
* In Eclipse, close the "Welcome" window
Line 30 ⟶ 34:
* In the dialog select: "Git -> Projects from Git" and click "Next".
* Select "Clone URI" and click "Next".
* Fill in the following information:
* Fill in the following information:<br>URI: <code><nowiki>https://github.com/arianne/stendhal.git</nowiki></code><br>(if you have a github account, please go to https://github.com/arianne/stendhal and click on "Fork" to create you own copy of the repository and then use that in Eclipse instead) ▼
** '''URI''':
▲***
*** GitHub read/write (SSH): <code><nowiki>git@github.com:arianne/stendhal.git</nowiki></code>
* The result of the fields are filled in automatically, click "Next"
* On the Branch selection page, keep everything selected and click "Next"
Line 69 ⟶ 76:
[[File:Eclipse_new_debug_configuration.png]]
Main class: games.stendhal.server.StendhalServer
* All other settings ("include system libries", "Stop in main", ... can be left at their default value.
* on the [Arguments] tab: VM arguments: -Xmx128M▼
* on the [Classpath] tab: click "UserEntries" - button "Advanced" - (*) add folder | OK - and select the "stendhal" project root folder | OK
* button [Debug]▼
And then the server should be started.▼
▲on the [Arguments] tab:
▲* button [Debug]
▲And then the server should be started.
== Start Stendhal Client ==
| |||