I wanted to start learning java but Eclipse is giving me some trouble.
Related searches
java se 7 sdkat UpdateStar
Descriptions containing
java se 7 sdk
Verificare Presenza Java Se Sdk Windows 7 DownloadMost recent searches
First of all I'm a beginner with Java with little to no knowledge about it. I want to use 'JavaSe-1.7'. I have no clear reason to use it besides using the latest version. After downloading Eclipse (Eclipse IDE for Java Developers) I created a new Java project and selected 'use an execution eviorment JRE : JavaSE-1.7'. This directly popped the notification saying 'The default compiler compliance level for the current workspace is 1.6. The new project will use a project specific compiler compliance level of 1.7.'. I finished creating the project and started following some tutorials.
However I noticed directly I have 2 errors which dont explain anything or have a source. I ignored it and started typing and tried to import 'java.io.console' however it said 'The import java.io cannot be resolved' and I have no idea what is the cause of it neither how to fix this.
Would like some instructions into the right direction.
Thanks in advance
JohnJohn
64433 gold badges1111 silver badges2727 bronze badges
Java2 Answers
You may not have your JDK/JRE set up correctly.
Check the following:
The message you receive about project specific compiler compliance level is not a problem, it just means that your workspace is set up to comply to java 1.6 but your project will comply to java 1.7 standards. Also, Java 7 in general is no problem whatsoever.
Paths may differ, especially if you're not running a *nix OS. Just point the location to where you installed your JDK.
DariopDariop
Check your Eclipse preferences: Java -> Installed JREs. Detect spyware mac. The one that you're using should be marked and it should be a JDK not just a JRE.
Also check your project's build path: Right click on the project -> Properties -> Java Build Path Check in the 'libraries' folder whether the JRE System Library is present and if not add it using 'Add library'->'JRE System Library' and then select the correct one (from an installed JDK).
ThomasThomas
71.9k1010 gold badges9494 silver badges130130 bronze badges
Not the answer you're looking for? Browse other questions tagged javawindowseclipseide or ask your own question.
I've installed Java SE Development Kit 1.6.0_31 32bit on Windows 7 64bit system, but this installation messed up my system, e.g. when I start Google Chrome I get error
Autocad 2016 32bit crack version download. Your preferences can not be read
Visual Studio 2010 after launching shows error that
The Application Data folder for Visual Studio could not be created
The shortcut to the Downloads folder in Windows Explorer no longer works. BTW this is pretty clean install, on other occasions after Java installation I hadproblems like thishttp://forums.techguy.org/windows-vista/808717-solved-c-windows-system32-config.html
Is there a way to install Java SDK without messing up Windows 7? Or maybe this mess can be cleaned up after installation of Java, but how?
robert_d
robert_drobert_d
2 Answers
Use System Restore to restore your system to a date prior to your installation of Java.
Traveling Tech GuyTraveling Tech Guy
8,19677 gold badges2828 silver badges3838 bronze badges
I've resolved my problem. I had to change Region and Language settings to English (US). Previously I had mixed English and metric settings. BTW if you are going to use Adroid SDK, you have to install 32bit Java - stupid Android installer won't find 64bit Java.
robert_drobert_d
Not the answer you're looking for? Browse other questions tagged windows-7java or ask your own question.Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |