Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 350643

Summary: Cannot find Java - Crashes on startup
Product: [Eclipse Project] Platform Reporter: Kenneth Ford <kenford>
Component: IDEAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: RESOLVED WORKSFORME QA Contact:
Severity: critical    
Priority: P3 CC: remy.suen
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Kenneth Ford CLA 2011-06-28 20:00:55 EDT
Build Identifier: Eclipse 3.7

I have downloaded eclipse 3.7 onto two different computers, one with Windows 7 Ultimate, one withb Windows 7 Home premium. When I click on the eclipse logo after unzipping the product files, it acts as if it cannot find the path to java.

The logic is indirect but I have built a strong case that there is something wrong with the download. Can anyone help me?

Reproducible: Always

Steps to Reproduce:
1.Download Eclipse 3.7 zip file.
2.Unzip.
3.Click on Eclipse logo.
Comment 1 Remy Suen CLA 2011-06-29 07:19:02 EDT
Can you run Java from the Windows command prompt?
Comment 2 Remy Suen CLA 2011-06-29 07:19:29 EDT
(In reply to comment #0)
> 1.Download Eclipse 3.7 zip file.

Also, what is the name of this file?
Comment 3 Remy Suen CLA 2011-06-29 07:37:33 EDT
(In reply to comment #0)
> The logic is indirect but I have built a strong case that there is something
> wrong with the download.

Also, if you suspect that the download is the problem, you should perform a checksum verification of your download.
Comment 4 Kenneth Ford CLA 2011-06-29 14:45:41 EDT
(In reply to comment #3)
> (In reply to comment #0)
> > The logic is indirect but I have built a strong case that there is something
> > wrong with the download.
> 
> Also, if you suspect that the download is the problem, you should perform a
> checksum verification of your download.

I have performed a checksum. The file is not corrupted. The two sums are the same. Also, as to running from Command line, my copy of Java is in C:\Program Files\Java\jdk1.6.0_25.

How do I code the command to run from the Command Prompt?
Comment 5 Remy Suen CLA 2011-06-29 14:54:08 EDT
(In reply to comment #4)
> Also, as to running from Command line, my copy of Java is in C:\Program
> Files\Java\jdk1.6.0_25.

If you know where your Java is then just spec it in your eclipse.ini file.
http://wiki.eclipse.org/Eclipse.ini