12

I installed eclipse on a new unubtu install, via the package manager. I have Galileo. I copied my home directory from an older machine, and tried to open that workspace. Now I dont see any java perspective.

(Possibly, all the info above is not relevant, but I just wanted to add any possible info, as this a clean install of Eclipse via package manager, so I cant think of any other non standard thing I might have done.)

3
  • even in windows>open perspective>other ?
    – Bozho
    Dec 13, 2009 at 18:19
  • You probably already checked, but just in case: If you choose "Window -> Open perspective -> Other ...", do you see any option for "Java" in that list? Dec 13, 2009 at 18:20
  • No, dont see Java there. Without other, nothing is visible. Inside other I see, Debug, Resource(Default) and Team syncronysing
    – agiliq
    Dec 13, 2009 at 18:21

4 Answers 4

13

What happens if you go to Window > Open Perspective > Other...? Don't you see Java listed there?

If not, I don't think the problem is related to the workspace from your previous configuration. But maybe you did copy a ~/.eclipse directory from your old machine and this one may cause problems. Try to rename it as ~/.eclipse.save for example and restart Eclipse to see if it helps.

2
  • Ok, I renamed eclipse dir, and I can see the Java perspective now. I still dont have any of the create new class or other options etc in File->New or Toolbar. This is what my window looks like, ubuntu-pics.de/bild/34188/screenshot_004_9OLrxw.png
    – agiliq
    Dec 13, 2009 at 18:33
  • Ok. Small step forward. But the name of the Java perspective sill looks strange (I don't have any <> surrounding it). And I have no particular problems with File > New. I don't know what the problem is here. Maybe reinstall the package (purging it completely). Or forget the package and install it manually (see help.ubuntu.com/community/EclipseIDE#User%20installation). I have no problem with a manually installed version. Oh, and don't forget the GDK_NATIVE_WINDOWS trick (see stackoverflow.com/questions/1816485/…). Dec 13, 2009 at 18:53
0

Not sure if you mean you already checked in the usual places for perspectives, or if Java Perspective didn't show up by default...

Java perspective should be available under the "Open Perspective" icon in the top right, or by going to Window -> Open Perspective -> Java.

I don't use the Ubuntu-packaged Eclipse, though...

1
  • Jeff, dont see it there. Also added comment to my question.
    – agiliq
    Dec 13, 2009 at 18:23
0

If you do not have a Java perspective even in "Other", you have downloaded one of the Eclipse versions intended for something else than Java. Do it again, but be certain to get the Java or the Java EE version.

Note that Eclipse IS available in the Ubuntu software repository, but it is the version which was current when that version of Ubuntu came out. For the 9.04 I use it is Eclipse 3.4 and I need 3.5, hence I downloaded it myself.

-7

Yes, without perspective you will never be able to see an Eclipse from the viewpoint of Galileo.

  • The sun's radius (695,500 km) and its distance (149,000,000 km)
  • The moon's radius (1,737.4 km) and its distance (384,403 km)

You will need to do a "perspective divide". So the perspective radii are:

  • Sun: 0.00467
  • Moon: 0.00452

Thanks to this divide, the moon is almost big enough to block out the entire sun.

So, yes, Perspective is needed to show the Eclipse.

1
  • 3
    Actualy I just want to see an image of eclipse, so perspective is not exactly necseaary. But obviously, perspective, esp. someone elses, always helps.
    – agiliq
    Dec 13, 2009 at 18:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.