Solved

Cannot be resolved to a type

Posted on 2010-08-19
4
935 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
  • 2
4 Comments
 
LVL 86

Accepted Solution

by:
CEHJ earned 167 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 166 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 167 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

This was posted to the Netbeans forum a Feb, 2010 and I also sent it to Verisign. Who didn't help much in my struggles to get my application signed. ------------------------- Start The idea here is to target your cell phones with the correct…
Introduction This article is the second of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers the basic installation and configuration of the test automation tools used by…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

760 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now