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

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

The software you build is only as secure as the code that powers it. Learn how malicious code creeps into your software supply chain.

Apache Cassandra combines the benefits of major NoSQL databases to support data management needs not covered by traditional RDBMS vendors.

Generative AI has transformed nearly every industry. How can you leverage GenAI to improve your productivity and efficiency?

Modernize your data layer. Learn how to design cloud-native database architectures to meet the evolving demands of AI and GenAI workloads.

Related

  • Simplify NoSQL Database Integration in Java With Eclipse JNoSQL 1.1.3
  • Understanding and Learning NoSQL Databases With Java: Three Key Benefits
  • Achieving Inheritance in NoSQL Databases With Java Using Eclipse JNoSQL
  • From J2EE to Jakarta EE

Trending

  • Fraud Detection Using Artificial Intelligence and Machine Learning
  • Beyond ChatGPT, AI Reasoning 2.0: Engineering AI Models With Human-Like Reasoning
  • Testing SingleStore's MCP Server
  • What Is Plagiarism? How to Avoid It and Cite Sources
  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.3K 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, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Simplify NoSQL Database Integration in Java With Eclipse JNoSQL 1.1.3
  • Understanding and Learning NoSQL Databases With Java: Three Key Benefits
  • Achieving Inheritance in NoSQL Databases With Java Using Eclipse JNoSQL
  • From J2EE to Jakarta EE

Partner Resources

×

Comments

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

ABOUT US

  • About DZone
  • Support and feedback
  • Community research
  • Sitemap

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 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: