New features introduced in java 8

New features introduced in java 8 Here are the list of high level features introduced in Java 8 along with lots of enhancement at complier and JVM level: 1. Lambda Expressions Lambda expression is a concise representation of an anonymous function which can be passed as an argument to a method or stored in a variable. Click Here more details 2. Functional Interface A Functional Interface is an interface which specifies exactly one abstract method.

Read more 0

Sometimes when we run java application on windows platform, it doesn't start tomcat and says port 8080 already in use. To resolve this issue, we have to kill the process running on port 8080. Below are the few simple steps to release port 8080. Start you command prompt as an administator: Run the following command to get the process which is using the port 8080: netstat -o -n -a | findstr 0.0:8080 To kill the

Read more 0

java7 install

If you are running an older version on java on your Ubuntu 12.04 environment, you must remove it before installing Java7. Do the following to remove: $sudo apt-get purge openjdk* If you installed java 7 earlier and having problem with java then you have to do the following to remove it: $sudo rm /var/lib/dpkg/info/oracle-java7-installer* $sudo apt-get purge oracle-java7-installer* $sudo rm /etc/apt/sources.list.d/*java* $sudo apt-get update Installing Oracle Java7 on Ubuntu 12.04 LTS: $sudo add-apt-repository ppa:webupd8team/java $sudo

Read more 0