From owner-freebsd-java Sun Jun 25 22:51:50 2000 Delivered-To: freebsd-java@freebsd.org Received: from elincia.pearlmagik.com (d8c81d2d.dsl.flashcom.net [216.200.29.45]) by hub.freebsd.org (Postfix) with ESMTP id 393A837B665 for ; Sun, 25 Jun 2000 22:51:47 -0700 (PDT) (envelope-from hybrid@pearlmagik.com) Received: from pearlmagik.com [216.200.29.44] by elincia.pearlmagik.com with ESMTP (SMTPD32-5.04) id A07097B0198; Sun, 25 Jun 2000 22:56:00 PST Message-ID: <3956EF8A.E3DD2826@pearlmagik.com> Date: Sun, 25 Jun 2000 22:52:11 -0700 From: Robert LaThanh X-Mailer: Mozilla 4.73 [en] (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: freebsd-java@freebsd.org Subject: FreeBSD+Java/Kaffe Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I had a lot of trouble getting my Java program running on FreeBSD. There are a few things I think should be easy to find from the Java Project homepage: - If runnnig FreeBSD 4.x and you receive an error that libc.so.3 isn't found, install FreeBSD 3.x compat. - Multithreading does not work (for me) in the Java 1.1.8 port - Since the port does not have a JIT, you should have links to the TYA and ShuJIT on the distrobution pages - Have a link (or more) that Kaffe is a good alternative Java VM (for now)!!!!!! I say this because I have a program that I wrote in Java tcp-based server that is multithreaded. It actually uses some of the Java 2 API, but I couldn't use the Java 1.2.2 beta port because it has socket problems. So I three problems, 1) I needed Java 2, but FreeBSD doesn't support it. So I adapted my code to Java 1, and used some Java 2 source to help. 2) Next problem I encountered was that Java 1.1.8 was giving me the libc.so.3 file not found. After searching around, i determined that FreeBSD 3.x compatibility is a dependancy 3) Once I tried running my program on 1.1.8, I find that none of the other threads run. So, I install the Kaffe 1.0.5 port, and it works. I really think this is information that should have been available on the FreeBSD-Java site. Thanks, Robert LaThanh To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message