LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-09-2007, 02:35 PM   #1
Learath
LQ Newbie
 
Registered: Oct 2007
Posts: 5

Rep: Reputation: 0
eclipse two errors


Hi,
When I'm starting eclipse I get the following errors:

error creating the view
java.lang.NullPointerException

and

error creating the view
org.eclipse.core.runtime.Plugin

anyone know how to solve these problems?
 
Old 11-24-2007, 08:57 AM   #2
andrers2b
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Rep: Reputation: 0
I'm getting the same errors. I followed the instructions to install Java and Eclipse at: csfalcon dot com (I can't post the links, according to the forum rules)

Any ideas? Thanks
 
Old 11-24-2007, 09:39 AM   #3
zhoun
Member
 
Registered: Oct 2007
Location: anywhere
Distribution: slackware64 current & win7 64 on thinkpad X61
Posts: 104

Rep: Reputation: 18
Code:
$ java -version
Please use the cmd to verify the current java version.

Maybe 2 reason:
1. java version
2. eclipse install files corrupted

first to confirm the java version.
 
Old 11-24-2007, 02:13 PM   #4
andrers2b
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Rep: Reputation: 0
java version "1.5.0"
gij (GNU libgcj) version 4.2.1 (Ubuntu 4.2.1-5ubuntu5)
 
Old 11-24-2007, 08:11 PM   #5
zhoun
Member
 
Registered: Oct 2007
Location: anywhere
Distribution: slackware64 current & win7 64 on thinkpad X61
Posts: 104

Rep: Reputation: 18
Then the eclipse installed by yourself or apt by distro?

Ubuntu have jdk and eclipse packages in the depository, you can use apt-get to install the packages.

You can also read the eclipse log files in the configure dir for detail infomation about the corrupt.
 
Old 11-25-2007, 04:16 PM   #6
andrers2b
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Rep: Reputation: 0
Thanks for the suggestion, but I'm not being successful with apt-get either.

Code:
$ sudo apt-get install eclipse-platform
The following packages have unmet dependencies:
  eclipse-platform: Depends: java-common (>= 0.23) but it is not installable
                    Depends: eclipse-rcp (= 3.2.2-3ubuntu3) but it is not going to be installed
                    Depends: libjsch-java (>= 0.1.28) but it is not installable
                    Depends: libtomcat5.5-java but it is not going to be installed


$ sudo apt-get install java-common eclipse-platform
Package java-common is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
 
Old 11-26-2007, 04:14 AM   #7
zhoun
Member
 
Registered: Oct 2007
Location: anywhere
Distribution: slackware64 current & win7 64 on thinkpad X61
Posts: 104

Rep: Reputation: 18
google search, key words:
ubuntuforums Installing and setting up Eclipse with Sun's Java

good luck.
 
Old 11-27-2007, 01:31 AM   #8
andrers2b
LQ Newbie
 
Registered: Nov 2007
Posts: 4

Rep: Reputation: 0
I got it.

I don't know what version of Java it was running, but when I specified the path to the vm I just downloaded (/path/to/eclipse -vm /path/to/java/executable), it worked. I downloaded both Java and Eclipse and NOT USED APT-GET.

Thanks Matt for the tip and for everyone who posted.

Andre
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Gentleware Unveils New Apollo for Eclipse and openArchitectureWare Eclipse Dist LXer Syndicated Linux News 0 10-25-2007 10:30 PM
about eclipse nerd Debian 5 08-02-2007 06:43 AM
Errors, Errors, and more Errors (KDE 3.4.x GUI Errors) Dralnu Linux - Software 2 05-13-2006 09:30 AM
LXer: Netbeans attempts to eclipse Eclipse LXer Syndicated Linux News 0 04-17-2006 10:54 PM
can not start eclipse many errors GhostBox Linux - Software 3 11-03-2005 01:59 PM


All times are GMT -5. The time now is 10:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration