Solved

Cannot be resolved to a type

Posted on 2010-08-19
4
938 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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
splitOdd10 challenge 5 108
firstswap challenge 20 77
Groovy problem when using SOAPUI : DispatchException occurred 7 45
JavaFX TableView not displaying correctly 3 18
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: …
How to install Selenium IDE and loops for quick automated testing. Get Selenium IDE from http://seleniumhq.org Go to that link and select download selenium in the right hand columnThat will then direct you to their download page.From that page s…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.

809 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