Code Yarns ‍👨‍💻
Tech BlogPersonal Blog

How to install Java to Eclipse CDT

📅 2014-Dec-09 ⬩ ✍️ Ashwin Nanjappa ⬩ 📚 Archive

People who work with C or C++ use Eclipse CDT. When they need to work with Java too, then adding this support to Eclipse CDT is easy:

$ sudo apt install openjdk-7-jdk

After installation, Eclipse will ask to be restarted. After the restart, you should be able to create and work with Java projects.

Tried with: Eclipse Luna 4.4.1 and Ubuntu 14.04