Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » System crash when trying to execute ant task in Eclipse 3.2
System crash when trying to execute ant task in Eclipse 3.2 [message #188589] Wed, 17 January 2007 09:46 Go to next message
Eclipse UserFriend
Originally posted by: LoverBabel.hotmail.com

I don't know whether it is a bug of eclipse or not. I can run ant tasks
successfuly in command line. But when I execute ant task in eclipse 3.2, the
system crashes (blue screen). Here is the information about my computer:

Windows XP SP2
JDK 1.6 / JDK 1.5
Eclipse 3.2 (TPTP, VE, AJDT 1.4)

And I have a firewall installed, but no matter I disable or enable the
firewall the problem still exist.
It can run successfuly on Windows 2003 server.

Can somebody help me?
TIA

Regards,

Alex Fu
Re: System crash when trying to execute ant task in Eclipse 3.2 [message #188807 is a reply to message #188589] Thu, 18 January 2007 19:25 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
Which Ant task(s) is causing the problem?

Are you using the same JDK from the commandline?

Darins

"Alex Fu" <LoverBabel@hotmail.com> wrote in message
news:eokr90$pp5$1@utils.eclipse.org...
>I don't know whether it is a bug of eclipse or not. I can run ant tasks
> successfuly in command line. But when I execute ant task in eclipse 3.2,
> the
> system crashes (blue screen). Here is the information about my computer:
>
> Windows XP SP2
> JDK 1.6 / JDK 1.5
> Eclipse 3.2 (TPTP, VE, AJDT 1.4)
>
> And I have a firewall installed, but no matter I disable or enable the
> firewall the problem still exist.
> It can run successfuly on Windows 2003 server.
>
> Can somebody help me?
> TIA
>
> Regards,
>
> Alex Fu
>
Re: System crash when trying to execute ant task in Eclipse 3.2 [message #188864 is a reply to message #188589] Thu, 18 January 2007 23:44 Go to previous messageGo to next message
Shankar Unni is currently offline Shankar UnniFriend
Messages: 19
Registered: July 2009
Junior Member
Alex Fu wrote:
> I don't know whether it is a bug of eclipse or not. I can run ant tasks
> successfuly in command line. But when I execute ant task in eclipse 3.2, the
> system crashes (blue screen).

Almost always, this is because your video driver has some bug in it, and
Java is hitting it by invoking some hardware acceleration that triggers
that bug.

First step is to get the latest video drivers for your video card from
the manufacturer (not just latest from Microsoft - they're often a year
or more behind).

If that doesn't solve it, try disabling various acceleration options in
Java (at least when run within eclipse, though you'll eventually also
run into the problem with other Java apps or applets if they use
graphics intensively).

In c:\eclipse\eclipse.ini (or wherever your eclipse is installed):

Add *one* of the following options:

-Dsun.java2d.ddoffscreen=false
-Dsun.java2d.noddraw
-Dsun.java2d.d3d=false

(try the first; if that doesn't fix it, replace it with the second,
etc.; they disable successively more of the Java graphics acceleration).
Re: System crash when trying to execute ant task in Eclipse 3.2 [message #189005 is a reply to message #188807] Fri, 19 January 2007 11:52 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: LoverBabel.hotmail.com

"Darin Swanson" <Darin_Swanson@us.ibm.com> wrote:
> Which Ant task(s) is causing the problem?

Any task.

> Are you using the same JDK from the commandline?

Yes
Re: System crash when trying to execute ant task in Eclipse 3.2 [message #189012 is a reply to message #188864] Fri, 19 January 2007 12:12 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: LoverBabel.hotmail.com

Thank you Shankar Unni. I tried the ways you told me. But I got blue screen
every time.
(Crashes every time when Eclipse process bar shows 65%)

My computer is IBM Thinkpad T60 2007-D65.


"Shankar Unni" <shankarunni@netscape.net>
> First step is to get the latest video drivers for your video card from the
> manufacturer (not just latest from Microsoft - they're often a year or
> more behind).

I updated driver program (ATI Mobility Radeon X1400) from ati.com. R

> Add *one* of the following options:
>
> -Dsun.java2d.ddoffscreen=false
> -Dsun.java2d.noddraw
> -Dsun.java2d.d3d=false

I tried these options one by one, but it doesn't work.

+_+

Does this problem exist in Linux? Should I try to install Linux on my
computer?
Any other way?
Re: System crash when trying to execute ant task in Eclipse 3.2 [message #189077 is a reply to message #189005] Fri, 19 January 2007 18:17 Go to previous messageGo to next message
Darin Swanson is currently offline Darin SwansonFriend
Messages: 2386
Registered: July 2009
Senior Member
Sorry I don't have any ideas. We have not had any other reports of this
problem.

Darins

"Alex Fu" <LoverBabel@hotmail.com> wrote in message
news:eoqcjp$gc9$1@utils.eclipse.org...
>
> "Darin Swanson" <Darin_Swanson@us.ibm.com> wrote:
>> Which Ant task(s) is causing the problem?
>
> Any task.
>
>> Are you using the same JDK from the commandline?
>
> Yes
>
Re: System crash when trying to execute ant task in Eclipse 3.2 [message #189093 is a reply to message #189012] Fri, 19 January 2007 20:15 Go to previous message
Shankar Unni is currently offline Shankar UnniFriend
Messages: 19
Registered: July 2009
Junior Member
Alex Fu wrote:

> I updated driver program (ATI Mobility Radeon X1400) from ati.com. R
> I tried these options one by one, but it doesn't work.
> Does this problem exist in Linux? Should I try to install Linux on my
> computer? Any other way?

Hmm. Sorry that didn't help you.. You should definitely file a bug
report at Sun.com about the JDK. I have rarely seen these errors, even
on Windows.

Anyone else have any ideas?

Running on Linux is always an option, if that helps you. Or just run Ant
outside Eclipse.
Previous Topic:How to create JBOSS AS for dubug?
Next Topic:How to hide the jar list in Project explore?
Goto Forum:
  


Current Time: Tue Sep 24 02:03:19 GMT 2024

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

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

Back to the top