Top Menu

Custom Search

Sunday, November 16, 2014

Managing JAVA


Installing default JRE/JDK

This is the recommended and easiest option. This will install OpenJDK 6 on Ubuntu 12.04 and earlier and on 12.10+ it will install OpenJDK 7.
Installing Java with apt-get is easy. First, update the package index:
sudo apt-get update
Then, check if Java is not already installed:
java -version
If it returns "The program java can be found in the following packages", Java hasn't been installed yet, so execute the following command:
sudo apt-get install default-jre
This will install the Java Runtime Environment (JRE). If you instead need the Java Development Kit (JDK), which is usually needed to compile Java applications (for example Apache AntApache MavenEclipseand IntelliJ IDEA execute the following command:
sudo apt-get install default-jdk
That is everything that is needed to install Java.
All other steps are optional and must only be executed when needed.

Installing OpenJDK 7 (optional)

To install OpenJDK 7, execute the following command:
sudo apt-get install openjdk-7-jre 
This will install the Java Runtime Environment (JRE). If you instead need the Java Development Kit (JDK), execute the following command:
sudo apt-get install openjdk-7-jdk

Installing Oracle JDK (optional)

The Oracle JDK is the official JDK; however, it is no longer provided by Oracle as a default installation for Ubuntu.
You can still install it using apt-get. To install any version, first execute the following commands:
sudo apt-get install python-software-properties
sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
Then, depending on the version you want to install, execute one of the following commands:

Oracle JDK 6

This is an old version but still in use.
sudo apt-get install oracle-java6-installer

Oracle JDK 7

This is the latest stable version.
sudo apt-get install oracle-java7-installer

Oracle JDK 8

This is a developer preview, the general release is scheduled for March 2014. This external article about Java 8 may help you to understand what it's all about.
sudo apt-get install oracle-java8-installer

Managing Java (optional)

When there are multiple Java installations on your Droplet, the Java version to use as default can be chosen. To do this, execute the following command:
sudo update-alternatives --config java
It will usually return something like this if you have 2 installations (if you have more, it will of course return more):
There are 2 choices for the alternative java (providing /usr/bin/java).

Selection    Path                                            Priority   Status
* 0            /usr/lib/jvm/java-7-oracle/jre/bin/java          1062      auto mode
  1            /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java   1061      manual mode
  2            /usr/lib/jvm/java-7-oracle/jre/bin/java          1062      manual mode

Press enter to keep the current choice[*], or type selection number:
You can now choose the number to use as default. This can also be done for the Java compiler (javac):
sudo update-alternatives --config javac
It is the same selection screen as the previous command and should be used in the same way. This command can be executed for all other commands which have different installations. In Java, this includes but is not limited to: keytooljavadoc and jarsigner.

Setting the "JAVA_HOME" environment variable

To set the JAVA_HOME environment variable, which is needed for some programs, first find out the path of your Java installation:
sudo update-alternatives --config java
It returns something like:
There are 2 choices for the alternative java (providing /usr/bin/java).

Selection    Path                                            Priority   Status
* 0            /usr/lib/jvm/java-7-oracle/jre/bin/java          1062      auto mode
  1            /usr/lib/jvm/java-6-openjdk-amd64/jre/bin/java   1061      manual mode
  2            /usr/lib/jvm/java-7-oracle/jre/bin/java          1062      manual mode

Press enter to keep the current choice[*], or type selection number:
The path of the installation is for each:
  1. /usr/lib/jvm/java-7-oracle
  2. /usr/lib/jvm/java-6-openjdk-amd64
  3. /usr/lib/jvm/java-7-oracle
Copy the path from your preferred installation and then edit the file /etc/environment:
sudo nano /etc/environment
In this file, add the following line (replacing YOUR_PATH by the just copied path):
That should be enough to set the environment variable. Now reload this file:
source /etc/environment
Test it by executing:
If it returns the just set path, the environment variable has been set successfully. If it doesn't, please make sure you followed all steps correctly.


Friday, November 14, 2014

Crisil on Reducing IT jobs in india

November 10, 2014 1
November 10, 2014
Incremental IT services jobs will halve in four years
For future job aspirants, this will mean fewer opportunities and adding to skillsets
Changing business models of vendors will lead to cherry-picking and more lateral hirings
CRISIL believes incremental recruitment by the information technology (IT) services industry, which
accounted for nearly a quarter of the organised private sector employment in India in fiscal 2014, will
halve by fiscal 2018 despite a 13-15% growth forecast in the industry’s revenues during this period.
This contrasts with the hiring pattern of the last decade, which had mirrored revenue growth in the
industry. The paradigm shift will come as IT services vendors struggle to crank up profitability in a
milieu where global weakness is forcing their clients to optimise costs to hold on to margins. On their
part, vendors responded by rationalising their bench strength, improving utilisation rate and trimming
operational costs.
Equally importantly, this has ramifications for future engineering graduates because it will narrow the
opportunities available in future.
CRISIL believes despite revenue growth, companies will run very tight ships because of which
incremental employment will be curbed. Vendors are gradually adopting just-in-time hiring and
increasing the proportion of fixed-price contracts in their portfolio, which reduces the need to maintain
flab on the bench. Additionally, they are migrating towards higher-value service offerings such as
consulting, investing in intellectual property (IP)-based products and leveraging on the emergence of
social media, mobile, analytics and cloud (SMAC). Says Ramraj Pai, President, Business Head –
Ratings, Large Corporates, CRISIL: “These initiatives will increase revenue per employee
(RPE) at a compounded annual growth rate of 7% between fiscals 2015 and 2018. This, along
with improvement in employee utilisation, will over time delink hiring from revenue growth.
We also foresee a transformation in the recruitment pattern where employers become more
focused and picky, increasingly seeking specific skill sets. This will lead to greater lateral
India’s IT sector, with revenues of $118 billion in the last fiscal, employs 3.1 million people, or around
24% of organised private-sector employment in India. The sector has practically driven growth in
organised private jobs in the country over the past decade. Its initial phase of high revenue growth
between fiscals 2003 and 2007 also saw a substantial growth in recruitments. This was followed by
the global financial crisis between 2008 and 2010 and moderate recovery during fiscals 2011 and
2013. Yet hiring rates mirrored revenue growth. CRISIL believes the sector is now entering a new
phase where this will gradually delink.
Says Anuj Sethi, Director-Ratings, CRISIL: “We believe despite healthy revenue growth of 13-
15% for IT services foreseen in the medium term -- aided by recovery in discretionary
spending by clients -- job additions will gradually shrink by about 50% to 55,000 by fiscal 2018
from 105,000 in fiscal 2014, as companies opt for more-focused, higher-value initiatives.” This
process has already been set in motion, as evidenced in the reduction in employee costs from 69% of
total costs in fiscal 2013 to 64% in the last fiscal.November 10, 2014 2
This Press Release is transmitted to you for the sole purpose of dissemination through your newspaper / magazine / agency. The press
release may be used by you in full or in part without changing the meaning or context thereof but with due credit to CRISIL. However,
CRISIL alone has the sole right of distribution of its Releases for consideration or otherwise through any media including websites, portals
About CRISIL Limited
CRISIL is a global analytical company providing ratings, research, and risk and policy advisory services. We are India's
leading ratings agency. We are also the foremost provider of high-end research to the world's largest banks and leading
About CRISIL Ratings
CRISIL Ratings is India's leading rating agency. We pioneered the concept of credit rating in India in 1987. With a tradition
of independence, analytical rigour and innovation, we have a leadership position. We have rated over 75,000 entities, by
far the largest number in India. We are a full-service rating agency. We rate the entire range of debt instruments: bank
loans, certificates of deposit, commercial paper, non-convertible debentures, bank hybrid capital instruments, asset-backed
securities, mortgage-backed securities, perpetual bonds, and partial guarantees. CRISIL sets the standards in every
aspect of the credit rating business. We have instituted several innovations in India including rating municipal bonds,
partially guaranteed instruments and microfinance institutions. We pioneered a globally unique and affordable rating
service for Small and Medium Enterprises (SMEs).This has significantly expanded the market for ratings and is improving
SMEs' access to affordable finance. We have an active outreach programme with issuers, investors and regulators to
maintain a high level of transparency regarding our rating criteria and to disseminate our analytical insights and knowledge.
CRISIL respects your privacy. We use your contact information, such as your name, address, and email id, to fulfil your request and
service your account and to provide you with additional information from CRISIL and other parts of McGraw Hill Financial you may find of
For further information, or to let us know your preferences with respect to receiving marketing materials, please visit You can view McGraw Hill Financial’s Customer Privacy at
Last updated: August 2014
Disclaimer: CRISIL has taken due care and caution in preparing this Press Release. Information has been obtained by
CRISIL from sources which it considers reliable. However, CRISIL does not guarantee the accuracy, adequacy or
completeness of information on which this Press Release is based and is not responsible for any errors or omissions or for
the results obtained from the use of this Press Release. CRISIL, especially states that it has no financial liability
whatsoever to the subscribers/ users/ transmitters/ distributors of this Press Release.
Media Contacts Analytical Contacts Customer Service Helpdesk
Tanuja Abhinandan
Communications and Brand
CRISIL Limited
Phone: +91 22 3342 1818
Mobile: +91 98 192 48980
Jyoti Parmar
Communications and Brand
CRISIL Limited
Phone: +91 22 3342 1835
Ramraj Pai
President, Business Head – Ratings,
Large Corporates - CRISIL
Phone:+91 22 3342 3036
Anuj Sethi
Director - CRISIL Ratings
Phone:+91 44 6656 3100
Timings: 10.00 am to 7.00 pm
Toll free number: 1800 267 1301
Stay Connected |
Website | Twitter | LinkedIn | YouTube | Facebook