From owner-freebsd-java Wed Aug 2 23:36:38 2000 Delivered-To: freebsd-java@freebsd.org Received: from public.bta.net.cn (public.bta.net.cn [202.96.0.97]) by hub.freebsd.org (Postfix) with ESMTP id 407C837B729 for ; Wed, 2 Aug 2000 23:36:32 -0700 (PDT) (envelope-from robinson@netrinsics.com) Received: from netrinsics.com ([202.108.133.85]) by public.bta.net.cn (8.9.3/8.9.3) with ESMTP id OAA06217 for ; Thu, 3 Aug 2000 14:32:37 +0800 (GMT) Received: (from robinson@localhost) by netrinsics.com (8.9.3/8.9.3) id OAA00807; Thu, 3 Aug 2000 14:37:36 +0800 (+0800) (envelope-from robinson) Date: Thu, 3 Aug 2000 14:37:36 +0800 (+0800) From: Michael Robinson Message-Id: <200008030637.OAA00807@netrinsics.com> To: freebsd-java@freebsd.org Subject: Linux JDK on FreeBSD (was Re: Alpha JDK 1.2.2 JPDA extension 1) Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Greg Lewis writes: >Actually, the latest patchset (and probably patchset 9 as well) could >probably have been tagged as beta. Personally, I'd like to get rid of >the redrawing problem some people have before making that jump though. Let me quote: "October 11, 1999: Work has re-started on the Java2/JDK1.2 port. Expect an early 'alpha' release in the coming weeks for FreeBSD 3.3-stable/ELF boxes." 10 months in alpha, who knows how many more months in beta, and then a release, after which the whole process starts all over again for 1.3. Meanwhile, right now, today, I can use the Sun release of 1.3 for Linux to do everthing I need to do. What I can't do, though, is use HotSpot, because it breaks under Linux emulation. However, since the FreeBSD team doesn't have any access to the HotSpot code, any plans for access to the HotSpot code, or any ideas for plans for access to the HotSpot code, this means that the Linux JDK on FreeBSD today is just as good as the FreeBSD JDK will be sometime in the year 2002. Do you have any idea what that means, in Internet time? >I'm not quite sure how you can term the JDK 1.2.2 as "nearly-obsolete" >though when it is the current _release_ from Sun for both Linux and >Solaris and when Blackdown have announced their final release of the >JDK 1.2.2 (with 1.3 to come sometime down the track) on the same day. Download Together 4.0, run it under 1.2.2, and then run it under 1.3 with the client-tuned HotSpot engine. Then you will be quite sure how I can term JDK 1.2.2 as "nearly-obsolete". Likewise Enhydra with the server-tuned HotSpot engine. For real world technology managers making real-world deployment decisions, very soon the choice will be between running slow-slow-slow Java on FreeBSD or running fast-fast-fast Java on Linux. I've been a BSD user since 1984, but as a CTO, I know which decision I'll make if it comes down to that. >However, I would ask you to consider the following issues: > >(a) At this point > I'd not only have a huge pain in the neck, I'd also be wondering > why I didn't just install a Linux distro :(. I have to face that question every day, and not just for Java. Oracle, Domino, SMP, etc. etc. >(b) Lets say an excellent kernel thread interface (for instance) develops > during the 5.0 production cycle. Let's say the tooth fairy comes and debugs all my code for me while I'm sleeping. But I digress... > Its everything you'd want and is > perfectly suited for implementing native threads for the JDK. But > alas, it can't be taken advantage of as there is no native port of > the JDK. Well, I would expect the Linux emulator to be suitably modified to do the mapping appropriately, because, again, Java is not the only product facing this issue. Right now I can install Red Hat and run Oracle (with support, no less), on an 8-way Xeon box with reasonable scalability. Either the FreeBSD Linux emulation will have to address this (assuming FreeBSD ever gets "an excellent kernel thread interface"), or FreeBSD will become "the network appliance OS". (There is, of course, the third alternative, that FreeBSD earns the kind of ISV support that Linux enjoys, but that's not really in the cards, now, is it.) >(c) The "limited resources" in question here is volunteer time. The > volunteers may feel that (i) they don't have the skills to work on > the Linux emulator, and (ii) its their time and they'd actually > like to spend it on a native JDK port :). This, of course, is indisputable. After all, you can still find volunteers writing code for the Amiga. But that raises another issue: if a tree writes software in the woods and no one uses it, does it make a sound? FreeBSD is dangerously close to falling into the Amiga death spiral. If it weren't for the excellent Linux emulation, it would already be there. The two biggest issues currently sucking FreeBSD down are SMP and Java. In my opinion, FreeBSD is far closer to solving the Java issue through emulation than it is through writing a native port. I'm not asking for something for nothing, either. $6k/seat for Together, $15k/server for WebLogic, the Oracle gouge, and it all starts to add up. Red Hat charges $2,500 for their Linux Enterprise Edition for Oracle 8i. It's a small part of the budget, and if there were a FreeBSD Enterprise Edition for Oracle 8i, I'd write the check tomorrow. But there isn't, so I can't. I can only wait for BSDi to figure out the 1980's are over, or try to influence the volunteers, or give up and jump ship. Today, I'm working plan B. -Michael "tough love" Robinson To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message