Skip to content

Building jSuneido on Linux Mint 17

Andrew McKinlay edited this page Jun 12, 2015 · 3 revisions

jSuneido requires Java 8, which requires Eclipse 4.4.something. Neither of those are in the Linux Mint 17 repositories (nor, presumably, in the Ubuntu 14.04 repositories).

Download the latest Java 8 JDK from Oracle's JDK download page, and follow the installation instructions.

TODO: Add how to set up the alternatives to make Java 8 easier.

Download 64-bit Eclipse, or 32-bit Eclipse if you're running 32-bit Linux.

Open a terminal and unpack Eclipse:

tar -zxf eclipse-standard-luna-SR2-linux-gtk-x86_64.tar.gz

Start Eclipse from this window. Let it create a new default workspace. Select Window-> Preferences. Click on "Java", then "Installed JREs". Click on "Add", select "Standard VM", click "Next", and browse to the location where you installed Java 8. Finally, click "Finish".

Now click on the triangle to expand "Installed JREs". Select "Execution Environments", and then select "JavaSE-1.8". The JDK you just installed should appear on the right. Click on the check box if it isn't checked. Click "OK".

Now go to File-> Import, expand "General", and select "Existing project into workspace." Browse to the jSuneido directory and click "OK".

Right-click on jsuneido (upper-left in the Project Explorer) and select Run As and then JUnit Test. You should get a green bar with stats like: 1018/1073 (6 skipped) NOTE: This will leave a bunch of temporary files behind which you will need to delete manually.

If all has gone fine up to now, expand the jsuneido project (upper-left), right-click on build.xml, and select Run as...-> Ant Build.

Clone this wiki locally