Saturday, December 22, 2012

Installing Open JDK 1.6 on Ubuntu


I was really confused while installing Java on my linux machine

Just to clarify they difference between JDK and JRE

What is JRE?
The Java virtual machine is used to compile the Java program which converts source code to byte code (a readable form of machine language). This byte code varies from one platform to platform.

Here JRE is used as a interpreter of byte code into machine code. So JRE is a interpreter for the Java program.
Now we can see what JDK is
JDK contains software development tools which are used to compile and run the Java program.
Both JDK and JRE contains the JVM.
JRE contains the runtime environment such as JVM and other Java classes (AWT, SWING), but does not contain any development tools such as a compiler or a debugger.
In a previous article, Mr Akshaya Bhatia, wrote about the basic tools of JDK. Please refer to this article since it has more details which are not included here.
Summary
The Java Virtual Machine's (JVM) function is to load the appropriate class files for executing a Java Program, and then to execute it.
The Java Runtime Environment (JRE) includes the JVM, as the JRE provides some standard libraries and the JVM which can be used to execute a Java program.
The Java Developers Kit (JDK) also includes the JVM, standard class libraries, and several other tools that a developer needs in order to create a Java program.


You can use the following commands to install it on Ubuntu:
sudo apt-get install openjdk-6-jre
sudo apt-get install openjdk-6-jdk

Monday, September 3, 2012

Analytics : Where is it going?

Analytics has come a large way today.
Recently, I attended a conference where in saw a new feature in Android 4.1 (Jelly fish)..its google now.
You can take a look at the video.Google Now predicts everything from the day to day data it has.

Then, i researched some more points where this analytics field is going and got to know that google also launched a prediction API in the past. Its a very interesting stuff to have. You can look at the documentation of Prediction API here.

Then, i was researching, what are the companies in India which are actually working on the Predictive analytics and the first name that came in is the Fractal Analytics, you can go through the blog here. These types of companies have a bright future, because everything works on prediction today. Its always a calculated risk which every business has to take.
Where to invest your money is the answer given by the companies like Fractal Analytics.

A few details what are the technology used by the analytics comapnies:
Let me take this opportunity to introduce you to the world of Hadoop and Map reduce as well.
Imagine you have a massive data which is saved in a RDBMS like MySQL and you are facing performance hits everyday when analyzing the data, then the databases like HBase which is the database of hadoop can help you. HDFS is the file system used in hadoop implementation. You should also know about MapReduce which is used to analyze this data or its the batch processor. These are open source communities, so you can very well go and explore them on Google.

So, the bottom line is Analytics is using open source technologies like Hadoop and MapReduce to predict the future of a human beings and has a long journey to make the world actually Robotic.