DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Introducing Graph Concepts in Java With Eclipse JNoSQL, Part 3: Understanding Janus
  • Introducing Graph Concepts in Java With Eclipse JNoSQL, Part 2: Understanding Neo4j
  • Introducing Graph Concepts in Java With Eclipse JNoSQL
  • Simplify NoSQL Database Integration in Java With Eclipse JNoSQL 1.1.3

Trending

  • Java Backend Development in the Era of Kubernetes and Docker
  • How AI Is Rewriting Full-Stack Java Systems: Practical Patterns with Spring Boot, Kafka and WebSockets
  • Why AI-Generated Code Breaks Your Testing Assumptions
  • Build Self-Managing Data Pipelines With an LLM Agent
  1. DZone
  2. Coding
  3. Frameworks
  4. Add Java 8 support to Eclipse Kepler

Add Java 8 support to Eclipse Kepler

By 
Wayne Beaton user avatar
Wayne Beaton
·
Mar. 30, 14 · Interview
Likes (1)
Comment
Save
Tweet
Share
67.6K Views

Join the DZone community and get the full member experience.

Join For Free

want to add java 8 support to kepler?

java 8 has not yet landed in our standard download packages . but you can add it to your existing eclipse kepler package. i’ve got three different eclipse installations running java 8:

  • a brand new kepler sr2 installation of the eclipse ide for java developers;
  • a slightly used kepler sr1 installation of the eclipse for rcp/rap developers (with lots of other features already added); and
  • a nightly build (dated march 24/2014) of eclipse 4.4 sdk.

the jdt team recommends that you start from kepler sr2, the second and final service release for kepler (but using the exact same steps, i’ve installed it into kepler sr1 and sr2 packages). there are some detailed instructions for adding java 8 support by installing a feature patch in the eclipsepedia wiki .

the short version is this:

  • from kepler sr2, use the “help > install new software…” menu option to open the “available software” dialog;
  • enter http://download.eclipse.org/eclipse/updates/4.3-p-builds/ into the “work with” field (highlighted below);
  • put a checkbox next to “eclipse java 8 support (for kepler sr2)” (highlighted below);
  • click “next”, click “next”, read and accept the license, and click “finish”
  • watch the pretty progress bar move relatively quickly across the bottom of the window; and
  • restart eclipse when prompted.
select "help > install new software..." to open the available software dialog.

select “help > install new software…” to open the available software dialog.

voila! support for java 8 is installed.

if you’ve already got the java 8 jdk installed and the corresponding jre is the default on your system, you’re done.

if you’re not quite ready to make the leap to a java 8 jre, there’s still hope (my system is still configured with java 7 as the default).

  • install the java 8 jdk;
  • open the eclipse preferences, and navigate to “java > installed jres”;
  • java runtime environment preferences

    java runtime environment preferences

  • click “add…”;
  • select “standard vm”, click “next”;
  • enter the path to the java 8 jre (note that this varies depending on platform, and how you obtain and install the bits);
  • java 8 jre definition

    java 8 jre definition

  • click “finish”.

before closing the preferences window, you can set your workspace preference to use the newly-installed java 8 jre. or, if you’re just planning to experiment with java 8 for a while, you can configure this on a project-by-project basis.

specify that your project will use a javase-1.8 jre.

in the create a java project dialog, specify that your project will use a javase-1.8 jre.

it’s probably better to do this on the project as this will become a project setting that will follow the project into your version control system.

next step… learn how wrong my initial impressions of java 8 were (hint: it’s far better).

the lamda support is so choice. if you have the means, i highly recommend picking one up.

the lambda is so choice. if you have the means, i highly recommend picking one up.

about these ads
Java (programming language) Kepler (software) Eclipse

Published at DZone with permission of Wayne Beaton. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Introducing Graph Concepts in Java With Eclipse JNoSQL, Part 3: Understanding Janus
  • Introducing Graph Concepts in Java With Eclipse JNoSQL, Part 2: Understanding Neo4j
  • Introducing Graph Concepts in Java With Eclipse JNoSQL
  • Simplify NoSQL Database Integration in Java With Eclipse JNoSQL 1.1.3

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook