readthefuckingmanual.net

[SOLVED] org.apache.tools.ant.ExitException: Permission (java.lang.RuntimePermission exitVM) was not granted.

Error added: 2007-07-26T12:45:47Z

1 people waiting for the answer...

7 answers found.

Answer 571 (80.95238% helpful)

I got this and fixed it by switching fork=\"false\" to fork=\"true\" when using the \"java\" task:

<java fork=\"true|false\" ... />
Permalink

Answer 631 (60.0% helpful)

changing fork=\"true\" resolves this problem
Permalink

Answer 593 (40.0% helpful)

Thank you!  Perfect!
Permalink

Answer 1417 (33.333332% helpful)

Great, this sorted my issue out.
Permalink

Answer 1480 (33.333332% helpful)

That worked
Permalink

Answer 581 (0.0% helpful)

Thanx a lot.. I fixed my bug with that.
Permalink

Answer 835 (0.0% helpful)

Well fork is not an \'ideal\' solution. Instead use the <permissions> tag with the java tag. - Imran
Permalink

Add an answer/solution

If you know the answer, please add your own solution below.
If you don't know, but find out later, please come back and share your answer - there will be other people struggling with this too.


Please enter 61948 here

If you want to be notified via email when this is solved, enter your email address here: