• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Eclipse for java

 
michael yue
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have just downloaded and using eclipse 3.1. I follow the help manual and it mentioned
Select the menu item Window > Preferences to open the workbench preferences.
Select Java > Installed JREs in the tree pane on the left to display the Installed Java Runtime
Environments preference page

Problem is i cannot find the Java tree anywhere in the workbench preferences. Am I missing something here. Please guide me. Thanks.
 
Seb Mathe
Ranch Hand
Posts: 225
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take care of the filter textfield in the top-left corner of the box...
Try to clear it or type "Java" to filter preferences entries.
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You probably downloaded the wrong edition of Eclipse.

Although Eclipse is most famous as a Java IDE, it's actually, as they point out on their home page -- a framework for just about anything. So for the benefit of those who don't want Java and want a smaller download, they supply a non-JDT version of Eclipse.

I've been suckered once or twice myself, though last time around it seemed easier to find the right one. It (used to be?) labelled somethng like Eclipse-JDK.
 
michael yue
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

There is only one eclipse 3.1 zip file available for download at their site. The name of the file is eclipse-SDK-3.1-win32.zip. I didnt find any other file with name eclipse jdk. Am I the only one having this problem.
 
michael yue
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can some one help me. Is it have to do because i install jdk in a directory with space? I installed j2se5 in c:/Program Files/
But eclipse seems to be able to detect it from the config details at the help menu.
 
Marilyn de Queiroz
Sheriff
Posts: 9059
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should see something like this:
 
michael yue
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

My eclipse dont have the Java dropdown in the menu. I am not sure why it is like this. Is there any settings I suppose to do?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by lin park:
Hi

There is only one eclipse 3.1 zip file available for download at their site. The name of the file is eclipse-SDK-3.1-win32.zip. I didnt find any other file with name eclipse jdk. Am I the only one having this problem.


You've got the right file (it was "SDK", not "JDK", I'm just senile).

On the "Window" menu under "Open Perspective" are there any Java Perspectives such as "Java", "Java Browsing"?

I unzip my copy of Eclipse straight to the root, Btw. Since Eclipse doesn't play Registry games, you can try doing the same and seeing if C:\eclipse\eclipse.exe works any different.
 
michael yue
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The open perspective menu also dont have any Java perspectives. I know theres suppose to be in there but it just isn't there. I have tried moved the eclipse folder to c: directory after unzipping at another folder which also encounter same problem. But after put in c: dir also reveals same problem. Should I download again the eclipse and unzip again ?
 
Mr. C Lamont Gilbert
Ranch Hand
Posts: 1170
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
somehow you got a version without a JDT plugin. You got the wrong one somehow. look in eclipse/plugins folder and see if you see anything like

org.eclipse.jdt_3.1.0.jar

and others with 'jdt' in their names.
 
michael yue
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I checked and the jdt jar files is in the plugin folder. Any other ideas?
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One last try. On the File/New menu, try and create a new project. See if if gives options to create Java Projects. If so, create a simple Java Project and see if the additional perspectives don't magically appear. If there's no option for creating Java projects, I'd go back and download again.

Also, if you're attempting to run Eclipse from the command line, make sure that your PATH isn't pointing somewhere else.

And make sure you have a JAVA_HOME environment variable pointing to an installed JDK. Eclipse doesn't come with a JDK. Though that normally results in a message when you attempt to start up eclipse.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic