Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Where are the Luna Eclipse log filess(l)
icon5.gif  Where are the Luna Eclipse log filess [message #1575189] Tue, 20 January 2015 17:34 Go to next message
Rob Tanner is currently offline Rob TannerFriend
Messages: 6
Registered: February 2013
Junior Member
Hi,

I've installed Luna and did some web development and that was okay. I just now wrote a short stand-alone java program executable from the command line. And when I tried to run it from within eclipse, I get the following message in the console window: Error: Could not find or load main class MergeSort. But when I tried to execute it from the command line, there was no issue with finding and it ran just fine. Since in the console window, Eclipse isn't providing any useful I want to look at the log files Eclipse generated. Back when, they were in a dot directory (hidden directory) at the top of the workspace, but I can't find them anywhere.

Where does Eclipse write it's internal logs?

Thanks,
Rob
Re: Where are the Luna Eclipse log filess [message #1575378 is a reply to message #1575189] Tue, 20 January 2015 19:57 Go to previous messageGo to next message
Rob Tanner is currently offline Rob TannerFriend
Messages: 6
Registered: February 2013
Junior Member
Hi,

It seems that I found them. They are at the top of the workspace in .metadata/.log. But, there are no log entries that correspond to the time I try to run the program. So a new question: Any ideas about why executing the program within Eclipse returns a can't find main error, or at least some ideas about where I might look?

Thanks,
Rob
Re: Where are the Luna Eclipse log filess [message #1576802 is a reply to message #1575378] Wed, 21 January 2015 14:30 Go to previous message
David Williams is currently offline David WilliamsFriend
Messages: 722
Registered: July 2009
Senior Member
On 01/20/2015 02:57 PM, Rob Tanner wrote:
> Hi,
>
> It seems that I found them. They are at the top of the workspace in
> .metadata/.log. But, there are no log entries that correspond to the
> time I try to run the program. So a new question: Any ideas about
> why executing the program within Eclipse returns a can't find main
> error, or at least some ideas about where I might look?
>
> Thanks,
> Rob
Often, then "things don't run at all", there is a configuration.log
file, in the configuration directory.
And, if running "from within Eclipse" you have to find the "runtime"
directory specified in that launcher.
By default, it's buried, deep under .metadata/plugins/<something>
<something>,
but you can specify it to some other location that's easier to find.
(Similar for the "runtime workspace" ... it's different than the
"workspace" associated with
the "outer" Eclipse instance you are running from.
Good luck!
Previous Topic:Configure/Pre-Configure Eclipse Workspace Settings
Next Topic:Save settings/properties from all plug-ins
Goto Forum:
  


Current Time: Tue Apr 23 17:52:07 GMT 2019

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

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

Back to the top