Go Premium for a chance to win a PS4. Enter to Win


Installing Java Development Software

Posted on 2013-12-01
Medium Priority
Last Modified: 2013-12-01

I was given the following link to download Java 7. I'm not sure which of the four files to download.

Also, I set up a folder called "jre" as shown in the image below then downloaded the software from the link above and installed it there. Finally I tried to run the eclipse
file but got the error also shown in the image

Question by:Murray Brown
LVL 86

Expert Comment

ID: 39688218
then downloaded the software from the link above and installed it there
Which software?

Author Comment

by:Murray Brown
ID: 39688220
Java 7

Accepted Solution

printnix63 earned 668 total points
ID: 39688259

eclipse normally tries to use the installed jre - whereas "installed" can be, you have one, but the path is not set so eclipse can see it.
If you open up a commandline and try
java -version
javac -version

you should get a version listed - if not, but you have a SDK or at least jre installed, then set the path accordingly, means, add to the path environment variable:
c:\Program Files\Java\jdk1.7.0_25;C:\Program Files\Java\jdk1.7.0_25\bin;

When you close and reopen the commandline you then should see some results, and eclipse normally should start as well.

From the packages at Oracle, the answer may eventually be "it depends" but let me put it this way, if you plan to do development for e.g. Tomcat environments, use the EE Variant:
Java EE 7 SDK with JDK 7 Update 45
if you plan do work more "application wise" or smaller projects, not using an application server the SE variant might suffice. As you want to develop, it would be recommendet to use a SDK, not JRE only, as the JRE is only the runtime environment, even though eclipse would work with JRE alone, I'd still recommend the SDK.
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Assisted Solution

sahad78 earned 668 total points
ID: 39688345
Download the one name "Java EE 7 SDK with JDK 7 U45" this will have the jdk as well as J2EE.
Click and install this. once installed then try and open the eclipse. this should run without any issue.
LVL 86

Assisted Solution

CEHJ earned 664 total points
ID: 39688366
Best practice is to set an environment variable JAVA_HOME. This is the installation dir, e.g.

C:\Program Files\Java\jdk1.7.0_45

If you do that, you'll find that Eclipse can find it. If you want to do jdk development at the command line, set PATH to

%JAVA_HOME%\bin;<rest of original path goes here>

Author Closing Comment

by:Murray Brown
ID: 39688530
Thanks very much

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
There is a lot to be said for protecting yourself and your accounts with 2 factor authentication.  I found to my own chagrin, that there is a big downside as well.
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…
Suggested Courses

926 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question