?
Solved

Cannot be resolved to a type

Posted on 2010-08-19
4
Medium Priority
?
942 Views
Last Modified: 2013-12-14
We've installed eclipse and JRE (both 64 bit) on a 64 bit machine running WIndows Vista and are getting errors saying the claases like File, FileReader, and String cannot be resolved to a type.

Any guesses as to what is wrong?
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
4 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 668 total points
ID: 33478729
Probably an incorrect runtime installation. Try making sure JAVA_HOME is set before starting Eclipse
0
 
LVL 10

Assisted Solution

by:Hegemon
Hegemon earned 664 total points
ID: 33479520
Incorrect setup: more than one JRE is being used, i.e. one by the IDE and another by the compiler. Make sure you follow Eclipse installation instructions.
0
 
LVL 92

Assisted Solution

by:objects
objects earned 668 total points
ID: 33480972
goto jre's in the preferences and make sure you are using the correct one
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 33559970
:-)
0

Featured Post

Industry Leaders: 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!

Question has a verified solution.

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

Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project (http://www.eclipse.org/sequoyah/) automates most of the tasks discussed in this article. You can even fin…
Jaspersoft Studio is a plugin for Eclipse that lets you create reports from a datasource.  In this article, we'll go over creating a report from a default template and setting up a datasource that connects to your database.
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month9 days, 15 hours left to enroll

762 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