From owner-freebsd-java Wed Jan 28 12:56:12 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA19203 for java-outgoing; Wed, 28 Jan 1998 12:56:12 -0800 (PST) (envelope-from owner-freebsd-java@FreeBSD.ORG) Received: from eastham.sci.brooklyn.cuny.edu (root@eastham.sci.brooklyn.cuny.edu [146.245.1.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id MAA19197 for ; Wed, 28 Jan 1998 12:56:02 -0800 (PST) (envelope-from goetz@dorsai.org) Received: from louis (louis.sci.brooklyn.cuny.edu [146.245.1.7]) by eastham.sci.brooklyn.cuny.edu (8.8.7/8.8.4) with SMTP id OAA06372 for ; Wed, 28 Jan 1998 14:55:51 -0500 (EST) Message-ID: <34CF8D41.384@dorsai.org> Date: Wed, 28 Jan 1998 14:55:45 -0500 From: Lawrence Goetz X-Mailer: Mozilla 3.03C (X11; I; SunOS 5.6 sun4u) MIME-Version: 1.0 To: freebsd-java@FreeBSD.ORG Subject: JDK 1.1.5, FreeBSD 3.0 & CTWM Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I'm working with my professor to get JDK 1.1.5 to work on FreeBSD 3.0. We are using CTWM as the window's manager. When I try to run a Java program that creates a window, I get a segmentation violation. This program works fine using Solaris with CDE. Even if I rlogin to the Solaris machine it causes the same segmentation violation on this machine. We have applied the patch and that doesn't solve it. The only time it worked is if some x configuration file for xinit is changed or removed does it work when CTWM is not loaded. However this worked one day and now we can not get it to work again. We are using Lesstif, not Motif on this system. If someone can please help, we'd appreciate it. Here is the very basic program the fails to run on our setup of FreeBSD: import java.awt.*; public class test { public static void main(String[] args) { Frame mywindow=new Frame("My Java Test"); mywindow.resize(100,200); mywindow.show(); } } Thank you, Lawrence Goetz