[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Eclipse start error: could not find Java SE Runtime Environment

Posted on 2013-06-19
4
Medium Priority
?
4,568 Views
Last Modified: 2013-06-19
I just updated java 6 and 7 on a windows 7 machine. Now eclipse will not start up. I get a message saying:
Error: could not find Java SE Runtime Environment

I have JAVA_HOME set to:
C:\Program Files\Java\jre6\bin

This is eclipse.ini:
-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813
-product
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256m
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Declipse.buildId=v21.0.1-543035
-Xms40m
-Xmx768m

What do I need to do?
0
Comment
Question by:allelopath
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 2000 total points
ID: 39260369
I have JAVA_HOME set to:
C:\Program Files\Java\jre6\bin
That's not right. Should be

C:\Program Files\Java\jre6

But why install Java 6? Also, if you're developing in Java, that should be pointing to a JDK
0
 
LVL 1

Author Comment

by:allelopath
ID: 39260700
Ok, I changed it to:
C:\Program Files\Java\jdk1.7.0_04
but I still get the same error (after restarting machine)
0
 
LVL 1

Author Comment

by:allelopath
ID: 39260744
I added this to eclipse.ini:
-vm
C:\Program Files\Java\jdk1.7.0_04\bin
and it starts now.
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 39261193
ok :)
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Programmer's Notepad is, one of the best free text editing tools available, simply because the developers appear to have second-guessed every weird problem or issue a programmer is likely to run into. One of these problems is selecting and deleti…
Here is a helpful source code for C++ Builder programmers that allows you to manage and manipulate HTML content from C++ code, while also handling HTML events like onclick, onmouseover, ... Some objects defined and used in this source include: …
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.
The viewer will learn how to use NetBeans IDE 8.0 for Windows to connect to a MySQL database. Open Services Panel: Create a new connection using New Connection Wizard: Create a test database called eetutorial: Create a new test tabel called ee…
Suggested Courses

649 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