Some Java Guy
Some Java Guy

Reputation: 5118

Java was started but returned exit code=1073807364

I am using STS, jdk 1.6. It was working fine until now. I am getting this STS pop-up when I start it.

   Java was started but returned exit code=1073807364
   C:/jdk1.6.0_18/bin/javaw.exe
   -Dosgi.requiredJavaVersion=1.5
   ...
   ... /15 more lines of stack on the pop-up window.

Any idea?

Upvotes: 0

Views: 13997

Answers (3)

Douglas Reed
Douglas Reed

Reputation: 21

From my experience, that error (described as "task is running") occurs when there is a thread in blocking mode, and the thread cannot be terminated by being interrupted (per the rules) so it lingers, causing the program to hang, and requiring a kill shot. I have experienced that error as recently as today (Sept 5, 2012), and that was the cause (because I did it deliberately).

There may be other causes, but that is one distinct possibility.

Upvotes: 2

Powerlord
Powerlord

Reputation: 88786

All I can suggest is updating your JDK to the latest release (1.6.0_23) and STS to the latest version (2.5.2) and seeing if the problem still persists.

Upvotes: 1

Saggio
Saggio

Reputation: 2274

Found this; Looks like there is no one problem, that error code can come from a variety of events.

From what I can tell, this error code (0x40010004) arises in all sorts of situations, with (as you noted) no obvious common thread.

However this page says "0x40010004" means "the task is running"! So, I would surmise that the correct way to interpret it is as saying "this tasked has exited in a way that prevented it setting a proper exit code".

I don't know if this will help, but I would try looking in the Windows Event logs to see if the problem is being reported there.

found here: What is the cause of JVM exit code 1073807364?

Upvotes: 2

Related Questions