Go Back   Velocity Reviews > Newsgroups > Java
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

Java - Eclipse terminating, exit code 1

 
Thread Tools Search this Thread
Old 12-12-2003, 11:14 AM   #1
Default Eclipse terminating, exit code 1


Arrrgh! I was opening eclipse during a virus
scan (+ a ..few other things going on) and
it threw a spack, ..or in more technical terms
I got a dialog with the message;

JVM terminated. Exit code=1
C:\WINDOWS\system32\javaw.exe
-cp D:\eclipse\startup.jar org.eclipse.launcher.Main
-os win32
-ws win32
-arch x86
-showsplaxh D:\eclipse\eclipse.exe -showsplash 600

[ I suppose this is the fairy godmother of
advanced IDE's coming back at me for
reprimanding noobs who use them.. ]

http://www.ibm.com/search?q=%2Beclip...+%2Bterminated
did not reveal anything of use..

Can anybody advise how to fix this
problem, or where I'd look for more
information?

TIA

[ Damn them all, I'll return to the command
line if I have to ..so there! ]

--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site




Andrew Thompson
  Reply With Quote
Old 12-12-2003, 11:52 AM   #2
Tim Tyler
 
Posts: n/a
Default Re: Eclipse terminating, exit code 1
Andrew Thompson <> wrote or quoted:

> Arrrgh! I was opening eclipse during a virus
> scan (+ a ..few other things going on) and
> it threw a spack, ..or in more technical terms
> I got a dialog with the message;
>
> JVM terminated. Exit code=1
> C:\WINDOWS\system32\javaw.exe
> -cp D:\eclipse\startup.jar org.eclipse.launcher.Main
> -os win32
> -ws win32
> -arch x86
> -showsplaxh D:\eclipse\eclipse.exe -showsplash 600


....and now it won't start again?

You know about deleting the ".lock" file - in your workspace?
--
__________
|im |yler http://timtyler.org/ Remove lock to reply.


Tim Tyler
  Reply With Quote
Old 12-12-2003, 11:53 AM   #3
Tim Tyler
 
Posts: n/a
Default Re: Eclipse terminating, exit code 1
The other thing to do is to kill any and all "eclipse" processes
before retrying.
--
__________
|im |yler http://timtyler.org/ Remove lock to reply.


Tim Tyler
  Reply With Quote
Old 12-12-2003, 12:12 PM   #4
Andrew Thompson
 
Posts: n/a
Default Re: Eclipse terminating, exit code 1
"Tim Tyler" <> wrote in message news:...
> The other thing to do is to kill any and all "eclipse" processes
> before retrying.

...
I shut-down and restarted the machine.
No good, still that same error.

--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site




Andrew Thompson
  Reply With Quote
Old 12-12-2003, 12:17 PM   #5
Andrew Thompson
 
Posts: n/a
Default Re: Eclipse terminating, exit code 1
"Tim Tyler" <> wrote in message news:...
> Andrew Thompson <> wrote or quoted:
>
> > Arrrgh! I was opening eclipse .....
> > I got a dialog with the message;

....
> You know about deleting the ".lock" file - in your workspace?


No I didn't, you mean this one?
'.metadata/.lock'

Should I delete the file, or the entire directory?

--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site




Andrew Thompson
  Reply With Quote
Old 12-12-2003, 02:16 PM   #6
Tim Tyler
 
Posts: n/a
Default Re: Eclipse terminating, exit code 1
Andrew Thompson <> wrote or quoted:
> "Tim Tyler" <> wrote in message news:...
>> Andrew Thompson <> wrote or quoted:


>> > Arrrgh! I was opening eclipse .....
>> > I got a dialog with the message;

> ...
>> You know about deleting the ".lock" file - in your workspace?

>
> No I didn't, you mean this one?
> '.metadata/.lock'


Yes.

> Should I delete the file, or the entire directory?


The file is normally all that's needed.

If it's there, Eclipse won't start (though you should at least
get an error message) - and Eclipse *often* leaves it behind
when it crashes.

The whole thing is a pretty broken implementation, really...
--
__________
|im |yler http://timtyler.org/ Remove lock to reply.


Tim Tyler
  Reply With Quote
Old 12-12-2003, 03:09 PM   #7
Andrew Thompson
 
Posts: n/a
Default Re: Eclipse terminating, exit code 1
> > "Tim Tyler" <> wrote in message
news:...
> >> Andrew Thompson <> wrote or quoted:

>
> >> > Arrrgh! I was opening eclipse .....
> >> > I got a dialog with the message;

> > ...
> >> You know about deleting the ".lock" file - in your workspace?


Unfortunately it has no effect. :-/

Eclipse still crashes with the same error
message and creates a new .lock file for
my amusement and edification.

I was considering uninstalling and reinstalling
Eclipse - that might kick the .lock out of it.

Any other ..less severe suggestions before I
try that?

[ BTW Tim - Your sig. seems rather ironic, in
this thread.. ]

--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site




Andrew Thompson
  Reply With Quote
Old 12-12-2003, 03:46 PM   #8
Sudsy
 
Posts: n/a
Default Re: Eclipse terminating, exit code 1
Tim Tyler wrote:
<snip>
> If it's there, Eclipse won't start (though you should at least
> get an error message) - and Eclipse *often* leaves it behind
> when it crashes.
>
> The whole thing is a pretty broken implementation, really...


Aha! So it's not just me who's found that Eclipse is a bit
"fragile". I keep my projects in separate directories just
so that WHEN (not IF) I have to reinstall Eclipse I don't
lose my work. I end up having to reload elements like the
JBoss-IDE and the apache jar (for certain tags) but I've
gotten used to it by now.
It also screws up royally under Linux if you accidentally
run two instances (a slip of the button finger) so I've
written shell scripts to prevent that from happening.
Finally, there are memory leaks such that you can only do
a limited number of build/redeploy cycles before you get
the OutOfMemoryError.
Still, when it DOES work it can enhance productivity if
you're developing EJBs.
Like everything else, it's a trade-off.



Sudsy
  Reply With Quote
Old 12-12-2003, 04:00 PM   #9
Andrew Thompson
 
Posts: n/a
Default Re: Eclipse terminating, exit code 1
"Sudsy" <> wrote in message
news:...
> Tim Tyler wrote:
> <snip>
> > If it's there, Eclipse won't start (though you should at least
> > get an error message) - and Eclipse *often* leaves it behind
> > when it crashes.
> >
> > The whole thing is a pretty broken implementation, really...

>
> Aha! So it's not just me who's found that Eclipse is a bit
> "fragile".

<SNIP FRAGILITY>
......
> Still, when it DOES work


You mean, Sudsy, you have spare time -
after what you've detailed above?

>..it can enhance productivity if
> you're developing EJBs.


..._anything_ else?

> Like everything else, it's a trade-off.


My estimation of the benefit of that trade-off
is slipping more toward 'command line' by
the moment..

--
Andrew Thompson
* http://www.PhySci.org/ PhySci software suite
* http://www.1point1C.org/ 1.1C - Superluminal!
* http://www.AThompson.info/andrew/ personal site




Andrew Thompson
  Reply With Quote
Old 12-12-2003, 04:45 PM   #10
Sudsy
 
Posts: n/a
Default Re: Eclipse terminating, exit code 1
Andrew Thompson wrote:
<snip>
<snip>
>>Still, when it DOES work

>
>
> You mean, Sudsy, you have spare time -
> after what you've detailed above?


Okay, so it burned me on a few occasions and it DID waste
valuable time. It's still worth giving it a try, even if
only to determine the net gain/loss.

>>..it can enhance productivity if
>>you're developing EJBs.

>
>
> .._anything_ else?


It's also good for Struts, interestingly enough. I create
entire apps (JSPs, HTML pages, EJBs, servlets, custom tags,
ActionForms, Actions etc.) in Eclipse and the XDoclet tags
and ant support make for a nicely structured build
environment.

>>Like everything else, it's a trade-off.

>
>
> My estimation of the benefit of that trade-off
> is slipping more toward 'command line' by
> the moment..


I wouldn't throw in the towel just yet. If you stick with
it then you might develop an environment which works MOST
of the time.
I'll still keep my custom tools around, however.



Sudsy
  Reply With Quote
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How To Access HTML elements in code behind??? nedums_b Software 1 02-07-2008 07:15 PM
i need eclipse code for Retrieve data from an oracle database little programmer Software 0 04-19-2007 01:14 PM
Circumvent Region Code hufaunder@yahoo.com DVD Video 11 01-29-2007 09:51 PM
.avi files giving region code error Craig Cameron DVD Video 2 03-07-2006 02:49 PM
"The biggest scandal to ever hit American politics" Jas DVD Video 149 12-05-2004 02:47 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46