This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Datagrams - Permission Denied Error


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.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]