Tag Archives: application development

JDK

how to install jdk on Ubuntu 11.04

Ubuntu (Latest Stable Version : Ubuntu 11.04 (Natty Narwhal) ) is one of the most popular Linux distribution on this planet while Java, the most popular programming¬†language (Platform independent features makes Java Great! and superior to any other programming language, for building web and Desktop Applications). Due to a number of free( and of course they’re good) tools, compilers and other options Ubuntu has become the No. 1 choice, as a development platform, among the Java Developers (specifically¬†young programmers).

If you are just a common user then you need only JRE (Java Runtime Environment) to execute java programs but If are going to write java programs or develop Apps then you need to install Java Development Kit (JDK, complete suite for Java Developers) along with some IDE like Eclipse or Netbeans (Not really necessary for absolute beginners). A lot of JDK’s are available, so if you have programmed before then choose the one you like, but on the other hand, try open-jdk-6, an open source Java Development Kit (contains Javac, an open source Java compiler and ). This post will explain – about installation procedure of Open-JDK on a freshly installed Ubuntu 11.04.

Java logo

Installing Java Development Kit (JDK) on Ubuntu 11.04

#1 : Open Synaptic Package Manager (and click on update button, it’s not necessary but it’s usually a good practice because in this way you will get the latest details about the packages), and search for ‘JDK’ or ‘open jdk’ in the quick search bar.

installing-jdk-ubuntu-11-04

#2 : Then select the package for installation ( by checking the small square box) and click on ok, if it asks for dependencies.

#3 : Now, click on ‘Apply’ button to begin the installation procedure…and wait for the installation to complete.

#4 : That’s All..to verify, open Terminal (CTRL+ALT+T) and type javac, you will see a lot info about the Java Compiler and …

Install JDK from command Line

Open Terminal and enter the following command(s), then enter your ubuntu login password followed by ‘y’ when prompted for yes/no.

sudo apt-get install openjdk-6-jdk
install qt on ubuntu

how to install Qt on Ubuntu 10.04

install qt on ubuntu

Qt is a toolkit for creating GUI applications for computer and mobile platforms.Qt is a cross-platform application development framework and uses c++(primarily).Qt is a free and open source;KDE desktop environment is based on Qt.
Qt class library | Important Features

  • Support 3D with OpenGL
  • multi-threading features
  • XML,Networking and database functionality
  • complete set of easily customizable User Interface controls
  • ECMA standard script engine

Qt for Ubuntu 10.04
On Ubuntu 10.04 if you want to create gui programs with C++ programming language then you can use Qt.First install Qt from Synaptic Package Manager or Ubuntu Software center or from command line.

Installing Qt on Ubuntu 10.04

1. Go to System->Administration->Synaptic Package Manager and enter the login password when prompted.

2. Next,Type “qt4” in quick search bar(Located at top-center position in the window).

3. Then select the Qt packages and libraries you need to install(Some of them may be installed already if you are using KDE desktop or applications).Then click on apply to install the selected applications.

4. Now wait for the installation to complete.Now you are ready to use it.

There are other Qt based applications available to make the GUI and widget design much easier like- Qt4 IDE,Qt4 Designer,Qt4 Settings,Qt4 Assistant;all of these applications you can install in one click from Ubuntu Software Center.Click on Applications->Ubuntu Software Center and search for “qt4” and click on install button(In that row) to install any application.