Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Eclipse error, closed views and edit windows now can't compile(I DESPERATELY NEED HELP CONFIGURING ECLIPSE TO COMPILE)
icon8.gif  Eclipse error, closed views and edit windows now can't compile [message #731096] Thu, 29 September 2011 23:52 Go to next message
cajunchief  is currently offline cajunchief Friend
Messages: 2
Registered: September 2011
Junior Member
Yesterday,
I closed all the view and edit windows and then closed eclispe.
later when i logged back in I didn't have all the regular windows.

I took me most of the day but i managed to get the Hierarchy, edit and outline windows back open. YEAH!

Then i opened my class program and then clicked on the green button. It gave me the following message:


SELECT WHAT TO RUN:


ANT Build
ANT Build

Additionally, I made a change and added new window and made a change to the debug configuration and now have a new configuration under the Java application.
However, when I try and run a compile I get the following message:

Error occurred during initialization of VM
java/lang/NoClassDefFoundError: java/lang/Object


Where did my compiler options go. I need to compile my java application. How do I GET them back! HELP. I AM A ECLIPSE AND JAVA NEWBIE!!!!

[Updated on: Fri, 30 September 2011 02:39]

Report message to a moderator

Re: Eclipse error, closed views and edit windows now can't compile [message #731168 is a reply to message #731096] Fri, 30 September 2011 07:18 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 30.09.2011 01:52, cajunchief wrote:
> Yesterday,
> I closed all the view and edit windows and then closed eclispe.
> later when i logged back in I didn't have all the regular windows.
>
> I took me most of the day but i managed to get the Hierarchy, edit and
> outline windows back open. YEAH!
You can either open a new perspective (Window > Open Perspective > ) or
try to reset the current one (Window > Reset Perspective...).

Dani
>
> Then i opened my class program and then clicked on the green button.
> It gave me the following message:
>
>
> SELECT WHAT TO RUN:
>
>
> ANT Build
> ANT Build
>
> Where did my compiler options go. I need to compile my java
> application. How do I GET them back! HELP. I AM A ECLIPSE AND JAVA
> NEWBIE!!!!
Re: Eclipse error, closed views and edit windows now can't compile [message #731278 is a reply to message #731096] Fri, 30 September 2011 14:02 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
Make sure that the JRE in your Preferences is still pointing to a valid location. java.lang.Object is retrieved from the JRE assigned to the workspace/project.
Re: Eclipse error, closed views and edit windows now can't compile [message #734193 is a reply to message #731278] Fri, 07 October 2011 01:20 Go to previous messageGo to next message
cajunchief  is currently offline cajunchief Friend
Messages: 2
Registered: September 2011
Junior Member
dpwegener,

I sort of understand what you are saying, but let me ask you this: how do I change it to point to the java.lang.Object in the JRE?
Re: Eclipse error, closed views and edit windows now can't compile [message #734960 is a reply to message #734193] Mon, 10 October 2011 14:24 Go to previous message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
You define the location of the JRE/JDK in Window->Preferences->Java->Installed JREs. This needs to point to a valid JRE/JDK. You should also check the Build Path of the project to make sure it is using the workspace default on the Libraries tab.
Previous Topic:Workspace corruption with Mac Lion
Next Topic:pre-build stripping backslashes from SubWCRev cmd
Goto Forum:
  


Current Time: Tue Mar 19 10:39:19 GMT 2024

Powered by FUDForum. Page generated in 0.03615 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top