質問

preferences screenI finished installing Eclipse 3.7.2 (Indigo) on my Ubuntu 12.04 system.

I am unable to have any options pertaining to either creating a Java project, running one as a Java project, can't find any of the Java preferences for JRE settings... There is no Java Development Toolkit in the Help section. I had all this earlier, I am not sure what changed. I am assuming that this has something to do with the SDK but have no other clue.

installed components

役に立ちましたか?

解決 2

Install your preffered JDK, then go Preferences -> Java -> Installed JREs and point to the fresh install.

Also, check Preferences -> General -> Capabilities. Make sure you have Development selected.

他のヒント

You might not have a system JRE installed. Press ctl + alt + T to open your Terminal and then try running:

sudo apt-get install default-jre

Note: this will install Java 1.7, if you want 1.6 then you have to specify that

Then in Eclipse, make sure you have your environment setup correctly.

If you want the official JavaDoc, here how to set it up:

How do I add the Java API documentation to Eclipse?

Here is a link to the JavaDoc that you can use in your preferences:

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top