★ wanayoo — archive 1999 http://developer.java.sun.com/developer/community/chat/JavaLive/2000/jl0215.htmlNouvelle recherche | Portail wanayoo
Java Technology Home Page
A-Z Index

Java Developer Connection(SM)
Chat

Downloads, APIs, Documentation
Java Developer Connection
Tutorials, Tech Articles, Training
Online Support
Community Discussion
News & Events from Everywhere
Products from Everywhere
How Java Technology is Used Worldwide
Print Button
 
JavaLive Transcripts Index

J2SETM for Linux
February 15, 2000

Speakers Blake Connell (blake), Calvin Austin (calvin) and Jürgen Kreileder (Jürgen Kreileder)

Moderator Edward Ort (MDR-edO)

This is a moderated forum.

MDR-edO: Welcome to Java Live! Today's session is on J2SETM for Linux. Our guests are Sun senior product manager Blake Connell, Sun engineer Calvin Austin, and Jürgen Kreileder, a key member of the Blackdown team that was instrumental in the release of J2SE for Linux. They'll answer your questions about JavaTM technology on Linux So let's begin. Who has the first question?

ubik: When will we see jdk 1.3 for linux, and will it be IBM providing it first, or Sun?

Blake: Sun is currently working on J2SE v 1.3 for Linux. We plan to port both the Java HotSpotTM Client Virtual Machine1 and Server VM. We'll also include Java Plug-in in the v 1.3 release. I can't speak to IBM's plans as a Sun employee. I will say that Sun is committed to supporting Linux now and going forward.

dave d: Which kernel versions and C libraries are supported by J2SE for Linux?

calvin: Hi Dave d! The J2SE platform uses glibc 2.1.1 on a 2.2.x kernel. Later releases like the current Blackdown release will need glibc 2.1.2 in order to support native threads well.

john: Are the Blackdown and Sun releases ever going to merge together? It would be nice to have the fixes in both of them in one release.

Blake: Sun plans to synch all three Sun supported platfoms (Solaris, Linux and Windows).This won't happen in v 1.3, but is planned for 1.4. We might be able to pull it off in a maintenance release between 1.3 and 1.4. The release schedule for 1.3 is: Windows FCS last April Solaris FCS June/July (only 1 Solaris Sun release! - not 2 as has been the case) Linux FCS September

Jürgen Kreileder: Sun and Blackdown will work on the same code base from now on.

ubik: Today's release of JDKTM 1.2.2 SE didn't include the Inprise JIT. Was this due to technical or marketing reasons?

adediego: Will the blackdown port disappear in favour of Sun to have an unique Java distribution on Linux?

Blake: To Ubik: Sun's J2SE v 1.2.2 for Linux does not include the Inprise JIT. We link to it from our download page. The products were tested together and work well together. Sun's strategic direction for performance is the Java HotSpot technology's. We were unable to work out an arrangement with Inprise that would allow Sun to ship the Inprise JIT with J2SE and be able to provide technical support. The seperation of the two products makes it clear as to which company will support which piece (Sun and the SDK, Inprise and their JIT).

John: I know this is titled J2SE for Linux, so please forgive me if this is out of place. Does sun plan to release J2SDKEE for Linux. As I understand it there is only a small native library, J2EE_HOME/nativelib/ioser12.dll on NT. Should it not just be compiling this as a shared lib under Linux to get J2SDKEE up and running under Linux? If this is true how can someone obtain the source?

Jürgen Kreileder: No, we will continue the work on the Blackdown port for i386 and other platforms.

calvin: Hi John. The J2EE group are getting ready to test a Linux version, as you say there is only one native library that is needed that should be available soon.

mroh: Why does the sun 1.2 JDK release not include the sunjit?

Jürgen Kreileder: The current version of sunwjit is to unstable to give comercial support for it. However we hope to fix this soon.

Blake: Sun's strategic direction for performance on J2SE is Java HotSpot. With the Inprise JIT available for Linux, we decided that we would move to Java HotSpot sooner.

Cindy: Jurgen, is there a schedule for the Blackdown 1.3?

Jürgen Kreileder: Cindy, we are working on 1.3 but can't announce release dates yet.

EmilEifrem: If Sun, in porting Java technology in general and advanced Java runtimes such as HotSpot in particular, finds any shortcomings in the Linux kernel that hinders the performance or reliability of Java on Linux, will it attempt to fix these shortcomings and make the patches available to the GNU/Linux community (cf IBM's recent kernel patches)?

calvin: Hi Emil. One advantage to the HotSpot VM is that we see better stability with regards to threads and memory management. The Hotspot engineer has been in close contact with the linux threads author to try and get some changes integrated. We are also examining the possibility of helping with the DGA port too.

Aaron Miller: I would like to run Java 2 on a PPC Macintosh. Is the current J2SE only for the x86 versions of Linux?

john: What thread mapping will the HotSpot VM use on Linux? Will Sun help Linux get a many-to-many mapping like we have on Solaris (and which we need for Java)?

Jürgen Kreileder: Aaron, Sun does not provide Java2 for PPC currently, but you can get a stable version from Blackdown.

MaceB: What kind of performance can be expected out of the 1.2.2 JDK for Linux in comparison with the 1.2.2 JDK for Windoze?

Blake: Sun is working to improve performance on Linux: 1. We'll support native threads in v 1.3 2. Java HotSpot Client and Server VM will be available in v 1.3 3. Sun has a dedicated engineer from our performance team assigned to Linux We haven't done formal benchmarks with J2SE v 1.2.2 and the Inprise JIT, but we suspect the performance will be lower then Windows and Solaris (due to reasons 1 thru 3 above). The message from us is v 1.3 is the performance release.

kesuga: Are all the Java ports in Blackdown approved by Sun Standards for Java?

Jürgen Kreileder: Hi kesuga. The current results of the JCK test for the various Blackdown JDKs can be found on http://www.blackdown.org/java-linux/jdk1.2-status/jck-status.html

badrip: Does sun certify applications for linux

Blake: To badrip: Sun, through a 3rd party (KeyLabs) certifies Java applications. The good news with J2SE shipping on Linux is that now the thousands of existing Java sofware applications are avaialbe for Linux. The big goal for Java is compatibility between various operating systems...the notiion of "write once, run anywhere." (I know, I had I had to throw this in (WORA) just once during this chat sesssion!).

joeh: Will Sun's improved support for Java technology on linux increase use of Java in opensource community? Right now a site like sourceforge (hosts open source projects) has only a few Java based projects (and lots in straight C, sadly enough). Can you get Linus to say something favorable?

calvin: Hi John and joeh. The many-to-many threads issues is a well-known Linux topic, we are just working with what we have at the moment, we would like to see what a different threading model would do though. As regards Linus and opensource, Linus did visit the Java 2 booth at Linuxworld expo to have a look at what we have. As you may already know, Java is not open sourced licensed but by a Sun license. I've seen the sourceforge site and it does seem to provide an avenue for companies to fund open source work although I haven't seen many projects come out of it yet. But that could change now that Java technology is available to more developers

mroh: Juegren: if Blackdown and Sun is working on the same codebase, where is the difference between the two ports?

Jürgen Kreileder: We are currently in the process of merging the two code bases to work on one repository in the future. One of the main differences between Sun's FCS release and our RC4 is our support for the native threads VM.

Jay Walters: Sounds like we've got function but no performance for JDK 1.2.2.

Blake: I think you'll find good performance if you download the seperately available Inprise JIT and install it along with the Sun J2SE v 1.2.2 for Linux port. Again, to be fair, we haven't done a lot of benchmarking so I'm making some assumptions on performance wrt v 1.2.2. The Blackdown port will likely be higher performing as they support native threads, multi-processors and will have a JIT built in.

MDR-edO: What can we expect to see from Sun and Blackdown in the future?

calvin: Apart from the 1.3 release that both Sun and Blackdown are working on (including the plugin) we should see the enterprise edition from Sun. Blackdown are working on the other chip ports but also have a list of extensions that they agreed to port including Java3D, JMF, JAI, JavaTM Sound and some others.

Chris Rijk: Apparantly work is being done on a Linux port for the Java Media Framework - what features will it have? Will it include audio recording? video recording?

Blake: WHY ARE THERE TWO PORTS OF J2SE FOR LINUX? To clarify, Sun's port is a commercial grade port that is supported by Sun's technical support programs. Our port is intended for customers who need the backing of a commerical entity. The Blackdown port is a bit more leading edge (thread support, multi-processors) and the Blackdown folks can rapidly respond with changes and modifications and post them on their web site. Sun must run through a detailed test matrix to release.

Chris Rijk: For J2SE 1.3, for the Sun releases, it seems that the FCS version will ship first for Windows, then Solaris then Linux. What kind of delay to you expect between the releases, and do you expect the releases to coincide better in the future?

Blake: We have a staggered release cycle for J2SE v 1.3 for a variety of reasons. J2SE v 1.3 is the first time Sun will be offering a single Solaris release (we have been shipping two to date, a Reference Implementation and a Production Release). Merging the teams etc. is the cause for this one time hit. Linux is a new addition to the mix. We plan to synch all three releases by v 1.4, if not sooner (in a maintenance release).

mroh: Is Sun going to support other platforms than i386?

Jürgen Kreileder: To: Chris Basically the Linux version of the JMF will support the same features as the Solaris and Windows versions. However, I'm not sure about video capturing currently.

MDR-edO: What's the deal with Caldera Systems?

calvin: Hi mroh The i386 port was chosen first because of the market share it has, but there have been requests for sparc and ppc ports from Sun (and also bsd ). We are going to help blackdown as much as we can with the other releases, the main issue is that it needs a lot more people on the testing and release side that it actually takes to do the engineering work on the port. For example 3 groups of testers in Russian, Japan and India were needed for J2SE. So any business case for the other chips would help.

Blake: Caldera Systems is the first commercial distribution vendor to become a Java licensee. Caldera will offer J2SE on their OpenLinux O/S. Without getting too sales&marketing like, I think Caldera should be congratulated on stepping-up to the plate and showing commitment to the Java on Linux community. Other distributions may follow, but Caldera is leading the charge at this point (commercially). What this means is that J2SE-based Java applets and applications will have a new target deployment O/S. Linux developers will also have a new target developer O/S.

MDR-edO: We're at 10 minutes before the hour. We're scheduled to end then. However we've still got some good questions in the queue, so we'll go beyond the hour. by a few minutes.

Scott Murray: Blake, if the Blackdown team has to pass the JCK before doing a release, how can you say that they can "rapidly respond with changes and modifications"?

Blake: See Calvin's response above. Sun does quite a bit of product testing and Internationalization (I18N) testing above and beyond JCK. That's not to imply that Blackdown does little testing, but Sun must ensure customer escalations are dealt with etc.

mroh: Do both JDK run with glibc 2.1.3?

Jürgen Kreileder: Yes, both JDKs should run with the final glibc-2.1.3 release. Actually some Blackdown members helped to fix a couple of bugs in the LinuxThreads library from glibc-2.1.3.

john: Why didn't Sun team up with Red Hat and TurboLinux?

Blake: We continue to explore how to work with all the major distribution vendors. In the ideal world, all the Linux distribution vendors become licensees and supply a tuned and tested release for their specific distribution. I think there will be more good news on this front to come.

peter pilgrim: As a Project Leader: How do Sun Engineers communicate with Blackdown developers? How do reduce latency between the two teams.

peter pilgrim: Will Linux JDK 1.3 eventually have the Beatnik engine for Java Sound 0.99 as well as the other goodies in JMF2.0 FCS?

calvin: Hi Peter. The biggest issue we had with working with blackdown is the codebase is so large about 5000 files. So its difficult to compare each tree, as Suns is in SCCS and blackdowns is in CVS format. But we are working on some tools to make that bit easier. We used to communicate by email, but are now having regular telephone conference calls, too. Blackdown have access to the licensee code base and Sun has access to the blackdown code base.

Blake: To peter pi: Sun will turn-over JMF 2.0 source to the Blackdown porting team - we're working on the logistics of that now. Sun has done a concept port to Linux that will hopefully kick-start this effort.

MDR-edO: Please note, this session (as all our Java Live! sessions) will be archived on the JDC.

ronald: Is there any (un)official port in the pipe for Intel's Itanium processor ?

Blake: Sun plans to support Itanium with J2SE. overall. I believe our plans are for the v 1.4 timeframe.

MDR-edO: Well, our session is drawing to a close. I want to thank all the participants, and especially our guests Blake, Calvin, and Juergen.

Blake: Thank you all for your time. As the Java on Linux community is not shy about sharing their feelings, I'm certain we'll hear from you soon. Feel free to send your comments to j2se-linux-comments@sun.com regarding our Java on Linux efforts. Special thanks to Juergen for taking time to answer questions all the way from Germany.

Download J2SE for Linux

MDR-edO: Last moderator (me) signing off. The forum is now unmoderated.

Forum closed at Tue Feb 15 20:39:05 2000

Max number of users at any time: 50

_______
1 As used on this web site, the terms "Java Virtual Machine" or "JVM" mean a virtual machine for the Java platform.

coffeecup


Reader Feedback

Tell us what you think of this transcript.

Duke

Very worth reading Worth reading Not worth reading

If you have other comments or ideas for future articles, please type them here


Print Button
[ This page was updated: 7-Apr-2000 ]
Products & APIs | Developer Connection | Docs & Training | Online Support
Community Discussion | Industry News | Solutions Marketplace | Case Studies
Glossary - Applets - Tutorial - Employment - Business & Licensing - Java Store - Java in the Real World
FAQ | Feedback | Map | A-Z Index
For more information on Java technology
and other software from Sun Microsystems, call:
(800) 786-7638
Outside the U.S. and Canada, dial your country's AT&T Direct Access Number first.
Sun Microsystems, Inc.
Copyright © 1995-2000 Sun Microsystems, Inc.
All Rights Reserved. Terms of Use. Privacy Policy.