This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Datagrams - Permission Denied Error
- From: Bryce McKinlay <bryce at waitaki dot otago dot ac dot nz>
- To: Suman Sai <saisuman at hotmail dot com>
- Cc: java at gcc dot gnu dot org
- Date: Sat, 16 Feb 2002 18:30:53 +1300
- Subject: Re: Datagrams - Permission Denied Error
- References: <F158kPiB7ClCyMzeiTK00018938@hotmail.com>
Suman Sai wrote:
> I'm running RedHat 7.1, Kernel 2.4, and GCJ 2.9. I wrote a simple
> program that sends a Datagram Packet to 255.255.255.255. I'm getting a
> "Permission Deined" IOException in DatagramSocket.send().
>
> Any idea why this is happening? Doesn't happen when I run it using the
> Java VM, only when I use gcj.
Can you supply a small test case?
In any case, you should try with at least GCJ 3.0.x. The Java support in
2.9x is very old and we have made many improvements to the libraries
since then.
regards
Bryce.