JNI Question - I want to open a file for Read/Write

2001-02-07 Thread Santosh Dawara
One more JNI Questions. I am trying to open a file in the usual way, (fopen) However, fopen returns the an unusual NULL. At first I thought I probably did not have permissions. I am sure its not that. Maybe I am not clear as to what JNI can and cannot do. Would anyone be willing to hel

Using A Non-Blocking Connect Call with the Java Native Interface

2001-02-07 Thread Santosh Dawara
I am using Java to call some Native Code, the Native Code basically makes a non blocking connect call and establishes a Socket Connection. I am facing a few problems though. For one if 'connect' returns, errno (see man page for errno, if you don't know what I am talking about) does not

RE: JNI Question - I want to open a file for Read/Write

2001-02-07 Thread Stefaan A Eeckels
On 07-Feb-2001 Santosh Dawara wrote: > I am trying to open a file in the usual way, (fopen) > However, fopen returns the an unusual NULL. At first > I thought I probably did not have permissions. > I am sure its not that. Check the errno after the fopen(). At least, you'll no longer ha

Sun respondes to M$

2001-02-07 Thread Carlos Solorzano
Read this response from Sun to M$, its pretty good :-) http://www.sun.com/dot-com/realitycheck/headsup010205.html --Carlos -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL

font problem

2001-02-07 Thread Zsolt Koppany
Hi, I use the j2re1.3.0 version and when I start an JFC application I get a lot of messages that fonts cannot be found. Additionaly the texts appear with ugly fonts, they are hardly readable. I don't have this problem with jre118. I use Suse-7.x. Do you know how I could solve this font problem?

Re: font problem

2001-02-07 Thread Jacob Nikom
This helped me: Copy the file font.properties file from your jre118 jdk /usr/local/jdk1.1.8/jre/lib/font.properties to your jre1.3.0 (not j2re1.3.0 - there is no separate jre in j2ee) Regards, Jacob Nikom Zsolt Koppany wrote: > Hi, > > I use the j2re1.3.0 version and when I start an JFC appli

Re: font problem

2001-02-07 Thread Zsolt Koppany
I have installed some additional URW fonts, now I don't get the error messages but the texts still look ugly. What is the reason? Jacob Nikom wrote: > > This helped me: > > Copy the file font.properties file from your jre118 jdk > /usr/local/jdk1.1.8/jre/lib/font.properties > to your jre1.3.0