Eclipse (for Java programming) is not working properly....I am not able to run my programs

Asked by abhishek on 2009-11-18

I am using Ubuntu- 9.10 GNOME. Recently I installed ECLIPSE from the Ubuntu Software Centre. But when I tried running my java program, there was no option for running the program. It did not even show the syntax error. I searched a liitle and found out that this eclipse software contains only eclipse platform and does not include any development plug-ins. I have java installed on my computer. I tried finding these required developments but could not find the right one. There are some packages available on net(like eclipse-jdt 3.2.2-5ubuntu3 in amd64 (Release) and some other for Jonty or something like that) but when I tried installing, it gave warnings. Please help me as Ubuntu is the only OS I am working with and this is very important for my curriculum.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu eclipse Edit question
Assignee:
No assignee Edit question
Solved by:
Vikram Dhillon
Solved:
2009-11-21
Last query:
2009-11-21
Last reply:
2009-11-21
wojox (wojox) said : #1

Have you looked on the Ubuntu Help: https://help.ubuntu.com/community/EclipseIDE

abhishek (abhishek-smit) said : #2

I checked it out but the problem still exists. The mentioned forum doesn't give information about the missing packages for Ubuntu Gnome 9.10. The packages mentioned in the forum, either i am not able to install those or those just could not solve the problem.
I am still unable to run any program of java. And the eclipse editor is not showing any syntax error also. Please help.

abhishek (abhishek-smit) said : #3

Error: Dependency is not satisfiable: eclipse-jdt (= 3.1.2-1ubuntu6)

wojox (wojox) said : #4

You could try the Eclipse site and download the Classic bundle:

http://www.eclipse.org/downloads/

abhishek (abhishek-smit) said : #5

@WOJOX
I have downloaded the eclipse setup file. But this is a tar file. I do not know how to install the software from the tar file. Could you please help?

Best Vikram Dhillon (dhillon-v10) said : #6

Alright so don't get the package in the repositories, if you go to the link
that was mentioned, download the .tar. Now just unzip the tar by right
clicking on it and then extracting it. After that it will run just click on
the eclipse file :)

--
Regards,
Vikram Dhillon

On Friday 20 November 2009 04:27:05 am wojox wrote:
> Question #90775 on eclipse in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/eclipse/+question/90775
>
> Status: Open => Answered
>
> wojox proposed the following answer:
> You could try the Eclipse site and download the Classic bundle:
>
> http://www.eclipse.org/downloads/
>

abhishek (abhishek-smit) said : #7

@Vikram....
Yeah...I did that. But the same problem persists. I am not able to run any program. Actually its not showing for java. No syntax error in editor nothing. On the other hand, Java net beans is working absolutely fine. So the problem is with Eclipse software.

Vikram Dhillon (dhillon-v10) said : #8

Alright, so we have narrowed down the problem, which is a good thing. What
version of eclipse do you have. Since you have netbeans installed Java is
present on your system. The syntax highlighting not showing up is very
strange indeed, first update eclipse softwares go to Tools and there you will
find options to check for updates. After that see if anything changes. This
problem is a common bug on Launchpad, [1], [2], [3]. Can you please also send
me a screen-shot, sorry for the pain.

--
Regards,
Vikram Dhillon

On Friday 20 November 2009 04:54:02 pm abhishek wrote:
> Question #90775 on eclipse in ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/eclipse/+question/90775
>
> Status: Answered => Open
>
> abhishek is still having a problem:
> @Vikram....
> Yeah...I did that. But the same problem persists. I am not able to run any
> program. Actually its not showing for java. No syntax error in editor
> nothing. On the other hand, Java net beans is working absolutely fine. So
> the problem is with Eclipse software.
>

abhishek (abhishek-smit) said : #10

Thanks Vikram, that solved my question.