From owner-freebsd-java Sun May 24 16:59:58 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA07190 for freebsd-java-outgoing; Sun, 24 May 1998 16:59:58 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from rah.star-gate.com (rah.star-gate.com [209.133.7.234]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA07181 for ; Sun, 24 May 1998 16:59:42 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.8/8.8.8) with ESMTP id QAA14647 for ; Sun, 24 May 1998 16:59:39 -0700 (PDT) (envelope-from hasty@rah.star-gate.com) Message-Id: <199805242359.QAA14647@rah.star-gate.com> X-Mailer: exmh version 2.0.2 2/24/98 To: freebsd-java@FreeBSD.ORG Subject: Interview's Glyph for Java 8) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 24 May 1998 16:59:39 -0700 From: Amancio Hasty Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Enjoy, Amancio http://24.1.71.226/software/sgraphics/index/index.html Introduction Sgraphics is a Java based extension to awt. It is based on the ideas of Fresco and InterViews, but is much simpler. Sgraphics is a glyph based graphical system for drawing graphical objects, like squares and circles. It can also embed AWT components with graphical objects, allowing the user to create rich interfaces. Sgraphics should be used whenever it is necessary to use geometry management within an AWT Canvas, when it is necessary to mix AWT Components and graphical objects, or when more complex geometry management is needed. Sgraphics also includes direct manipulation graphics support (called the edit package) with tools, manipulators, and commands for building 2-dimensional editing tools. For example, one could design a class diagram editor with it. The edit package does not supply every type of figure, tool, or manipulator, but rather provides a framework for building your own. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Sun May 24 17:00:24 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA07394 for freebsd-java-outgoing; Sun, 24 May 1998 17:00:24 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: (from jmb@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA07388 for java; Sun, 24 May 1998 17:00:23 -0700 (PDT) (envelope-from jmb) From: "Jonathan M. Bresler" Message-Id: <199805250000.RAA07388@hub.freebsd.org> Subject: are key accelerators for FixedJButtons still broken? To: java Date: Sun, 24 May 1998 17:00:22 -0700 (PDT) X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org i am using the JDK-1.1.5 and SwingSet-1.0.2 for FreeBSD. jdk-1.1.5 was downloaded from www.freebsd.org/java. swing-1.0.2 was downloaded from java.sun.com. i downloaded the HelloSwing.java code, compiled and it runs fine....but the alt-i key accelerator does not work. downloaded FixedJButton.java and compiled that will HelloSwing.java....no go. alt-i does not work. anyone else seen this? is there a known work around? the workaround FixedJButton is described at: http://java.sun.com/docs/books/tutorial/ui/swing/workaround.html the code for FixedJButton.java is at: http://java.sun.com/docs/books/tutorial/ui/swing/example-swing/FixedJButton.java the code for HelloSwing.java is at: http://java.sun.com/docs/books/tutorial/ui/swing/example-swing/HelloSwing.java here is the diff for the fix, as i understand it (this may be the crux of the problem ;) *** HelloSwing.java Sun May 24 19:57:45 1998 --- HelloSwingFixed.java Sun May 24 19:58:36 1998 *************** *** 15,21 **** //XXX: Due to a 1.0.2 bug, must use FixedJButton instead of JButton //XXX: if you want mnemonics to work. //XXX: See ui/swing/workaround.html for details. ! JButton button = new JButton("I'm a Swing button!"); button.setMnemonic('i'); button.addActionListener(this); button.getAccessibleContext().setAccessibleDescription( --- 15,21 ---- //XXX: Due to a 1.0.2 bug, must use FixedJButton instead of JButton //XXX: if you want mnemonics to work. //XXX: See ui/swing/workaround.html for details. ! JButton button = new FixedJButton("I'm a Swing button!"); button.setMnemonic('i'); button.addActionListener(this); button.getAccessibleContext().setAccessibleDescription( jmb To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 28 09:20:52 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA05179 for freebsd-java-outgoing; Thu, 28 May 1998 09:20:52 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ivz.t-networking.com (ivz.t-networking.com [206.117.19.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA05141; Thu, 28 May 1998 09:20:45 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Received: from localhost (zvi@localhost) by ivz.t-networking.com (8.8.8/8.8.8) with SMTP id JAA00787; Wed, 27 May 1998 09:21:29 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Date: Wed, 27 May 1998 09:21:29 -0700 (PDT) From: Brad To: freebsd-java@FreeBSD.ORG cc: java-port@FreeBSD.ORG Subject: SIGSEGV 11* segmentation violation Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org This is the error code I get when ever I try to compile a *.java file It never works. Any of the apps in the java port will not compile. Please Help!!! Im using FreeBSD 2.2.6 and the latest port. Thanks This is what happens when I try to compile the clock applet: SIGSEGV 11* segmentation violation Full thread dump: Monitor Cache Dump: Registered Monitor Dump: Name and type hash table lock: String intern lock: JNI pinning lock: JNI global reference lock: BinClass lock: Class loading lock: Java stack lock: Code rewrite lock: Heap lock: Has finalization queue lock: Finalize me queue lock: Monitor IO lock: Child death monitor: Event monitor: I/O monitor: Alarm monitor: _malloc: Monitor registry: Thread Alarm Q: Abort trap - core dumped To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 28 09:24:54 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA05623 for freebsd-java-outgoing; Thu, 28 May 1998 09:24:54 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA05617 for ; Thu, 28 May 1998 09:24:52 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id KAA09889; Thu, 28 May 1998 10:24:50 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id KAA18780; Thu, 28 May 1998 10:24:49 -0600 Date: Thu, 28 May 1998 10:24:49 -0600 Message-Id: <199805281624.KAA18780@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Brad Cc: freebsd-java@FreeBSD.ORG Subject: Re: SIGSEGV 11* segmentation violation In-Reply-To: References: X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > This is the error code I get when ever I try to compile a *.java file > It never works. Any of the apps in the java port will not compile. I have *NO* idea what's going on. It sounds to me like something is *really* screwed up on your system. Can you compile normal C programs? Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 28 09:57:09 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA08237 for freebsd-java-outgoing; Thu, 28 May 1998 09:57:09 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ivz.t-networking.com (ivz.t-networking.com [206.117.19.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA08231 for ; Thu, 28 May 1998 09:57:07 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Received: from localhost (zvi@localhost) by ivz.t-networking.com (8.8.8/8.8.8) with SMTP id JAA00833; Wed, 27 May 1998 09:57:41 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Date: Wed, 27 May 1998 09:57:41 -0700 (PDT) From: Brad To: Nate Williams cc: freebsd-java@FreeBSD.ORG Subject: Re: SIGSEGV 11* segmentation violation In-Reply-To: <199805281624.KAA18780@mt.sri.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Yes, I can compile regular C programs. I get the ports, and I complie new kernels all the time. Here is how I tried to compile the clock program: javac Clock.java I also tried calling out the full paths. Still, the same error code. Do I need to complie something into the kernel to use java?? Or is my syntax just screwed up. Thanks, Brad On Thu, 28 May 1998, Nate Williams wrote: > > This is the error code I get when ever I try to compile a *.java file > > It never works. Any of the apps in the java port will not compile. > > I have *NO* idea what's going on. It sounds to me like something is > *really* screwed up on your system. Can you compile normal C programs? > > > Nate > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 28 09:59:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id JAA08441 for freebsd-java-outgoing; Thu, 28 May 1998 09:59:23 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ivz.t-networking.com (ivz.t-networking.com [206.117.19.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id JAA08436 for ; Thu, 28 May 1998 09:59:20 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Received: from localhost (zvi@localhost) by ivz.t-networking.com (8.8.8/8.8.8) with SMTP id KAA00851; Wed, 27 May 1998 10:00:00 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Date: Wed, 27 May 1998 09:59:59 -0700 (PDT) From: Brad To: Nate Williams cc: freebsd-java@FreeBSD.ORG Subject: Re: SIGSEGV 11* segmentation violation In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Just tried something new. I tried to compile with the guava program. It works fine. Why would it work, and not javac??? On Wed, 27 May 1998, Brad wrote: > Yes, > I can compile regular C programs. I get the ports, and I complie new > kernels all the time. > > Here is how I tried to compile the clock program: javac Clock.java > I also tried calling out the full paths. Still, the same error code. Do > I need to complie something into the kernel to use java?? Or is my syntax > just screwed up. > > Thanks, > Brad > > On Thu, 28 May 1998, Nate Williams wrote: > > > > This is the error code I get when ever I try to compile a *.java file > > > It never works. Any of the apps in the java port will not compile. > > > > I have *NO* idea what's going on. It sounds to me like something is > > *really* screwed up on your system. Can you compile normal C programs? > > > > > > Nate > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 28 10:24:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA12438 for freebsd-java-outgoing; Thu, 28 May 1998 10:24:35 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA12433 for ; Thu, 28 May 1998 10:24:33 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id LAA10277; Thu, 28 May 1998 11:24:31 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id LAA19027; Thu, 28 May 1998 11:24:30 -0600 Date: Thu, 28 May 1998 11:24:30 -0600 Message-Id: <199805281724.LAA19027@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Brad Cc: Nate Williams , freebsd-java@FreeBSD.ORG Subject: Re: SIGSEGV 11* segmentation violation In-Reply-To: References: X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Just tried something new. I tried to compile with the guava program. It > works fine. Why would it work, and not javac??? It's possible that guava installed some stuff that screws up the stock JDK. Is your LD_LIBRARY_PATH environment variable set? Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 28 10:42:59 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA16153 for freebsd-java-outgoing; Thu, 28 May 1998 10:42:59 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ivz.t-networking.com (ivz.t-networking.com [206.117.19.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA16148 for ; Thu, 28 May 1998 10:42:56 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Received: from localhost (zvi@localhost) by ivz.t-networking.com (8.8.8/8.8.8) with SMTP id KAA00903; Wed, 27 May 1998 10:43:37 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Date: Wed, 27 May 1998 10:43:37 -0700 (PDT) From: Brad To: Nate Williams cc: freebsd-java@FreeBSD.ORG Subject: Re: SIGSEGV 11* segmentation violation In-Reply-To: <199805281724.LAA19027@mt.sri.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I installed guava first. The I installed JDK. Do you still think taht would be a problem. The answer to LD_LIBRARY_PATH enviroment is no. How do I do it. Do i put it in .cshrc or .login. Sorry, Im new to this all. Thanks, Brad On Thu, 28 May 1998, Nate Williams wrote: > > Just tried something new. I tried to compile with the guava program. It > > works fine. Why would it work, and not javac??? > > It's possible that guava installed some stuff that screws up the > stock JDK. Is your LD_LIBRARY_PATH environment variable set? > > > Nate > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 28 10:43:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA16274 for freebsd-java-outgoing; Thu, 28 May 1998 10:43:49 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ms11.hinet.net (root@ms11.hinet.net [168.95.4.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA16247; Thu, 28 May 1998 10:43:38 -0700 (PDT) (envelope-from jwlo@ms11.hinet.net) Received: from ms11.hinet.net (h135.s9.ts32.hinet.net [163.32.9.135]) by ms11.hinet.net (8.8.8/8.8.8) with ESMTP id BAA09626; Fri, 29 May 1998 01:46:20 +0800 (CST) Message-ID: <356DA153.A9484BC6@ms11.hinet.net> Date: Fri, 29 May 1998 01:39:31 +0800 From: Doug Lo X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Chinese in JAVA. Content-Type: text/plain; charset=big5 Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hello, I write a java applet to display Chinese, I run 'javac -encoding Big5 xxx.java', but it can't display chinese on FreeBSD, would anyone know how to do, thanks. P.S. I've installed Chinese X server so I can see chinese on Netscape without any problem. Best regards, Doug. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 28 10:45:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA16616 for freebsd-java-outgoing; Thu, 28 May 1998 10:45:44 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA16611 for ; Thu, 28 May 1998 10:45:42 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id LAA10423; Thu, 28 May 1998 11:45:40 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id LAA19155; Thu, 28 May 1998 11:45:39 -0600 Date: Thu, 28 May 1998 11:45:39 -0600 Message-Id: <199805281745.LAA19155@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Brad Cc: Nate Williams , freebsd-java@FreeBSD.ORG Subject: Re: SIGSEGV 11* segmentation violation In-Reply-To: References: <199805281724.LAA19027@mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > I installed guava first. The I installed JDK. Do you still think taht > would be a problem. Anything is possible. > The answer to LD_LIBRARY_PATH enviroment is no. That's not the problem then. Is your DISPLAY environment set? If so, unset it. If not, set it. See if that makes any difference. :) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 28 10:51:02 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA17171 for freebsd-java-outgoing; Thu, 28 May 1998 10:51:02 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ivz.t-networking.com (ivz.t-networking.com [206.117.19.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA17166 for ; Thu, 28 May 1998 10:51:00 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Received: from localhost (zvi@localhost) by ivz.t-networking.com (8.8.8/8.8.8) with SMTP id KAA00941; Wed, 27 May 1998 10:51:40 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Date: Wed, 27 May 1998 10:51:40 -0700 (PDT) From: Brad To: Nate Williams cc: freebsd-java@FreeBSD.ORG Subject: Re: SIGSEGV 11* segmentation violation In-Reply-To: <199805281745.LAA19155@mt.sri.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Yes, I set the LD_LIBRARY_PATH like the page at FreeBSD said. How do I go about setting the DISPLAY enviroment, and what would I set it to?? Its not set in .cshrc. Thanks, Brad On Thu, 28 May 1998, Nate Williams wrote: > > I installed guava first. The I installed JDK. Do you still think taht > > would be a problem. > > Anything is possible. > > > The answer to LD_LIBRARY_PATH enviroment is no. > > That's not the problem then. Is your DISPLAY environment set? If so, > unset it. If not, set it. See if that makes any difference. :) > > > > Nate > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 28 10:56:16 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA17756 for freebsd-java-outgoing; Thu, 28 May 1998 10:56:16 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA17742 for ; Thu, 28 May 1998 10:56:13 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id LAA10510; Thu, 28 May 1998 11:56:09 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id LAA19211; Thu, 28 May 1998 11:56:07 -0600 Date: Thu, 28 May 1998 11:56:07 -0600 Message-Id: <199805281756.LAA19211@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Brad Cc: Nate Williams , freebsd-java@FreeBSD.ORG Subject: Re: SIGSEGV 11* segmentation violation In-Reply-To: References: <199805281745.LAA19155@mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Yes, I set the LD_LIBRARY_PATH like the page at FreeBSD said. I thought you said it wasnt' set. I'm confused. Is it set, or isn't it? % printenv | grep LD_LIBRARY > How do I go > about setting the DISPLAY enviroment, and what would I set it to?? Are you using X? % unsetenv DISPLAY [ unset it ] % setenv DISPLAY :0 [ set it ] Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 28 11:00:51 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA19017 for freebsd-java-outgoing; Thu, 28 May 1998 11:00:51 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ivz.t-networking.com (ivz.t-networking.com [206.117.19.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA18983 for ; Thu, 28 May 1998 11:00:44 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Received: from localhost (zvi@localhost) by ivz.t-networking.com (8.8.8/8.8.8) with SMTP id LAA00977; Wed, 27 May 1998 11:01:22 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Date: Wed, 27 May 1998 11:01:22 -0700 (PDT) From: Brad To: Nate Williams cc: freebsd-java@FreeBSD.ORG Subject: Re: SIGSEGV 11* segmentation violation In-Reply-To: <199805281756.LAA19211@mt.sri.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Yes it is set. heres what it says LD_LIBRARY_PATH=/usr/lib:/usr/local/lib I tried using X, and not using X. Still the same result. Should I still try and set the display variable?? On Thu, 28 May 1998, Nate Williams wrote: > > Yes, I set the LD_LIBRARY_PATH like the page at FreeBSD said. > > I thought you said it wasnt' set. I'm confused. Is it set, or isn't > it? > > % printenv | grep LD_LIBRARY > > > How do I go > > about setting the DISPLAY enviroment, and what would I set it to?? > > Are you using X? > > % unsetenv DISPLAY > [ unset it ] > > % setenv DISPLAY :0 > [ set it ] > > > Nate > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 28 11:04:19 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA19855 for freebsd-java-outgoing; Thu, 28 May 1998 11:04:19 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA19837 for ; Thu, 28 May 1998 11:04:16 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id MAA10573; Thu, 28 May 1998 12:04:13 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id MAA19295; Thu, 28 May 1998 12:04:12 -0600 Date: Thu, 28 May 1998 12:04:12 -0600 Message-Id: <199805281804.MAA19295@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Brad Cc: Nate Williams , freebsd-java@FreeBSD.ORG Subject: Re: SIGSEGV 11* segmentation violation In-Reply-To: References: <199805281756.LAA19211@mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Yes it is set. > heres what it says > LD_LIBRARY_PATH=/usr/lib:/usr/local/lib Ok, try the following: % unsetenv LD_LBIRARY_PATH Then re-run javac. I suspect something in /usr/local/lib is screwing things up. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 28 11:07:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA20481 for freebsd-java-outgoing; Thu, 28 May 1998 11:07:50 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ivz.t-networking.com (ivz.t-networking.com [206.117.19.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA20462 for ; Thu, 28 May 1998 11:07:45 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Received: from localhost (zvi@localhost) by ivz.t-networking.com (8.8.8/8.8.8) with SMTP id LAA01022; Wed, 27 May 1998 11:08:26 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Date: Wed, 27 May 1998 11:08:26 -0700 (PDT) From: Brad To: Nate Williams cc: freebsd-java@FreeBSD.ORG Subject: Re: SIGSEGV 11* segmentation violation In-Reply-To: <199805281804.MAA19295@mt.sri.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Nope, Still the same error. On Thu, 28 May 1998, Nate Williams wrote: > > Yes it is set. > > heres what it says > > LD_LIBRARY_PATH=/usr/lib:/usr/local/lib > > Ok, try the following: > % unsetenv LD_LBIRARY_PATH > > Then re-run javac. > > I suspect something in /usr/local/lib is screwing things up. > > > > Nate > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 28 11:10:44 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA21225 for freebsd-java-outgoing; Thu, 28 May 1998 11:10:44 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA21194 for ; Thu, 28 May 1998 11:10:38 -0700 (PDT) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id MAA10631; Thu, 28 May 1998 12:10:13 -0600 (MDT) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id MAA19383; Thu, 28 May 1998 12:10:12 -0600 Date: Thu, 28 May 1998 12:10:12 -0600 Message-Id: <199805281810.MAA19383@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Brad Cc: Nate Williams , freebsd-java@FreeBSD.ORG Subject: Re: SIGSEGV 11* segmentation violation In-Reply-To: References: <199805281804.MAA19295@mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Nope, Still the same error. I'm at a loss as to why it's giving you an error. All I can say is that it works for me, and I've been doing Real Work (tm) for months using it, and have spent the entire morning compiling and running stuff with it. Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 28 11:12:25 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA21485 for freebsd-java-outgoing; Thu, 28 May 1998 11:12:25 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ivz.t-networking.com (ivz.t-networking.com [206.117.19.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA21477 for ; Thu, 28 May 1998 11:12:19 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Received: from localhost (zvi@localhost) by ivz.t-networking.com (8.8.8/8.8.8) with SMTP id LAA01040; Wed, 27 May 1998 11:12:58 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Date: Wed, 27 May 1998 11:12:58 -0700 (PDT) From: Brad To: Nate Williams cc: freebsd-java@FreeBSD.ORG Subject: Re: SIGSEGV 11* segmentation violation In-Reply-To: <199805281810.MAA19383@mt.sri.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Well, Thanks for all your help this morning. If I ever figure it out I'll let you know. Thanks Again Brad On Thu, 28 May 1998, Nate Williams wrote: > > Nope, Still the same error. > > I'm at a loss as to why it's giving you an error. All I can say is that > it works for me, and I've been doing Real Work (tm) for months using it, > and have spent the entire morning compiling and running stuff with it. > > > Nate > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 28 11:39:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA25022 for freebsd-java-outgoing; Thu, 28 May 1998 11:39:36 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ivz.t-networking.com (ivz.t-networking.com [206.117.19.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id LAA25015 for ; Thu, 28 May 1998 11:39:33 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Received: from localhost (zvi@localhost) by ivz.t-networking.com (8.8.8/8.8.8) with SMTP id LAA01191; Wed, 27 May 1998 11:40:13 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Date: Wed, 27 May 1998 11:40:13 -0700 (PDT) From: Brad To: Nate Williams cc: freebsd-java@FreeBSD.ORG Subject: Re: SIGSEGV 11* segmentation violation In-Reply-To: <199805281810.MAA19383@mt.sri.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I figured it out. You pointed me in the right direction, I had a class path statement in for the guava program. I took it out, and walla. Thanks for you help, nad have great day. Thanks, Brad On Thu, 28 May 1998, Nate Williams wrote: > > Nope, Still the same error. > > I'm at a loss as to why it's giving you an error. All I can say is that > it works for me, and I've been doing Real Work (tm) for months using it, > and have spent the entire morning compiling and running stuff with it. > > > Nate > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 28 22:08:33 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id WAA23943 for freebsd-java-outgoing; Thu, 28 May 1998 22:08:33 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from lor.watermarkgroup.com (lor.watermarkgroup.com [207.202.73.33]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id WAA23775; Thu, 28 May 1998 22:08:04 -0700 (PDT) (envelope-from luoqi@lor.watermarkgroup.com) Received: (from luoqi@localhost) by lor.watermarkgroup.com (8.8.8/8.8.8) id BAA20755; Fri, 29 May 1998 01:07:25 -0400 (EDT) (envelope-from luoqi) Date: Fri, 29 May 1998 01:07:25 -0400 (EDT) From: Luoqi Chen Message-Id: <199805290507.BAA20755@lor.watermarkgroup.com> To: freebsd-java@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG, jwlo@ms11.hinet.net Subject: Re: Chinese in JAVA. Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org > Hello, > > I write a java applet to display Chinese, I run 'javac -encoding Big5 xxx.java', > > but it can't display chinese on FreeBSD, would anyone know how to do, thanks. > > P.S. I've installed Chinese X server so I can see chinese on Netscape without > any problem. > > Best regards, > Doug. > You might want to check the file jdk/lib/font.properties.zh_TW_Big5. It has font mappings from java to XLFD. Make sure you have the fonts listed there (i.e. chinese fonts distributed by sun) or replace the XLFDs with the ones you have. BTW, what did you mean by Chinese X server? Did you mean you have chinese fonts installed or a localized X server? AFAIK, Xlib doesn't even know how to handle BIG5 encodings (it knows GB and CNS). -lq To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Thu May 28 23:56:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id XAA16876 for freebsd-java-outgoing; Thu, 28 May 1998 23:56:50 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ms11.hinet.net (root@ms11.hinet.net [168.95.4.11]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA16839; Thu, 28 May 1998 23:56:39 -0700 (PDT) (envelope-from jwlo@ms11.hinet.net) Received: from ms11.hinet.net (dialup244.cyut.edu.tw [163.17.3.244] (may be forged)) by ms11.hinet.net (8.8.8/8.8.8) with ESMTP id OAA14717; Fri, 29 May 1998 14:59:10 +0800 (CST) Message-ID: <356E5B22.C5862CE4@ms11.hinet.net> Date: Fri, 29 May 1998 14:52:18 +0800 From: Doug Lo X-Mailer: Mozilla 4.05 [en] (X11; I; FreeBSD 2.2.6-RELEASE i386) MIME-Version: 1.0 To: Luoqi Chen CC: freebsd-java@FreeBSD.ORG, freebsd-questions@FreeBSD.ORG Subject: Re: Chinese in JAVA. References: <199805290507.BAA20755@lor.watermarkgroup.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Luoqi Chen wrote: > > Hello, > > > > I write a java applet to display Chinese, I run 'javac -encoding Big5 xxx.java', > > > > but it can't display chinese on FreeBSD, would anyone know how to do, thanks. > > > > P.S. I've installed Chinese X server so I can see chinese on Netscape without > > any problem. > > > > Best regards, > > Doug. > > > You might want to check the file jdk/lib/font.properties.zh_TW_Big5. It has > font mappings from java to XLFD. Make sure you have the fonts listed there > (i.e. chinese fonts distributed by sun) or replace the XLFDs with the ones > you have. I checked the file font_properties.zh_TW_Big4. I didn't have the fonts listed on it.I'm not familiar with JAVA, would you tell me what is XLFD, thanks. > BTW, what did you mean by Chinese X server? Yup! > Did you mean you have chinese > fonts installed or a localized X server? AFAIK, Xlib doesn't even know > how to handle BIG5 encodings (it knows GB and CNS). You would install both chinese X server and chinese fonts on your system, and you would seeChinese mails, homepages, or others without any problem. Best regards, Doug. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri May 29 12:04:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA12803 for freebsd-java-outgoing; Fri, 29 May 1998 12:04:03 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from thetoybox.org (cpu2065.adsl.bellglobal.com [207.236.3.42]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA12699 for ; Fri, 29 May 1998 12:03:59 -0700 (PDT) (envelope-from mattrose@folkwolf.ottawa.on.ca) Received: from localhost (mattrose@localhost) by thetoybox.org (8.8.5/8.8.5) with SMTP id PAA12821 for ; Fri, 29 May 1998 15:03:57 -0400 (EDT) Date: Fri, 29 May 1998 15:03:56 -0400 (EDT) From: Matthew Rose X-Sender: mattrose@thetoybox.org To: freebsd-java@FreeBSD.ORG Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org subscribe -- Matt Rose at his FUN e-mail address, and remember folks, "There are no Stupid Questions, just Stupid People" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri May 29 17:32:35 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id RAA10619 for freebsd-java-outgoing; Fri, 29 May 1998 17:32:35 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from couatl.uchicago.edu (couatl.uchicago.edu [128.135.21.64]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA10506 for ; Fri, 29 May 1998 17:32:18 -0700 (PDT) (envelope-from sfarrell@couatl.uchicago.edu) Received: (from sfarrell@localhost) by couatl.uchicago.edu (8.9.0/8.9.0) id TAA17910; Fri, 29 May 1998 19:32:03 -0500 (CDT) To: Brad Cc: Nate Williams , freebsd-java@FreeBSD.ORG Subject: Re: SIGSEGV 11* segmentation violation References: From: sfarrell+lists@farrell.org Mime-Version: 1.0 (generated by tm-edit 7.108) Content-Type: text/plain; charset=US-ASCII Date: 29 May 1998 19:32:03 -0500 In-Reply-To: Brad's message of "Wed, 27 May 1998 10:43:37 -0700 (PDT)" Message-ID: <87af80d2f0.fsf@couatl.uchicago.edu> Lines: 20 X-Mailer: Gnus v5.6.9/XEmacs 20.4 - "Emerald" Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Brad writes: > I installed guava first. The I installed JDK. Do you still think taht > would be a problem. The answer to LD_LIBRARY_PATH enviroment is no. How > do I do it. Do i put it in .cshrc or .login. I'm sure that something guava has done is causing this problem. Which javac is running (i.e., what's which say, what's your path look like)? what about your JAVA* or JDK* environmental variables? If you installed guava with a port, you might try deinstalling it to see if that fixes the problem. Anyway, I'm thinking that javac's either using the wrong classes.zip, trying to load some wrong library, or simply running the wrong binary b/c of guava. -- Steve Farrell To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message From owner-freebsd-java Fri May 29 18:00:57 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA16156 for freebsd-java-outgoing; Fri, 29 May 1998 18:00:57 -0700 (PDT) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from ivz.t-networking.com (ivz.t-networking.com [206.117.19.10]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA16150 for ; Fri, 29 May 1998 18:00:52 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Received: from localhost (zvi@localhost) by ivz.t-networking.com (8.8.8/8.8.8) with SMTP id SAA04989; Fri, 29 May 1998 18:01:29 -0700 (PDT) (envelope-from zvi@ivz.t-networking.com) Date: Fri, 29 May 1998 18:01:28 -0700 (PDT) From: Brad To: sfarrell+lists@farrell.org cc: Nate Williams , freebsd-java@FreeBSD.ORG Subject: Re: SIGSEGV 11* segmentation violation In-Reply-To: <87af80d2f0.fsf@couatl.uchicago.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Yes, This is the problem. I found it yesterday. I had a class path set wrong. Guavac put it there. The problem if now fixed, and Im on my way learning java w/ JDK. Thanks Brad On 29 May 1998 sfarrell+lists@farrell.org wrote: > Brad writes: > > > I installed guava first. The I installed JDK. Do you still think taht > > would be a problem. The answer to LD_LIBRARY_PATH enviroment is no. How > > do I do it. Do i put it in .cshrc or .login. > > I'm sure that something guava has done is causing this problem. Which > javac is running (i.e., what's which say, what's your path look like)? > what about your JAVA* or JDK* environmental variables? If you > installed guava with a port, you might try deinstalling it to see if > that fixes the problem. > > Anyway, I'm thinking that javac's either using the wrong classes.zip, > trying to load some wrong library, or simply running the wrong binary > b/c of guava. > > -- > > Steve Farrell > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message