Installing Eclipse IDE for Slackware64 14.0

Home / Installing Eclipse IDE for Slackware64 14.0

Installing Eclipse IDE for Slackware64 14.0

December 3, 2015 | Article | 2 Comments

We have install java (see here) now we will install an IDE for developing in our Slackware machine. In this article we will install latest Eclipse IDE using generic method. Alternatively you can install it using SlackBuild but we won’t cover that.

What you need:

  1. Slackware64 14.0 (well, that’s obvious)
  2. Eclipse binary for linux. download from here

The latest Eclipse IDE (per January 15th 2013) is Juno. Select the appropriate one, the one for Linux 64 bit. Of course you need to download the Eclipse for JAVA, although Eclipse for C++ is good too. The latest eclipse would be eclipse-java-juno-SR1-linux-gtk-x86_64.tar.gz. download it.

Now extract the file you have download to /opt/ directory. You might need root privileges to do this. Installing to /opt/ is a good practice for FHS (Filesystem Hierarchy Standard) as optional software is installed on separated place. To do so in command line, invoke this:

tar -xvf eclipse-java-juno-SR1-linux-gtk-x86_64.tar.gz -C /opt

Once you have done, you will get a new directory eclipse under /opt. Change the ownership to your username, for example user xathrya, by invoking this:

chown -R xathrya eclipse

Of course, change the xathrya with your username.

Now create the link to your menu or desktop. Link it to /opt/eclipse/eclipse. If you are using KDE, you can follow this guide. Point your application to /opt/eclipse/eclipse.

Congratulation! You have successfully install Eclipse!

But wait, if you face something like this:

A Java Runtime Environment (JRE) or Java Development Kit (JDK)must be available in order to run Eclipse.
No Java virtual machinewas found after searching the following locations:<some path here> in your current PATH

Then you need to do extra thing!

Edit /opt/eclipse/eclipse.ini so it would be be like this:

[sourcecode language="bash"]-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120522-1813
-product
org.eclipse.epp.package.cpp.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
/usr/lib64/java/bin/java
-vmargs
-dosgi.requiredJavaVersion=1.5
-dhelp.lucene.tokenizer=standard
-XX:MaxPermSize=256m
-Xms40m
-Xmx512m[/sourcecode]

Now run your eclipse once more 😀

About Author

about author

xathrya

A man who is obsessed to low level technology.

2 Comments
  1. OpenWRT Development with Eclipse - Xathrya.ID

    […] Eclipse Juno […]

  2. Android Application Development using Linux Slackware64 - Xathrya.ID

    […] We need to install JAVA and Eclipse. But running Eclipse need JAVA so we will install JAVA first. An article for installing latest JAVA for Slackware64 can be found here. An article for installing latest Eclipse for Slackware64 can be found here. […]

Leave a Reply

Your email address will not be published. Required fields are marked *

Social media & sharing icons powered by UltimatelySocial