aspose file tools*
The moose likes IDEs, Version Control and other tools and the fly likes Eclipse for java Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Eclipse for java" Watch "Eclipse for java" New topic
Author

Eclipse for java

michael yue
Ranch Hand

Joined: Nov 20, 2003
Posts: 204
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

Joined: Sep 28, 2005
Posts: 225
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.


Regards,<br />Seb<br /> <br />SCJP 1.4
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15665
    
  15

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.


Customer surveys are for companies who didn't pay proper attention to begin with.
michael yue
Ranch Hand

Joined: Nov 20, 2003
Posts: 204
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

Joined: Nov 20, 2003
Posts: 204
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

Joined: Jul 22, 2000
Posts: 9043
    
  10
You should see something like this:


JavaBeginnersFaq
"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
michael yue
Ranch Hand

Joined: Nov 20, 2003
Posts: 204
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

Joined: Jun 25, 2001
Posts: 15665
    
  15

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

Joined: Nov 20, 2003
Posts: 204
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

Joined: Oct 05, 2001
Posts: 1170

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

Joined: Nov 20, 2003
Posts: 204
I checked and the jdt jar files is in the plugin folder. Any other ideas?
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15665
    
  15

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.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Eclipse for java
 
Similar Threads
Error compiling generics
how to decrease the font size of eclipse in linux?
cvs and eclipse 2.0.1
Eclipse & Assert
How to run servlet program in eclipse