Java help font and character separation
Using Javahelp in an application that runs on Windows and Linux, the text looks fine on Windows but on Linux the character separation is very poor. Some words run together, while there are gaps inside words as large as should be between words. The font is pretty rough, too. Can anything be done? -- Stuart Wier UCAR Unidata Program [EMAIL PROTECTED] P.O. Box 3000 http://www.unidata.ucar.edu/staff/wier Boulder, CO 80307 -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
native threads on arm linux (jdk118_v2)
Hi, I'm trying to run java with native threads option with Blackdown jdk118_v2 for arm. I get the following error message and I'd like to know if anyone has an idea of how I can solve this problem. It seems that jdk118_v2 is the only one with native threads support for arm, correct me if I'm wrong. I need to use native threads in order to interface a native C library with JNI. [root@strongarm /pub]$java -native CenteredTest.java /pub/jdk118_v2/bin/armv4l/native_threads/java: error in loading shared libraries: /pub/jdk118_v2/lib/armv4l/native_threads/libjava.so: undefined symbol: __udivsi3 Thanks, Sophie Benoit [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
java socket port
Hi, I have a problem with my java ServerSocket. At first I created a ServerSocket at port 34567. I run the program, it works fine. Then I stopped the server, and edit and recompile the program. If I run it again, I got the following IOException error message:" Adddress already in use". So I have to change port number each time I want to modify my code. But if I run my code on window, I didn't get any problem. I append my code below. Can anybody help me ? Thanks in advance. Zhihong Pan Chek, Inc public class MyServer { public static void main(String[] args) throws IOException { ServerSocket serverSocket = null; boolean listening = true; try { serverSocket = new ServerSocket(34567); } catch (IOException e) { System.out.println(e.getMessage()); System.exit(-1); } while (listening) new MyServerThread(serverSocket.accept()).start(); serverSocket.close(); } } -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: java socket port
How do you close your program? If you just "ctrl-c" it, the socket is not closed properly. You need a way to tell the server to stop listening (setting your listening variable to false) and it will be fine. bye, Sophie Benoit -Original Message- From: Zhihong Pan [mailto:[EMAIL PROTECTED]] Sent: Monday, April 02, 2001 1:56 PM To: [EMAIL PROTECTED] Subject: java socket port Hi, I have a problem with my java ServerSocket. At first I created a ServerSocket at port 34567. I run the program, it works fine. Then I stopped the server, and edit and recompile the program. If I run it again, I got the following IOException error message:" Adddress already in use". So I have to change port number each time I want to modify my code. But if I run my code on window, I didn't get any problem. I append my code below. Can anybody help me ? Thanks in advance. Zhihong Pan Chek, Inc public class MyServer { public static void main(String[] args) throws IOException { ServerSocket serverSocket = null; boolean listening = true; try { serverSocket = new ServerSocket(34567); } catch (IOException e) { System.out.println(e.getMessage()); System.exit(-1); } while (listening) new MyServerThread(serverSocket.accept()).start(); serverSocket.close(); } } -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
RE: java socket port
To me, this sounds like the programs you're running aren't really dead. "Address already in use" usually means that some other program has opened a socket on that port. Try something like ps uxwa | fgrep java and see if the processes are still around. If they are then you can kill them using 'kill'. Sean Benoit Sophie writes: > How do you close your program? If you just "ctrl-c" it, the socket is not > closed properly. You need a way to tell the server to stop listening > (setting your listening variable to false) and it will be fine. > > bye, > Sophie Benoit > > -Original Message- > From: Zhihong Pan [mailto:[EMAIL PROTECTED]] > Sent: Monday, April 02, 2001 1:56 PM > To: [EMAIL PROTECTED] > Subject: java socket port > > > Hi, > > I have a problem with my java ServerSocket. At first I created a > ServerSocket at port 34567. I run the program, it works fine. Then I stopped > the server, and edit and recompile the program. If I run it again, I got the > following IOException error message:" Adddress already in use". So I have to > change port number each time I want to modify my code. But if I run my code > on window, I didn't get any problem. I append my code below. Can anybody > help me ? > > Thanks in advance. > > Zhihong Pan > Chek, Inc > > > public class MyServer { > > public static void main(String[] args) throws IOException { > > ServerSocket serverSocket = null; > boolean listening = true; > > try { > serverSocket = new ServerSocket(34567); > } catch (IOException e) { > System.out.println(e.getMessage()); > System.exit(-1); > } > > while (listening) > new MyServerThread(serverSocket.accept()).start(); > > serverSocket.close(); > } > } > > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > > > -- > To UNSUBSCRIBE, email to [EMAIL PROTECTED] > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED] > -- Sean R. Owens [EMAIL PROTECTED] 412-268-3194 (office number) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: DDD
David Brownell wrote: > Heh ... the real fun begins when the last name-mangling issues get > resolved, and folk start using DDD with GCJ compiled code! :) > I don't know if it'll work with interpreted code though. Yeah, there isn't really a solution for debugging interpreted code w/ GCJ (our interpreter doesn't even support stack traces, yet). Ideally, we'd implement the JVMDI in libgcj and allow seamless stepping between compiled and interpretted/JITted classes, but to do that we'd really need to use BFD, and there are some licensing issues there that would need to be worked through (or around). regards [ bryce ] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Re: 1.3 source diffs?
On Fri, 30 Mar 2001, John R. MacMillan wrote: > Where can I find the 1.3.0 source diffs? I've poked around the > website and ftp mirrors, and the mailing list archive but haven't > found anything. There are no 1.3.0 diffs currently. I'll make a diff against the SCSL code for our next release. Juergen -- Juergen Kreileder, Blackdown Java-Linux Team http://www.blackdown.org/java-linux.html JVM'01: http://www.usenix.org/events/jvm01/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]