Mock Interviews for Java developers

Are you preparing for interviews specifically for a Java developer position. Why not try a mock interview with us. Our interviewers would conduct a short half an hour interview with you. You can pay as you wish for the interview. Fill the contact form below and we will send you an invite for a skype … Read more

How to find a word inside a folder recursively in linux?

This can be done using grep command.

If you are searching in current directory use dot(.) as shown below

Options we have used -n                   : Show relative line number in the file -r                    :  Recursively … Read more

Unsupported major.minor version 52.0

Recently we migrated to Java 8 from Java 7. And after installing Java 8 on my system, running any test threw the exception

And the solution for me was to run Maven > Update Project from context menu. You can also update the classpath of your project from command line using the following command … Read more

Convert an Image to base64 string in java

Geowave queries: Querying by polygon, Filtering on attributes of features using CQL queries, Ingesting polygons, and running polygon intersect queries

Jsoup Maven and gradle dependecies

jsoup is a Java library for working with real-world HTML. It provides a very convenient API for extracting and manipulating data, using the best of DOM, CSS, and jquery-like methods. Maven If you use Maven to manage the dependencies in your Java project, you do not need to download; just place the following into your … Read more

ArrayList in java , add() method

Here is a real world example of using java.util.ArrayList add method.

Sort a list in java

Here is a nice example of sorting of a list

References http://programtalk.com/java/sort-list-java/

How to forwarding X11 connections from a remote host using sshj in java

This example demonstrates how forwarding X11 connections from a remote host can be accomplished.