Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jan 1998 14:55:45 -0500
From:      Lawrence Goetz <goetz@dorsai.org>
To:        freebsd-java@FreeBSD.ORG
Subject:   JDK 1.1.5, FreeBSD 3.0 & CTWM
Message-ID:  <34CF8D41.384@dorsai.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34CF8D41.384>