Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 350643 - Cannot find Java - Crashes on startup
Summary: Cannot find Java - Crashes on startup
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows 7
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-28 20:00 EDT by Kenneth Ford CLA
Modified: 2011-06-29 14:54 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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