Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 Jun 2000 22:52:11 -0700
From:      Robert LaThanh <hybrid@pearlmagik.com>
To:        freebsd-java@freebsd.org
Subject:   FreeBSD+Java/Kaffe
Message-ID:  <3956EF8A.E3DD2826@pearlmagik.com>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3956EF8A.E3DD2826>