Slashdot Mirror


Java 2 for Linux Released & Blackdown Gets Creds

burner writes, "After quite a wait, JDK1.2.2 is released for Linux. You can grab the final release from Sun's site. Sun has also put up bios for the Blackdown guys. Sun's been acting pretty flippy lately, but this is great news. I've been using Blackdown's latest release candidates lately, and they're excellent, but now there's a final release. Nice work guys! "

211 comments

  1. "Polish" and credit by nosferatu · · Score: 2

    I'm very pleased to see this and to see Blackdown getting credit. I have been hoping to use Java on Linux for a distributed network-of-computers project and this release makes the whole thing look more "polished" then using an RC.

    1. Re:"Polish" and credit by fusion94 · · Score: 3

      Yeah it looks as though Sun finally pulled their heads out of their asses on this one. Now if they would only do the same with StarOffice and the SCPL I might actually be convinced to no longer speak disparingly about them.

  2. Please, Do Not Code Games In Java by mochaone · · Score: 4

    Lest you people forget, there was a horrific accident some months ago when developers tried to code Q uake in Java. Please do not make the same mistakes.

    --
    Hates people who have stupid little sigs
    1. Re:Please, Do Not Code Games In Java by tomreagan · · Score: 1

      Lest you people forget, there was a horrific accident some months ago when developers tried to code Q uake in Java. Please do not make the same mistakes.

      Ha ha! Nothing funnier than hundreds of dead and wounded innocent people in a remote part of the world! Look at those poor people! What a great joke!!!

    2. Re:Please, Do Not Code Games In Java by Anonymous Coward · · Score: 0

      there were only four dead !! Humour is a great way to deal with death !!

    3. Re:Please, Do Not Code Games In Java by phife · · Score: 1

      Correction: Please, codes games, as well as everything else in Java. Thank you.

    4. Re:Please, Do Not Code Games In Java by Anonymous Coward · · Score: 0

      are you the phife from Tribe Called Quest? I liked that song Butter on your old album.

    5. Re:Please, Do Not Code Games In Java by Anonymous Coward · · Score: 0

      You watch too many cartoons. Having a 100 tons of concrete fall on you, a tree, ect. is not funny.
      Laughing at human suffering is not a "good way to deal with it."

    6. Re:Please, Do Not Code Games In Java by Anonymous Coward · · Score: 0

      That'll teach them to code in Java. Stick with Perl!!!!!!!

    7. Re:Please, Do Not Code Games In Java by Anonymous Coward · · Score: 0

      Mochaone has always been a self-important bastard. What to expect from such a low level life-form. I wish a key role in the next installment of Quake, preferably on a deserted island with only you on it. I don't know what should fall on you, but probably a huge spire would be loads of fun.

    8. Re:Please, Do Not Code Games In Java by gargle · · Score: 0

      Ha ha ha. It's just a bunch of Javanese getting killed in an earthquake. Even funnier than the earthquake in Taiwan which caused RAM prices to go up (oh my!) - at least that mattered. Hahaha.

    9. Re:Please, Do Not Code Games In Java by Anonynous+Coward · · Score: 1
      Maybe having 100 tons of concrete fall on you isnt funny, but if it were a grand piano or an ACME Anvil, then it would be funny!! HAH HAH!!

      Its no fun til someone loses an eye!!

    10. Re:Please, Do Not Code Games In Java by Ravagin · · Score: 2

      Wow, magnitude 6.4? They got a demo of that somewhere?
      -Ravagin
      "Ladies and gentlemen, this is NPR! And that means....it's time for a drum solo!"

      --

      Karma: T-rexcellent.

    11. Re:Please, Do Not Code Games In Java by bilenkey · · Score: 1

      Sure I do. Open your mouth now.

    12. Re:Please, Do Not Code Games In Java by ActionListener · · Score: 1

      That's funny! Seriously, though, Java 2 v1.3 combined with Sun's Java3D implementation is suitable for writing games with high quality 3D graphics and sound. Java 2 v1.3 code often runs nearly as fast as C++ compiled code. The catch is that the 1.3 version (actually 1.3 release candidate 1) implementation with hardware 3D acceleration is only supported on Windows platforms, not even on Sun's own Solaris OS! Sun claims that the JDK 1.3 for Linux will be out sometime late in 2000.

    13. Re:Please, Do Not Code Games In Java by Anonymous Coward · · Score: 0

      Oh, you'd be surprised. Indonesia is actually a major supplier of oil. We do a lot of trade with them, which is probably why we stepped into East Timor. Think we'd have been involved just for pur e humanitarian reasons?

    14. Re:Please, Do Not Code Games In Java by Anonymous Coward · · Score: 0

      Don't go washing stuff in his sink.


      Wingnut

    15. Re:Please, Do Not Code Games In Java by Thrakkerzog · · Score: 2

      Most 3d game engines are written in C, though.

      Maybe in a few years.. ;-)

    16. Re:Please, Do Not Code Games In Java by Mr.+Piccolo · · Score: 2

      Part of that is that Sun's 3D "acceleration" REALLY SUCKS!

      Just ask Chris Schoeneman.

      --
      Glückwünsche, haben Sie Slashdot ermordet, indem Sie zum korporativen Druck beugten und Subskriptionen einlei
    17. Re:Please, Do Not Code Games In Java by gargle · · Score: 1

      I guess moderators have never heard of satire.

    18. Re:Please, Do Not Code Games In Java by N1KO · · Score: 1

      Its funny because it didn't happen to me

    19. Re:Please, Do Not Code Games In Java by Anonymous Coward · · Score: 0

      Probably not

    20. Re:Please, Do Not Code Games In Java by edw · · Score: 1

      You watch too many cartoons. Having a 100 tons of concrete fall on you, a tree, ect. is not funny. Laughing at human suffering is not a "good way to deal with it."

      The human condition is absurd. There are only two sane responses to it: laughter or suicide.

    21. Re:Please, Do Not Code Games In Java by Anonymous Coward · · Score: 0

      Bwah wah ha ha! Code in JAVA. Don't you know? All Playstation 2 games will be written in JAVA. Then, you'll be sorry.

  3. Great work! by SETY · · Score: 2

    Upgrade away, this should be a very stable release seeing as Blackdown doesn't seem to relaese flaky code. The betas were very stable and I have been happily developing with them for quite a while.
    Now onto java 1.3, 3 or whatever it will be called :)

    1. Re:Great work! by CyberDong · · Score: 2
      Now onto java 1.3, 3 or whatever it will be called

      Isn't Visual Basic at about 6? Based on industry trends, Java 1.3 should be released as Java 7.

      - - - -

    2. Re:Great work! by Mushy · · Score: 1

      This was done for Solaris 2.7 by Sun. Solaris 2.7 was renamed as Solaris 7 and now it on on version 8. It's not difficult that Sun may even do the same thing to Java.

    3. Re:Great work! by Junta · · Score: 1

      What do you mean, they already did (Java 2 and Java 1.2 are synonymous...)

      --
      XML is like violence. If it doesn't solve the problem, use more.
    4. Re:Great work! by dmacon · · Score: 1

      >What do you mean, they already did (Java 2 and
      > Java 1.2 are synonymous...)

      JDk 1.3 is also a Java 2 platform release.

      --
      -- Tov Are Jacobsen
    5. Re:Great work! by Bastiaan · · Score: 1

      This is not a Blackdown release! They are at 1.2.2RC4. SUN has released the 'production' version of the SUN/Inprise port, which contains (older) Blackdown code. Not quite the same thing!

    6. Re:Great work! by SETY · · Score: 1

      Your right, I stand corrected. The headlines gave me a different impression. I guess I should have grabbed the tar ball first.

    7. Re:Great work! by Keith+Russell · · Score: 1
      Actually, Visual Basic is one of the few Microsoft products to not skip version numbers.

      And now, submitted for your disapproval, the dark path I have trodden since 1993: The History of Visual Basic (short form).
      • May 1991: VB 1.0. Drag-n-drop window layout, VBX visual component architecture, p-code-based runtime. Simple by today's standards, but remember: It takes MS at least three versions to get it right. :-)
      • Nov 1992: VB 2.0. ODBC, Multiple Document Interface, and object variables.
      • June 1993: VB 3.0. Access DB engine, OLE Automation, Crystal Reports. Reaches Critical Mass, even though it's not really ready.
      • Oct 1995: VB 4.0. Parallel 16- and 32-bit development, rudimentary classes, ActiveX Controls (then called OCXs) replace VBXs, extensible IDE. Almost ready for prime time.
      • April 1997: VB 5.0. Goodbye, 16-bit. Native x86 and Alpha compilers, events in classes, API callback support, COM Component and ActiveX Control targets, vastly improved IDE (IMHO). ...and there was much rejoicing.
      • Oct 1998: VB 6.0. Dynamic form building and lots of web candy. Little more than a service pack to VB5, if you ask me.
      • Q1 2001: VB 7.0. Major redesign. Real objects with inheritance, polymorphism, constructors, &c. Structured exception handling (Try...Catch...Finally instead of On Error Goto Hell). Free threading. Essentially, everything we've been begging and screaming for since VB4!
      Note: VB7 info is based on Steve Ballmer's keynote at VBITS San Francisco yesterday. So if any real improvements are dropped before RTM, we know where the lynch mob will form. :-)

      Can I moderate myself -1: Offtopic?

      Keith Russell
      OS != Religion
      --
      This sig intentionally left blank.
    8. Re:Great work! by acroyear · · Score: 1
      Now onto java 1.3, 3 or whatever it will be called

      Actually, I want them to get on the ball with all the supplimental stuff -- Media Framework, Advanced Imaging, 3D, and the plug-in (and make sure the plug in and mozilla milestones work together.

      Basically, there are still a number of "Java" pieces that have native code that needs to be ported. If Blackdown doesn't have the resources to do the work, then someone else needs to step forward to get it done.

      --
      "But remember, most lynch mobs aren't this nice." (H.Simpson)
      -- Joe
    9. Re:Great work! by zambe · · Score: 1

      What makes it even greater is that there is still no JDK 1.2.2 production release for Solaris, only a 'reference implementation'. Production release for windows has been there for a year, now we have it for Linux but where's the Solaris version?

      -jarno

    10. Re:Great work! by Tassach · · Score: 1
      And now, submitted for your disapproval, the dark path I have trodden since 1993:


      I don't like to admit it in public (especially here!), but I've used VB since v1.0 When I started using VB, I was working in a shop where the tool of preference was Clipper '87; an xBase compiler. VB 1, as broken as it was, was an improvement over that. Unfortunately, I have so much VB experience now that I keep getting shanghaied into VB projects when I'd rather be coding in Java. VB is the Dark Side of programming -- once you start down the dark VB path, forever will it dominate your destiny.

      The most common complaint I hear about Java is "It's too slow. Use C/C++ instead." I don't think it's appropriate to compare Java to C/C++, even though Java is (in many regards) the decendent of C++. It is far more appropriate to compare Java to 4GL's like VB and PowerBuilder, as Java has much more in common with those languages than it does to C and C++. Java is pretty mature for it's age. Yes, it has problems, but so did every other language early in it's life.

      Java would benefit a lot from being Open Source. IMHO, Sun should spin off a non-profit subsidiary to manage Java, patterned after the Apache Software Foundation. Apache is probably the most successful Open Source project to date - even moreso than Linux; no other open-source project I know of has over 50% market share in it's category. If Sun were to allow Java to develop the way Apache and GCC have evolved, it's problems would rapidly disappear.

      "The axiom 'An honest man has nothing to fear from the police'
      --
      Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
    11. Re:Great work! by jbuilder · · Score: 1

      When you go to http://www.javasoft.com/products/jdk/1.2/download- solaris.html you'll see a statement that says "[The Reference Implementation] is distinguished from the Java 2 SDK Production Release."

      Click on the link for the words 'Java 2 SDK Production Release' and you're then sent to http://www.sun.com/solaris/java/index.html. Click on the 'Download' link and you're at the production release for the Solaris JDK.

      Sorry for the late response.. I was writing EJB's yesterday...

      --
      Polymorphism -- It's what you make of it.
  4. Cross-platform... by MattHaffner · · Score: 3

    It's so disappointing to still see Java so fragmented across platforms. The 'Linux' release is only officially supported on one processor and increasing the officially supported OS's by 50% has been like pulling teeth. It's not the end-all-be-all of languages, but two years ago I had hopes that by now it would be faster and more pervasive than it has become--especially outside the browser cage. Such a shame... mh

    1. Re:Cross-platform... by Anonymous Coward · · Score: 0

      The Cygnus (now RedHat) gcj Java compiler supports all 150 or so target platforms. What more do you want?

    2. Re:Cross-platform... by CyberDong · · Score: 3
      I had hopes that by now it would be faster and more pervasive than it has become--especially outside the browser cage

      About the "faster" part, it will probably never be suitable for OS development, but you CAN get platform-specific compilers for it.

      Regarding the "pervasive" & "outside the browser" parts, I think you're just not looking.

      • Oracle & Sybase (also SQL Anywhere) now ship their DB software with Java as the internal procedure language.
      • At JavaOne last year, the Palm Pilots for sale so inexpensively were loaded with a JVM.
      • The Apache organization has embraced Java Servlets and Java Server Pages in their Jakarta Project.
      • IBM's AlphaWorks is pouring out java resources like mad.
      • Embedded Java is a super-hot trend for everything from cell phones to web kiosks.

      Admittedly the start was slow, due to the fact that Java's original target platforms were toasters and TV's. But there are no shortage of Java applications you can't see until you look for them.

      - - - -

    3. Re:Cross-platform... by Anonymous Coward · · Score: 0

      What architectures and platforms do Blackdown developers use?

    4. Re:Cross-platform... by chialea · · Score: 2
      OSes are not the end-all-be-all of Java, either. example: a modular reconfigurable robot from Xerox-PARC called Polybot. (if you were at comdex and caught John Seeley Brown's keynote speech, you saw it. there have also been lots of print, online, and TV pieces on it) it runs on PowerPC chips running compiled Java.

      there are lots of embedded Java things coming out now that run embedded Java. remember that the original demo for the language (if I remember correctly) back when it was called Oak, was a bulky TV remote control.

      Lea

      Warning: the Polybot link will take you to a page that my Mozilla M13 will render and then turn blank grey. I have no idea why, but you might want to try Netscape instead. (or IE, if you're that sort of person)

    5. Re:Cross-platform... by MattHaffner · · Score: 1

      This is a reply to most of the replies to mine :)

      I wasn't very explict I guess. What I'm really lamenting is a pervasive, cross-platform, in-sync environment to RUN java apps in. I do understand where it has been really successful as a language/platform. As another example, it will be exciting to see if Mac OS X really succeeds in fully integrating it as a first-class development language in a popular OS.

      However, many spiffy add-on APIs (not only from Sun) are only really supported on those platforms that Sun supports. Admittedly some are inherently difficult to support well cross-platform (Java3D for example), but without even core Java in sync across platforms even simpler packages quickly fall away from non-Sun platforms.

      As a mostly high-level language programmer, I really enjoy programming in Java. It also had (has?) the potential to close the cross-platform app gap. Aside from some gee-wiz items and small utilities, that vision (delusion?) seems to be mostly dead for now. It certainly has been a success, but just not where I was looking :)

      mh

    6. Re:Cross-platform... by jilles · · Score: 2

      "What more do you want?"

      Non native java code, compiling to native code does not offer much performance advantage (contrary to what people seem to believe) since it does not eliminate the real bottlenecks (garbage collection, memory allocation, synchornization, etc.)

      --

      Jilles
    7. Re:Cross-platform... by Anonymous Coward · · Score: 0
      Who the fuck cares about version numbers anyway ?

      As long as we know ver ZZZZ is the latest.

    8. Re:Cross-platform... by Johann · · Score: 1
      Oracle & Sybase (also SQL Anywhere) now ship their DB software with Java as the internal procedure language.

      Big point of clarification for Oracle. Java has not replaced Oracle's internal procedural language (PL-SQL). Actually, you must wrap your calls to STATIC Java methods in PL-SQL.

      Maybe interesting to you or not. But there is a big difference in replacing your procedural language and providing a relatively cheesy (IMHO) wrapper interface.

      --

      --
      "You're gonna need a bigger boat." - Chief Brody
    9. Re:Cross-platform... by TimTaylor · · Score: 1
      Alas, for what could have been.

      We could have had a programming language that runs identical binaries on every major computing OS and in hand-helds, phones, etc. We could have had a language with built-in safe multi-threading, standard networking, directory, crypto, database access...

      Just think, it could have run directly inside databases. It could have had ORBs run inside it. It could have had a state-of-the-art, multi-platform GUI. It could have dynamically loaded classes across networks in a safe way. Maybe it might have even had reflection, and open specifications for application and component models.

      It could have been adopted as the OO teaching language of choice by many universities and a primary business direction of many major software, hardware, and content vendors.

      It could have been the first thing listed at the top of Dr. Dobb's Journal, ahead of Linux and C++.

      Alas, poor Java. If only it...

    10. Re:Cross-platform... by Wesley+Felter · · Score: 1

      Embedded stuff is nice, but I was really hoping that Java would allow me to write cross-platform desktop apps. So far that's not happening. :-(

    11. Re:Cross-platform... by Roundeye · · Score: 2
      Wes, I'm glad to see you say this (as someone who has been supportive of Java in general) -- I've personally been burned by this to the point of using Mozilla for portable deployment: even with changing API's and alpha-level code Mozilla is more "write once run anywhere" than Java for desktop apps. Of course, few people take me seriously when I say this, but then again, we are able to deploy now thanks to Mozilla, where we *still* wouldn't be able to if we had stayed with Java.

      --
      "Cause there's 40 different shades of black, so many fortresses and ways to attack, so why you complainin'?"
    12. Re:Cross-platform... by CyberDong · · Score: 1
      Java has not replaced Oracle's internal procedural language (PL-SQL)

      True. Poor phrasing on my part. Should have been "Java as AN internal procedure language." There's too much PL/SQL and (I forget what Sybase calls theirs) out there to just stop supporting it all of a sudden.

      Maybe interesting to you or not.

      On a personal level, it's not that interesting. My philosophy is that the logic belongs outside the DB wherever possible. This allows for ease of change-over when the corporate wind changes direction. There is a speed penalty to be paid for this, but it's rarely significant. If you can justify the penalty for O-O & event-driven programming, you can probably justify this.

      However, for those who must embed the logic in the database, the Java aspect makes the task of porting apps to new DB's simpler. If all you have to do is re-write the wrappers, you needn't waste as much time as re-writing all the procedures would require.

      - - - -

    13. Re:Cross-platform... by Anonymous Coward · · Score: 0

      No benefit from native compilation? So why does the Tower-J Java to native compiler consistently sit at the top of server side benchmark tests? http://www.volano.com/reports.html

    14. Re:Cross-platform... by Anonymous Coward · · Score: 0

      You are deploying a production app "now" with an alpha level browser?

      Me thinks you are full of shit. Or to be generous, you are actually writing spec-compatible DHTML and deploying now with IE, with the idea that Mozilla will work when it's ready.

    15. Re:Cross-platform... by jilles · · Score: 2

      I followed your link and you are right, towerj is on top. But what does that say really? IBM is a very close second and they don't compile to native code. Above all, this version of IBM's VM runs on NT and towerj runs on linux.

      A closer examination of this benchmarks reveals that it tests socket IO and threads. The performance of both is very much dependend on the OS.

      Furthermore, I think a benchmark that stresses the OO usage of Java a little more (i.e. creating destroying objects) would show a different picture.

      This benchmark does not proof much to me. A benchmark that doesn't take typical OO behavior of a program into account is not realistic, even for server side programs.

      --

      Jilles
    16. Re:Cross-platform... by Roundeye · · Score: 2
      No, dillwad AC loser, we are using XUL and writing our own XPCOM components using NSPR, and delivering our "content" along with integration to our network services (almost hard to explain without showing the product). We are tracking the changes in Mozilla and the product works better now than it could work with any extant Java system (particularly when WORA practicality is a factor). The product won't be available for another couple of months, but we are already in testing.

      --
      "Cause there's 40 different shades of black, so many fortresses and ways to attack, so why you complainin'?"
  5. Re:linux was mentioned... by AugstWest · · Score: 2

    Point taken, but misplaced.

    Java development is growing daily. The speed with which Java applications and servlets can be developed is unprecedented. The speed issues with Java are decreasing with each release, and 1.2.2 is pretty quick. The 1.3 early-release 1.3 JRE is quite a bit faster, and Blackdown is already working on the port.

    This is very good news for Linux, which, as you may have noticed, a few /. readers seem to care about. If you wanna bitch, try posting at http://dev.null.com.

  6. Time for trolls to show up by rcromwell2 · · Score: 1

    Let's see how many we get on this story:

    • 1) Sun sucks
    • 2) Java sucks
    • 3) slow
    • 4) use Perl!
    • 5) blah blah blah

    Offtopic: If you don't have an X-server, JavaLobby posted a story about a very nice GPL'ed Xserver/Esound/Truetype server written in Java at called WeirdX Even runs as an applet. Very nice if all you have is a Windows/Mac box, or are at a public terminal/cybercafe and need to remote-X from your Linux box. :) Mostly impressive because a single guy wrote an X server from scratch in a short period of time.

    1. Re:Time for trolls to show up by drivers · · Score: 2

      I just tried it (weirdx). I downloaded the 1.2.2 JRE from sunsoft, and uploaded the weirdx-*.html files to an http server, as well as the jar file... got nothing but starting java applet and a white screen.

      Java never seems to work right for me.

      At work we are using a java program (running through X in this case), and it crashes about 50% of the time when you try to start it. This is running on HP/UX.

      In other words, I'm not impressed with Java so far. But that weirdx LOOKS really awesome. What am I doing wrong?

    2. Re:Time for trolls to show up by jilles · · Score: 0

      amazing you got linux running

      --

      Jilles
    3. Re:Time for trolls to show up by Anonymous Coward · · Score: 0
      Sun may well be evil, but java is probably the most developed high level API EVER!

      I agree that not all tools are suited for everything equally well, but any veteran developer knows that there is more value in good design than in bit twiddling performance.

    4. Re:Time for trolls to show up by drivers · · Score: 2

      Fuck you, I've been running Linux since 1994.

    5. Re:Time for trolls to show up by Anonymous Coward · · Score: 0

      Here we go, the Linux equivalent of "I saw U2 before they had a record contract, live in Dublin". Oh yes, makes people think much more highly of you.

      Remember the viewers!


      Wingnut

      Terry Pratchett is currently wanted by the FBI for wasting Internet bandwidth with silly phrases.

    6. Re:Time for trolls to show up by lmontes_AZ · · Score: 1

      So a Java program doesnt work?, So what, I could write a c++ or VB program that blows up too.
      The point is there are crappy developers writing in every langauage.
      Just because i have several c++ applications blow up on me, doesnt mean the language sucks.
      The same holds true for Java Applications.

    7. Re:Time for trolls to show up by rcromwell2 · · Score: 2

      Umm? It did work. Once that blank screen goes up, go to a Unix box somewhere and run "xterm -display yourmachine:2.0" and the xterm will appear in that applet window. You shouldn't run it as an applet anyway, read the README and launch it from the command line as a Java Application. I had KDE with Enlightment to run through it back to my NT box.

  7. How long were you waiting to post this up? by GoofyBoy · · Score: 1


    :)

    --
    The surprise isn't how often we make bad choices; the surprise is how seldom they defeat us.
  8. Now for a godawfully stupid question: Netscape? by Anonymous Coward · · Score: 0

    Uh, can I instruct Netscape to use this JRE so it doesn't crash and burn? If so, how?
    thanks. (if the stupidity of my question costs you a layer of brain-cells, my apologies and please direct all bills and requests for compensation to Steve Case, Chairman and Chief Executioner, America Online.)

    1. Re:Now for a godawfully stupid question: Netscape? by jilles · · Score: 3

      With the coming mozilla version (beta in 60 days according to mozillazine), yes.

      --

      Jilles
    2. Re:Now for a godawfully stupid question: Netscape? by Zarniwoop · · Score: 1

      Well, it isn't the final one, but there is a 1.2 pre-release plugin for Netscape at:
      ftp://iodynamics.com/pub/mirror/linux-jdk/JDK-1.2. 2/i386/rc4/

      I haven't been able to find a final one... anyone else?
      The sun is going down, I say we follow it out of town- We've been here for far too long.

      --
      Still not dead.
    3. Re:Now for a godawfully stupid question: Netscape? by Anonymous Coward · · Score: 0

      It doesn't install. Multiple syntax errors in install script. Just what the shell am i supposed to use to install this?

    4. Re:Now for a godawfully stupid question: Netscape? by Zarniwoop · · Score: 1

      I passed mine through bash, worked fine. Seems to work with sh, too... Doesn't look like it works with *my* setup of csh or tcsh...

      Hmm... you're using JavaPlugIn_1.2.2.px.sh, right? Thats the netscape plugin- I don't have any experience with the other ones, I installed the jvm1.2.2 from java.sun.com. Also, I believe this is for glibc, if you're still running libc5 it won't work, but I'd think it'd still install... You might want to look around the Blackdown website, too-- they might have some relevant documentation.

      The sun is going down, I say we follow it out of town- We've been here for far too long.

      --
      Still not dead.
    5. Re:Now for a godawfully stupid question: Netscape? by kornai · · Score: 1

      It's not the shell, it's the DOS CRLF at the end of every line. Strip out the ^M from the end of every line and it will install just fine. Only problem is, it still doesn't run. The script launching the control panel comes back with: /usr/kornai/.netscape/java/bin/i386/native_threads /java: error in loading shared libraries: /usr/kornai/.netscape/java/lib/i386/native_threads /libhpi.so: symbol sem_init, version GLIBC_2.1 not defined in file libpthread.so.0 with link time reference Anybody had more luck with this? Andras Kornai

    6. Re:Now for a godawfully stupid question: Netscape? by kornai · · Score: 1

      Also, upgrade to glibc2.1.2, and the error goes away.

  9. JIT and Java 1.3 by ChrisRijk · · Score: 5
    You may be interested to find that the final release does not (currently) include a JIT JVM, because they were using Inprise's and that's not yet certified. You can download it seperately though.

    There was a JavaLive chat yesterday about the Java on Linux stuff. They haven't put up the transcripts yet though.

    For Java 1.3 from Sun, the Windows version will come out first, then Solaris then Linux. However, they do want to syncronise all releases together and should do this at or before Java 1.4 - might happen first for a maintenance release.

  10. Blackdown and Sun/Inprise JDK different by Anonymous Coward · · Score: 1

    The blackdown JDK (1.2.2 RC4) supports native threads, while the Sun/Inprise release does not. The Sun/JDK release for liunx is not recommended for use on SMP systems....

    1. Re:Blackdown and Sun/Inprise JDK different by jrwilk01 · · Score: 1

      You are incorrect. This version does support native threads.

      One must simply set the proper, documented, environment variable.

      lothos:~$ export THREADS_FLAG=native
      lothos:~$ java -version
      java version "1.2.2"
      Classic VM (build 1.2.2-L, native threads, nojit)

  11. Ok, so... by jd · · Score: 2
    How does this compare with anyone else's Java 2 for Linux? I know there are some out there.

    That's not to insinuate that there's anything bad about Sun's version of Java. Other than it has a history of being the slowest. (Jikes leaves Sun's v1.1 compilers trailing in the dust.)

    Also, now that Blackdown have it ported to Linux, will it be ported to different Linux processors? Or just ix86?

    I can't see why it should be anything beyond a simple recompile, to get binaries for all the Linux platforms, and compilation speed isn't an issue, as you're not looking to debug the logic. Emulators, such as the ARM emulator, and cross-compilers, should be fine in producing Java 2 for Linux for every platform it runs on.

    --
    It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    1. Re:Ok, so... by jonabbey · · Score: 1

      A history of being slowest, yes, but Sun's HotSpot dynamically optimizing VM is very nice, competitive or superior to anything else out there, at least for Java 1.2 and greater.

    2. Re:Ok, so... by Juergen+Kreileder · · Score: 1
      If you take a look at our status page, you'll see that we support non-intel architectures like sparc, ppc, m68k, arm,...
      For a comparison of JVMs take a look at the latest VolanoMark results. (The Blackdown JDK does quite well).

      Juergen

  12. Java 1.2 vs Java 1.8.8 by Pengo · · Score: 2


    I have been using IBM's Java 1.1.8 for basically powering my backend web applications on linux and frankly it has been working so well I have not seen a need to move to Java 2.

    I don't use any of the Java EE beans or really anything major complicated, but my team has built some fairly complicated web sites that use multi-tier architecture with a great deal of success.

    From the benchmarks I have seen I wouldn't argue that 1.2 is not really any faster than IBM's JDK? Actually, the benchmarks I have seen argue strongly the opposite.

    From what I understand IBM will have Java 1.3 ported to Linux Q2 this year. Is Java 2 really worth it on the backend on linux?

    Does anyone know what HotSpot is and what advantage that is going to bring us on using Java where it belongs, on the Server. :) (IMHO)

    1. Re:Java 1.2 vs Java 1.8.8 by Fly · · Score: 1
      Sun has lots of information about HotSpot available. There is currently a download of the RC for Win32, that is fabulous for some stuff. We have a batch data manipulation program that is faster by an order of magnitude using HotSpot versus JView (MS VM) or the classic JDK VM. It seems to us that an increase in string manipulation is the major cause of speedup. Our application used to take hours to run, but HotSpot reduced the runtime to about ten minutes, and most of the time used by the application now is just waiting on the database server.

      I was quite skeptical about HotSpot's claims until I experienced it for myself. Having it or something similar for Linux would be a boon to Java programming, IMO.

      --
      end of line
    2. Re:Java 1.2 vs Java 1.8.8 by Anonymous Coward · · Score: 0
      I'm in the same boat here. I just d/led 1.2.2 from sun, but I'm wondering if it worth it since my target platform will be jServ. I've been amazed with what IBM has contributed to the Java and XML arenas. I personally am convinced that IBM is new company. They are more together then Sun on Java. I think I'll just stick with 1.1.8 and wait until IBM puts out another release.

      Are the Blackdown and Sun releases one in the same. I don't see anything that leads me to believe this.

    3. Re:Java 1.2 vs Java 1.8.8 by MassacrE · · Score: 1

      The blackdown release is still on Release Candidate 4 as of two hours ago. This is a joint venture between Sun and Borland/Imprise, mostly because Borland wants to have a high-quality JBuilder for linux.

      IBM is a very nice company. I really hope they support Java 2 sometime soon, but to be honest I expect IBM's performance to drop some when they go up. Java 2 is just a heck of a lot more complicated in the VM, with things like weak references and the like now.

  13. Great, BUT... by kevlar · · Score: 4

    I admire the Blackdown crew, and the work they've done to get the JVM working under Linux. Unfortunately however, its not something I can use to write a professional application if I expect it to work properly.

    I've done a lot of Java development under Linux this year, and I've noticed several things that prevent me from doing serious work with Java (under Linux). For example, rmiregistry crashes without fail for any type of heavily loaded RMI project. Another example is that Thread objects break just as easily, or refuse to start altogether when you spawn multiple Threads (even if there is plenty of memory available). Luckily I have access to a cluster of Ultra5's to test my applications on, which execute almost flawlessly (I've noticed a few quirks with Threads under Solaris as well, but not nearly as bad as under Linux).
    I see the state of the JVM under Linux as being close to a toy. I know all the Blackdown people will probably find this insulting, but unfortunately, I can't do hard-core Java the way I can under Solaris. I do not blame Blackdown in any way for this however. I feel that this is solely Sun's fault.
    Thats my $0.02 on the issue. I love Blackdown, I love Java. Bugs suck.

    1. Re:Great, BUT... by phife · · Score: 1

      Perhaps it's time to start optimizing your RMI projects so they hit the registry so often, as you should do on any JVM.

    2. Re:Great, BUT... by Blue+Lang · · Score: 3

      see the state of the JVM under Linux as being close to a toy.

      I think the implication of your post is much more interesting than just 'java doesn't run well on linux.'

      What this (teir-1 support for solaris, goat-blowing support for linux) mostly accomplishes is continued degradation of a core-value of java: write once, run anywhere. Not only does it not work, it hasn't ever worked, and even if it does work, it doesn't work well enough to be useable in the Real World.

      So, as usual, instead of disparaging linux and the blackdown crew, I think it's important to keep the blame right where it belongs: on Sun. If they REALLY wanted Java to be a ubiquitous standard, they'd release it all and let the people who do the work have at it.

      All in all, NOTHING works perfectly across all platforms, not /bin/sh scripts, not perl, hell, not even terminal emulation. But the projects which are most open seem to have the most luck with being truly portable.

      --
      blue

      --
      i browse at -1 because they're funnier than you are.
    3. Re:Great, BUT... by kevlar · · Score: 2

      Optimization is irrelevent. It works under Solaris and NT, therefore it should work under Linux. Optimizing specificly for Linux goes against everything Java stands for. The fact is that RMI under Linux is severely crippled.

    4. Re:Great, BUT... by CyberDong · · Score: 1
      All in all, NOTHING works perfectly across all platforms

      I must have an old version of NOTHING. Mine only works on ETHERnet.

      - - - -

    5. Re:Great, BUT... by kevlar · · Score: 2

      Its completely true. We all know that Sun has a grudge against Linux and OSS in general, and this is just a good example of how they don't want to participate. It really is a shame though, because the potential for Java is huge, so long as things are done correctly; unfortunately they're not.

    6. Re:Great, BUT... by jonabbey · · Score: 3

      It doesn't surprise me that Java on Solaris would be more stable than Java on Linux. I run my (large!) RMI server app on Solaris under Java 1.2 and under Linux under 1.1.7/8, and it works fine in both places.

      Perhaps you are doing very fine-grained RMI object exporting? One thing I learned fairly early on is that it is important not to have all of your RMI objects inherit from UnicastRemoteObject.. if you do that, then your objects are automatically registered for export on creation. Much better to use the static UnicastRemoteObject.exportObject() method to export your Remote-implementing object only when needed.

      Actually, now that I think of it, I only actually register a single object in the RMI registry.. my top-level server object. All further RMI activity is done using returned references to RMI-exported objects.

      What sort of architecture are you using in your program? Which versions of the JDK have you been seeing problems on Linux with? What version of glibc do you have installed?

    7. Re:Great, BUT... by jonabbey · · Score: 1

      Optimization cannot be irrelevant. Yes, it would be nice if the Linux OS and JVM scaled in all the same ways as a certain JVM on Solaris or NT does, but that's not realistic. The Java Language Specification makes no guarantees about threading semantics, let alone scaling and performance issues.

      Write Once, Run Everywhere works surprisingly well, all things considered, and it's getting better. It's not a panacea, though. You do have to test your software across several JVM's and in various memory, threading, and loading conditions.

      All of which you know already, of course. Just don't curse Sun (too much)for not attaining perfection when they've got a better portability story than anyone else does today.

    8. Re:Great, BUT... by Anonymous Coward · · Score: 0

      Don't forget, glibc has everything to do with threads. glibc no worky, JVM no worky. Damn that sounds easy!

    9. Re:Great, BUT... by DLG · · Score: 1

      While I recognize that SUN might have strategic problems with Linux and open source in general, I would like to point out that they seem to be supporting Java for that platform.

      Check out the Macintosh support. Not Open Source at all.

      If Java actually ran on multiple platforms with any performance, it would make the question of Platform old fashioned. However instead they work hard to push it on the majority platform, Windows.

      D

    10. Re:Great, BUT... by Anonymous Coward · · Score: 0

      Actually, I had the same thread problems with RC2. But, I switched to the full release and haven't had any of those problems anymore. You might want to at least look at the full release to see if it does what you'd like.

  14. Long overdue... by scottdavis99 · · Score: 1
    I'm writing servlets for my current project. The "Powers That Be" had concerns about Java support on Linux (no official release, etc., etc., etc.), so they went with HP-UX. (Don't ask.)

    If they would've known the amount of time I had to struggle with getting GCC loaded and config'd for the HP, just so I could then compile Apache, just so after that I could compile JServ, just so I could *then* use an "Officially Sanctioned" JDK....

    As I said, long overdue...

    --
    ~Exaggeration is a billion times worse than understatement.
    1. Re:Long overdue... by CyberDong · · Score: 1
      just so after that I could compile JServ

      I hate to have to break this to you, seeing the amount of work you've already had to do, but JServ isn't it any more. The new reference implementation for servlets is Tomcat from the Jakarta Project.

      My condolences...

      - - - -

    2. Re:Long overdue... by scottdavis99 · · Score: 1
      Oh, I've *long* since given up any illusion that this installation is up-to-date. I've opted for "stable" over "latest-and-greatest".

      Hell, at this point I'd settle for "already installed"... (grin)

      --
      ~Exaggeration is a billion times worse than understatement.
  15. Sun JDK Experiences by Anonymous Coward · · Score: 1

    My life with the Sun JDK for Linux: 1. Got excited! Downloaded. 2. Installed 3. Ran my app. 4. waited. 5. killed process; tried again. 6. waited, waited, waited, waited. 7. killed process. 8. Uninstalled. 9. Downloaded and reinstalled RC4 *sigh*

  16. Jini and Java Spaces? by Mister+G · · Score: 1

    Has anyone gotten Jini and Javaspaces to run? I'm taking a class that has an assignment to write a "distributed" program using javaspaces, and I've been trying to get the examples to run using a release candidate... needless to say, it bombs out, and I don't want to attempt this project in Win98... Thanks!

  17. Best way to put JDK 1.2 into a Debian box? by Anonymous Coward · · Score: 0

    What might be the best way to put this JDK 1.2 into a Debian Box? Un-tar directly it into /usr/local as they say ? Or should we wait just a little while until .debs are available in unstable? Any guesses as to whether it might be soon?

    1. Re:Best way to put JDK 1.2 into a Debian box? by Anonymous Coward · · Score: 0

      (I keep forgetting that html is the default)

      What might be the best way to put this JDK 1.2 into a Debian Box?

      Un-tar directly it into /usr/local as they say ?

      Or should we wait just a little while until .debs are available in unstable? Any guesses as to whether it might be soon?

      ALSO: kudos to Sun for doing the right thing and recognizing the Blackdown folks!

    2. Re:Best way to put JDK 1.2 into a Debian box? by Nagumo · · Score: 1

      Not being a Debian user, I guess I can't say for sure (maybe there's some weird issue that I'm not seeing). However, if you're worried about being able to unistall easily, you shouldn't be (worried that is). Beyond using tar to create your /usr/local/jdk1.2.2/ directory, and modifying your environment variables, there's nothing more to do. To get rid of the jdk, just remove jdk1.2.2 directory.

      I have three different jdk's installed under /usr/local/ and it makes it very convenient to switch between them by simply changing my environment variables.

  18. Sun's JDK is not the Blackdown JDK by bos · · Score: 1
    As people who have been following the development of JDK 1.2 for Linux will know, the Sun/Inprise and Blackdown porting efforts have been taking place in parallel for the past while, and each group has produced a different port.


    My experience has been that Blackdown's port was faster and more stable than Sun's. Now that Sun's port has been officially blessed, I imagine it will have the stability edge for a little while, but I will continue to use the Blackdown port for its superior performance.

  19. yay! but will compaines make/update apps? by Anonymous Coward · · Score: 0

    Okay, I'm happy for a (hopefully) stable java for linux.... but one question remains.... will companies get off their buts and starting making/updating their java apps as a way to adress (the media hyped) linux market? I mean will ICQ for Java finally have 1/2 the features of its win/mac counterparts? With all the APIs out by sun/java, there is no reason companies cannot update/create their apps for java. nil*

  20. Yes it's great news BUT... by SurfsUp · · Score: 2

    ...the real problem isn't the warm-and-fuzzies, (although there's no underestimating the importance of people's feelings). The real problem is that Java is not open-source, and the stewardship of Java standards/apis is not open. The earlier slight to the Blackdown team was just a symptom, the real disease is Sun's unwillingness to let go of their baby and let it grow up into an adult. The result is that Java is still running largely with training wheels. Who wants to see how well the sandbox works when there are precious few applications worth running? Who wants to run an app that is theoretically pleasing but is, in practice, slow and kinda ugly? And not 100% stable? We can fix all that, but not under the current conditions. If things continue as they are, yes, progress will happen, but it will be sloooooooooow... maybe *too* slow.

    I don't want to sound ungrateful, but... when are you going to drop the other shoe, Scott???

    --
    Life's a bitch but somebody's gotta do it.
    1. Re:Yes it's great news BUT... by toriver · · Score: 1
      The real problem is that Java is not open-source,

      ... since languages aren't software. Implementations of the languages can be open-source, though, and some are.

      the stewardship of Java standards/apis is not open

      ... just like C++ et al. Except that you can go to Sun's site and download their official specs free of charge, while getting ISOs specs for "their" languages will cost you an arm, leg and your daughter's hand in marriage.

      Sun's unwillingness to let go of their baby and let it grow up into an adult.

      How long did it take for AT&T to let go of C++ and leave it to "grow" in the vats of ISO's JTCs? Do you really feel ISO's process has been to the advantage of the language? A single, steering body is always better, whether that body is called Sun or Guido von Rossum. :-)

      We can fix all that, but not under the current conditions.

      It seems you want Sun's source instead of working on the OSS projects already running, like Kaffe. Why?

    2. Re:Yes it's great news BUT... by SurfsUp · · Score: 2
      The real problem is that Java is not open-source,
      ... since languages aren't software. Implementations of the languages can be open-source, though, and some are.
      Thankyou for pointing that out, I'm always appreciative of a good niggle in place of an intelligent comment (*sarcasm off*)

      the stewardship of Java standards/apis is not open
      ... just like C++ et al.

      Huh. That's not so. ISO is a public body, the standards are open to real public review, and you can join the working groups if you want (if you've time and money to travel, that is). Try to join one of Sun's api committees. Try to even identify an api committee for Java, let alone a public one. Do you get the picture?

      Except that you can go to Sun's site and download their official specs free of charge, while getting ISOs specs for "their" languages will cost you an arm, leg and your daughter's hand in marriage.
      So? The specs haven't been kept up to date (check for yourself). And have always been incomplete. The specs somewhat lame in a lot of places, too. For example, hardware api's sucked from the beginning, they still suck, and from the look of things, they are going to continue to suck forever unless something drastic changes in the API development process. About the only hardware Sun has created an api for is the mouse. Show me how you support a joystick in Java, for example. It's a big world out there and Java as it stands just can't deal with a lot of it. Don't talk to me about native code interface either: hardware support is pretty much useless in Java unless it exists on every platform, and it's now so late in the game that even if the api's were fixed it would be immensely difficult to deploy the new support widely enough so that application writers could write to it with confidence.

      Sun's unwillingness to let go of their baby and let it grow up into an adult.
      How long did it take for AT&T to let go of C++ and leave it to "grow" in the vats of ISO's JTCs?
      We haven't got that much time to wait. At the current rate, Java is going to be a dead issue by the time Sun wakes up. It's going to be killed by something more useful, and more open, without one, self-interested company trying to dominate it. All I can say is, thanks Sun for giving Bill a few sleepless nights, but really, another proprietary solution is not what the world wants and it's not going to accept it. Many programmers are now using Perl and Python for applications where they would have looked seriously at Java. Python and Perl both work better than Java on Linux, they're faster to develop with, they start faster, easier to debug, more useful libraries, more code developed by other people that you can leverage, etc. etc.

      Do you really feel ISO's process has been to the advantage of the language? A single, steering body is always better, whether that body is called Sun or Guido von Rossum. :-)

      Then lets have a single steering body, but let that body be chosen democratically, and by merit. As far as I'm concerned Sun has dropped the ball.

      We can fix all that, but not under the current conditions.
      It seems you want Sun's source instead of working on the OSS projects already running, like Kaffe. Why?
      Kaffe is nice. Kaffe is fine. I admire everybody that works on Kaffe, and Blackdown too for that matter. But Sun is passively resisting Kaffe and other Java-clones (by withholding important specifications and compliance tests) to the point where it is very difficult to be sure whether Kaffe is Java-compatible or not. That's evil.

      This annoys me, because I'd use Java for a number of things if it weren't such a sluggish, unreliable memory hog. (Which is exactly what it is when you try to run, for example, any Swing program.) Personally, I'm not contemplating using Java for any serious development at this point whereas two years ago I was full of enthusiasm for the idea. Perhaps there are others like me?

      It seems to me that you just want to keep things the way they are. Well, it isn't working, that's plain for all to see. Look at the way Linux is leaving Java in the dust as a cross-platform vehicle for delivery of net-enabled applications. That's what Java was supposed to be. Linux has already stolen a lot of Java's thunder, and it will steal the rest unless Sun smartens up fast.
      --
      Life's a bitch but somebody's gotta do it.
  21. Great JVM by JohnZed · · Score: 3

    I've been using 1.2rc3 for some time on an intranet site using a bunch of servlets/JSPs. Works like a charm. 1.2 JVMs are SOO much easier to use and configure than 1.1.x JVMs. They're much more intelligent about using .jar's, etc. The performance is also quite good, especially with Resin (www.caucho.com). No, I don't work for them, but I'm incredibly impressed by their servlet engine. It also has a cool feature that compiles JavaScript (in JSPs) to real Java bytecode. Plus a lot of great utility classes (like automatic database connection pooling, and XML support). I highly recommend checking it out. We're running an app on a $400 Linux machine and the response is basically instantaneous, even with multiple database queries. --JRZ

  22. JIT and Threads by Julian+Morrison · · Score: 1

    The last Blackdown release had a wobbly JIT and native-threads that were just plain broken. To run Netbeans, I had to disable the JIT and switch to green-threads - in other words, to turn off anything that makes Java run faster than molasses. Is this fixed in this release? Is there infact any real reason to upgrade from Blackdown 1.2.2 RC4?

  23. Carifications: by Ledge+Kindred · · Score: 3
    As far as I'm aware, Sun's "official Linux JDK" is *not* the same as the Blackdown release - this is still the Sun/Inprise release. Sun *have* given Blackdown some credit for the port since the Sun/Inprise version is based on an earlier version of the Blackdown codebase, I assume they have miraculously managed to learn from their earlier mistake.

    An important distinction between the two is that the "official Sun JDK" does NOT support native threads and in fact recommends NOT running it on SMP machines, while the Blackdown release does native threads and SMP just fine.

    -=-=-=-=-

    --

    -=-=-=-=-
    My mom's going to kick you in the face!

  24. THIS IS INFORMATIVE??? by cob2k25 · · Score: 0

    maybe the moderators should check the link before..

  25. JVM performance bad on MOST platforms by Kludge · · Score: 1

    I wrote a Java program for my son to use. Supposedly, it puts pictures of animal pictures on the screen, plays a sound clip, and a person is supposed to click on the picture of the right animal. Programming it was a dream. Easy! Not much code.

    The problem: It doesn't run the same on any 2 platforms that I've tried. It doesn't run the same twice on any single platform. You never know which thread will run first. Sometimes the sound comes before the pictures appear (which is not the order it's programmed). Often, it doesn't load the images when I tell it to, and sometimes it doesn't load one of the images at all. The only way I could keep it from playing 2 sound clips at the same time was to specify a sleep the duration of the 1st sound clip. This happens with 4 different JVMs and operating systems (no Sun platforms) that I've tried. And, of course, it often crashes.

    I have given up on Java. The point was to make a cross-platform program that non-Linux users could use, but if it only runs well on Sun products, forget it.

    1. Re:JVM performance bad on MOST platforms by cheeser · · Score: 1

      The thread problems aren't a Java issue. Thread execution order is nondeterministic and often seemingly random. To blame this behavior on Java is to not understand multithreaded programming. Remove the threads and you won't have that problem.

      I've been programming in Java ( using CORBA and RMI ) on Linux for ~2 years now and it's been great. It's had its problems to be sure but it's not as bad as some here are making it out to be. We've had significant loads and high numbers of objects going back and forth from our servers and Java has worked like a champ.

      cheeser

      --

      --
      http://cheeser.blog-city.com

    2. Re:JVM performance bad on MOST platforms by Acceleration · · Score: 1

      I can't believe the parent of this is posted "2, Interesting" This post slams Java wo/having much of a clue about the defined programming model. RTFM

    3. Re:JVM performance bad on MOST platforms by greg_barton · · Score: 1

      What do you expect from a poster whose nick is "Kludge?"

  26. OT: What's floating in that coffee cup? by Anonymous Coward · · Score: 0

    The image used for the Java stories has something that looks like a teabag or marshmallow floating in it. Not something that I've ever seen in a cup of coffee in any case. Any guesses as to what it might be?

    1. Re:OT: What's floating in that coffee cup? by Mr.+Piccolo · · Score: 1

      A very large lump of sugar?

      Well, you asked...

      --
      Glückwünsche, haben Sie Slashdot ermordet, indem Sie zum korporativen Druck beugten und Subskriptionen einlei
    2. Re:OT: What's floating in that coffee cup? by kwsNI · · Score: 1

      Haven't you heard of instant coffee? They're little packs just like teabags, only they have coffee in them (duh, that was a little redundant).

      kwsNI

    3. Re:OT: What's floating in that coffee cup? by Anonymous Coward · · Score: 0

      Maybe it's Irish Coffee... :-)

  27. Just checking.. by Anonymous Coward · · Score: 0

    to see if my IP is still banned.

  28. But Seriously... by Tassach · · Score: 1

    Java is an appopriate choice for many kinds of games, but not all. First-Person shooters would not be a good class of game to do in Java; they are so resource-intensive and speed-critical that the performance hit of running on a JVM would probably be unacceptable. However, many other types of games would be great on Java - multi-player turn-based strategy games (Like Civilization II)would benefit from Java's strengths. I think that pretty much any game that isn't dependant having a high framerate to be enjoyable could be done in Java with no noticeable degradation to playability.
    "The axiom 'An honest man has nothing to fear from the police'

    --
    Why is it that the proponents of "one nation under God" are so eager to get rid of "liberty and justice for all"?
  29. How Sun Lost Us As a Java Customer (Not a troll) by FreeUser · · Score: 3

    I was once very excited about java. Did a fair amount of development under Java 1.0, Java 1.1, and Java 1.2, before we as a company decided to dump the product because of Sun's mismanagement of the standard and their lackluster support of the Blackdown group and Linux in general. This may have changed for the moment, but for us (and I suspect many others) it came far too late to be of much use (c.f. "sun sucks").

    Performance may now be acceptable, but at the time we dumped the product even a small, simple data entry application was too demanding of the JVM at the time (even on Sparc 10's running Solaris, much less Linux). The choice Sun gave us was stark: run the Java VM under Windows or Solaris on a high end sparc, or suffer. We chose Linux, adopted a more open development environment, and now having dumped the product we will not, in the future, ever consider going back (c.f "sun sucks" and "slow"). Using GNU configure and its associated utilities, we are able to get all the cross-platform support we require, even if it involves a quick rebuild of the sources (typing "./configure" and "make install" isn't terribly difficult) with the performance our users demand and languages we can hire developers for (c.f. "use Perl" and "Java sucks").

    I enjoyed using Java (despite the, even now, still horrificly screwed up date and time classes) as a language, but the drawbacks were too severe and too critical for too long of a time, and Sun's current and future motives with respect to the openness of the standard and support for Linux, FreeBSD, and whatever other platform we may, in the future, chose to deploy, has eroded our confidence in the product too much for us to seriously consider any future use of Java. Put simply, the stumbling blocks Sun until recently put in the way of development on anything other than their "blessed" platforms far outweighed any advantage the language itself offered (and those were not inconsiderable for those of us coming from C++, with Java's simpler memory management and garbage collection and other features).

    Alas, the promise of "write once, run everywhere" quickly became (and IMHO remains) "write once, run where Sun would like you to." At present Sun has chosen to become mildly friendly towards Linux. This is great! However, I would not expect this to remain a long term strategy on their part, unless there are some serious changes in the mentaility of Sun's upper management. (c.f. "blah blah blah").

    --
    The Future of Human Evolution: Autonomy
  30. Thanks, but... by chandoni · · Score: 2
    Now, how about an alpha (AXP linux) port? Due to childish feuding between the Blackdown team and "Uncle George," the guy originally doing the alpha ports, there is still not a decent JDK for my lab's Linux/alpha systems. (I don't even know which side started it, just that the result is very disappointing to those of us who want the port). I'm sure Sun could clear up that problem pretty fast with some strategically applied cash. Of course, if they released their JDK as free software, somebody might do the port for them, but their license is another issue.

    JMC

  31. java for mozilla ? !!! by daemonc · · Score: 3

    Does this mean that us poor linux users can finally use the java plugin for mozilla ? (oh please please please ...)

    --
    All that we see or seem is but a dream within a dream.
    1. Re:java for mozilla ? !!! by stewart.hector · · Score: 1
      just what are moderators on these days... moderators should be moderated themselves.

      How can this be classed as interesting for Godsake.. funny maybe, but interesting?
      what information does it give?
      bugger all thats what.

      --
    2. Re:java for mozilla ? !!! by Mahy · · Score: 1

      Yeah, go to www.javasoft.com. Follow the JavaPlugin link, and go to download it... They have a link to blackdown, who has written the JavaPlugin for 1.2.2. I just installed it, and it seems to work. (In Communicator, that is, haven't tried Mozilla yet)

  32. Multithreaded Programming by rhedin · · Score: 1

    You may want to brush up on multi-threaded programming- what you describe is exactly the way it is supposed to work (i.e. the order of thread execution is not guaranteed).

    It sounds like you've seriously overdeveloped your app- if you're doing things sequentially, why put the actions in seperate threads? If you actually need threads for something, can the UI functions you describe be in one thread? Perhaps you should sychronize things using events.

    YMMV, but I daily do development between 98, NT, Linux, and Solaris (on an UltraSparc) with Java and my code works the same on all platforms. Of course, I'm only doing Server Side applications and am not using AWT or Swing.

    I'm not saying Java is all the hype made it out to be. In fact, all of the hype probably did more damage to Java over the long term than helped in the short term, but overall as a language it's not too shabby. As always, you should use the right tool for the job- maybe it's Java, maybe it's C, maybe it's Perl, maybe it's VB or Delphi. Depends on what needs to be done.

    For the record, I've never been able to get a client side application using AWT or Swing to work the same between implementations.

    1. Re:Multithreaded Programming by drudd · · Score: 3

      Actually, its not his multi-threading which is the problem. Graphics in java are multithreaded within the language, which is supposed to aid applets which may need to grab images off of a server.

      It is possible to force your main thread to block until images load, but he obviously doesn't know (For the previous poster, look into the MediaTracker interface).

      Doug

      --
      Venn ist das nurnstuck git und Slotermeyer? Ya! Beigerhund das oder die Flipperwaldt gersput!
    2. Re:Multithreaded Programming by Anonymous Coward · · Score: 0

      i had this problem. what you do is preload all the images at the start into your objects. then when displaying you simply repaint the objects on the screen and it works every time.

  33. It could be worse ... by gsf · · Score: 1

    DOOM in Java.

  34. Finally.... by Trash80 · · Score: 1

    I just ran some of my old programs, even the one's with 1000+ threads work fine now, no crashing...sweet

  35. Free Java Software by trance9 · · Score: 2

    This is great news. I had been holding the WebMacro servlet framework to 1.1.8 because there wasn't good support for Java2 on free OS's.

    Now I can move it forward to Java2!

    1. Re:Free Java Software by mdillon · · Score: 1

      i wouldn't call the current support "good". there is still no Java2 VM for *BSD or any GNU/Linux flavor except X86. i would keep holding if i were you.

    2. Re:Free Java Software by mdillon · · Score: 1

      i take that back...Blackdown RC4 is available for SPARC, but it's not supported by Sun and probably won't be for a while.

  36. But.. by rhedin · · Score: 1

    Tomcat isn't ready for primetime yet. It's lacking many features that JServ already has (and has had for a while now). Just an example, but it still doesn't support servlet reloading. JServ does.

    I'm running both side by side, and while I would like to use some of what Tomcat has (ex. support for Servlet 2.2), right now I can only deploy to JServ. Maybe when 3.1 is out I can switch.

  37. HotSpot by jabber · · Score: 2

    In real simple terms, HotSpot is a run-time optimizer for bytecode. It sees what pieces of code are getting used over and over (hot spots) and optimizes them - in a way that I believe is similar to storing data in registers instead of memory; whatever that means in JVM parlance.

    --

    -- What you do today will cost you a day of your life.
    1. Re:HotSpot by MassacrE · · Score: 1

      Much more like if you wrote binary code that would monitor your application's own usage, and dynamically relink code while running to inline functions, remove impossible-to-reach code blocks, etc.

  38. Nethack!! by Axe · · Score: 1

    Port it to Java!!

    --
    <^>_<(ô ô)>_<^>
    1. Re:Nethack!! by Ravagin · · Score: 1

      It just so happens that this is being done: http://come.to/JavaNetHack.
      work seems to be dreadfully slow, but maybe someone can lend him a hand or something...
      BTW, more roguelike java projects can be found on Roguelike News' Links Page. Enjoy!
      -Ravagin
      "Ladies and gentlemen, this is NPR! And that means....it's time for a drum solo!"

      --

      Karma: T-rexcellent.

    2. Re:Nethack!! by Roundeye · · Score: 2

      work seems to be dreadfully slow or the game seems to be dreadfully slow :-) they probably got tangled in the no-multiple inheritance mess that is java OO and had to flip their code inside out to get what they wanted (can you tell I'm bitter), but seriously, I would like to see more java games so I could crank them up on the Sun and the Alpha and the p3's and have a real in-house fragfest.

      --
      "Cause there's 40 different shades of black, so many fortresses and ways to attack, so why you complainin'?"
    3. Re:Nethack!! by Axe · · Score: 1

      they probably got tangled in the no-multiple inheritance Huh? Have you heard of "implements" ? What else do you need? If you miss ":virtual public" mess, you have serious self-punishment problems ;)

      --
      <^>_<(ô ô)>_<^>
    4. Re:Nethack!! by greenrd · · Score: 1
      Well actually, "implements" and delegation is what you probably need. Delegation can be a real irritation - I know, I've had to do it a lot in my extension collection classes - but a cool thing to do would be to code an extension to Java using the free "compiler construction kit" ANTLRCC to take some of the drugery out of it. I might just do that when I have some spare time.

    5. Re:Nethack!! by Axe · · Score: 1

      I would better wait until they implement generics/templates and get a good native compilation working.

      --
      <^>_<(ô ô)>_<^>
    6. Re:Nethack!! by Roundeye · · Score: 2
      Yeah, wiseass, I've heard of implements, and delegation, abstract base classes and factories, and design patterns, and UML, and all the other supposed means to get around Java's problems. Fact is, Java has them, and for any large scale project overall implementation time is increased over other common procedural and/or OO languages due to the fact that the design phase of a large project is longer than for other languages (due to the narrow ways that you are allowed to express designs in code). All that for a not-quite-portable slow language?

      --
      "Cause there's 40 different shades of black, so many fortresses and ways to attack, so why you complainin'?"
    7. Re:Nethack!! by Axe · · Score: 1

      In my experience - any time spend on "design", that you scoff so much, save 10 time the time in debugging and further maintenance. And it does not look like it is just my opinion. ;)

      --
      <^>_<(ô ô)>_<^>
    8. Re:Nethack!! by Roundeye · · Score: 2

      I do not scoff design time. Design time is the most important phase of development. Doubling design time because of the choice of pointlessly rigid implementation language is however ridiculous.

      --
      "Cause there's 40 different shades of black, so many fortresses and ways to attack, so why you complainin'?"
    9. Re:Nethack!! by Axe · · Score: 1

      Donna... I better double it, than track rudiculously obscure C++ "features" (And, yes I do code my stuff in C++, and love it..

      --
      <^>_<(ô ô)>_<^>
  39. Re: Threading Semantics by jonabbey · · Score: 1

    Let me correct myself. The JLS obviously does say a lot about threading semantics, just not enough to specify whether threads are even pre-emptive under Java, let alone map to native threads or across processors on an SMP box.

    If you are extraordinarily careful and use synchronization primitives with care, you can write code that will function (however slowly/poorly) even in a very limited threading environment.

  40. enuff bitching by Anonymous Coward · · Score: 0
    Let's cut the rant for a while.
    Most of us live in a free, market driven society. If enough developers and/or users demand better JVMs for more platforms etc. etc. then we should ask SUN to make them, or make them ourselves. blackdown.org is a modern hero of the linux community.
    Java is a higher level language, with a modern and (mostly) solid API that forces correct use of OO principals (not a partial hack like C++).
    I feel we need this, be it java or something else.

    Anyone interested in a java knock-off?
    Maybe "cocoa"???

  41. Re: Threading Semantics by TummyX · · Score: 1

    Aren't native threads allowed to preempt? I think there are garunteed atomic operations too like (a = b);

  42. Difference between Sun and Blackdown JVM ? by Anonymous Coward · · Score: 0

    What are the difference between the latest Sun JVM and latest Blackdown JVM ? Why is the Blackdown team working on java ports since Sun is releasing an official Linux port ?

  43. I know... by Anonymous Coward · · Score: 0

    a big grit!

  44. just waiting for JDK1.3 by msanty · · Score: 1

    I am currently employed in the telecommunications industry working on a SNMP administration tool written in Java. We started with JDK1.2.1, moved to JDK1.2.2, and are now developing with JDK1.3. With JDK1.3 our application blazes onto the screen in under a second, whereas with the earlier versions it took substantially longer. Good work Sun! Blackdown, I can't wait for the port.

  45. Seriously...? by cr0sh · · Score: 1

    Check out Frag Island - a Java FPS, that if only had gone all the way...

    --
    Reason is the Path to God - Anon
  46. Wish list by AeiwiMaster · · Score: 1

    Post feature requests for the next JDK as replys to this message.

    MODERATORS, please rate the suggestions!

    Please, only one request per posting or you will mess up the rating.

    Lets work together and make better software!

    1. Re:Wish list by Kingpin · · Score: 1

      No offense, but why would it help to post it here instead of at Sun's feature request list?

      --
      Unable to read configuration file '/bigassraid/htdig//conf/14229.conf'
      Geocrawler error message.
  47. Re: Threading Semantics by jonabbey · · Score: 1

    Preemption is allowed, yes, and there are guaranteed atomic operations (reference and integer assignment, at the very least). That's why I backpedalled and said that the JLS did indeed have guarantees on thread semantics.

    It just doesn't have any guarantee as to when a particular thread will be run, nor whether a thread will ever be switched unless the active thread comes to the end of its execution or to a wait() call. In practice, every JVM that I care about will do those things, and I don't bother seeking out a Palm Pilot or Win 3.1 JVM to test my code on, but in theory it's something to be aware of.

  48. Why a bottleneck? by Axe · · Score: 1

    Do not you do memory management when coding in C++? Only by hand and error-prone. Your code spends 80% of its time withing like 10% of the program. If you do not create and dispose of too many objects in there - GC overhead is negligible and well worth it. REal bottleneck in Java for me was its floating point performance. I can not use GCC now, for lack of features, but I would expect it will alleviate this..

    --
    <^>_<(ô ô)>_<^>
  49. GUI stuff doesn't work for me by Brad+Moore · · Score: 1

    code like:

    public class Test {
    private static Frame frame;

    public static void main(String[] args) {
    frame = new Frame("Test");
    frame.show();
    }
    }

    compiles fine, but segfaults every time I run it. Something isn't right here...

  50. Re: Threading Semantics by Tupper · · Score: 1

    a=b is guaranteed atomic unless a and b are longs.

  51. Whuh? by Anonymous Coward · · Score: 0

    You want the moderators to use their brains???

  52. Java is NOT OO, C++ Is by Anonymous Coward · · Score: 0
    I hate this snafu, C++ is Object Oriented because it is still structural at heart.

    Java is just plain Object (or Objective) programming.

    Programming teachers hate it when you don't know the difference.

  53. Now I can go Java by haggar · · Score: 1

    I didn't know this before I read these news, but now I do: I needed a good JVM for Linux in order to competely switch my focus from C to Java. I will certainly continue working in C, but less and less. My company does a lot of Java developement (on HP UX and NT), but I wasn't very motivated to join R&D with Java. Now I am!

    Thanks Blackdown and Sun!

    --
    Sigged!
  54. Sun, hire these people! by rngadam · · Score: 1

    Hey, SUN PHBs, hire the blackdown team so they can work full time on the JDK port - OK? Better do it before IBM hires them ;-)

  55. Looking into the gift horse's mouth... by Tjl · · Score: 2

    ...to see if any Greek soldiers are lurking in there.

    Really, the README says that only green threads are supported and running under SMP kernels is discouraged. Given the resources Sun has to do things right, this can mean only one thing: it's their way of saying "Linux is OK for single-user toy usage but for high-end SMP stuff just get Solaris, OK?". This is more a PR release "We do Linux, we want our stock to go up" than the REAL thing.

    I hope IBM will bring out a SMP-supporting JDK2 SOON! Their 1.1.8 is wonderful and fast. Are you listening, IBM?

    Tuomas

  56. recommendations for servlet reading by Anonymous Coward · · Score: 0

    Hey guys,
    Quick question for all of you.
    Does anybody have any recommendations for books or any links to tutorials or any other information on servlets.
    Although I have found some info on Sun's site it isn't nearly as good as I would hope it would be.

    1. Re:recommendations for servlet reading by Stan+Chesnutt · · Score: 1

      Get "Java Servlet Programming" .. O'Reilly, written by Jason Hunter and William Crawford. Let me know what you think ...

    2. Re:recommendations for servlet reading by Zurk · · Score: 1

      download the JSDK from suns site and copy the javax directory into your programming directory. recompile and add import javax.* and use extends HttpServlet to your code and voila - instant servlet. its easy fast and fun.

  57. Comparisons to IBMs JDK? by Johann · · Score: 1

    I have been using IBMs JDK 1.1.8 for 6 months and despite one huge bug (which is fixed), it has been a stable and fast JVM.

    Anyone know how BD/Sun JDK 1.2.2 compares in terms of raw speed?

    --

    --
    "You're gonna need a bigger boat." - Chief Brody
  58. All things [are] in moderation (Well off-topic) by chazR · · Score: 1

    Sorry to post as an AC (away from usual box, password stored as cookie etc etc), but who the hell thought this was worth a +5 (Funny)? It's not very funny, it's not clever and it should be a -1 (Troll).

    If I were a conspiracy theorist I'd say that the /. management are trying to reduce the value of the site by encouraging troll weevils, posting deadly dull old stories and hiring new story posters without any mention of their provenance.

    Rob, You're best readers/contributors are going to get really pissed off and leave. If you're feeling too rich/bored to run the site properly, hand it over to someone who *will* run it properly.

    Back on topic, I spent half of today writing a neat little Java utility. Console only (with JDBC to three Oracle boxes), and I can't see how I could have built it that fast with any other system. I considered perl, python, C, C++, but for me, today, Java worked.

    [Yay! I've managed to get X to my usual box - the cookie's still there, so I'm not an AC after all. The magic of modern telecoms...]

    1. Re:All things [are] in moderation (Well off-topic) by Anonymous Coward · · Score: 0
      Dude, you obviously have no sense of humor. Not only no sense of humor, but a sick sense of control, diverting attention from something that I thought was clearly hilarious to something that I _COULD NOT CARE LESS ABOUT_.

      Please moderate this guy down, not to mention kick that parent posting back up to +5, Funny. Thank you :-D

  59. What sun should do? by Matt2000 · · Score: 1

    If sun really wanted to get Java multi-platform they would get the following straight:

    1. Built in support for every major Linux distribution.
    2. Automatic or at least automated update of the JVM on your system to the latest stable version. By components hopefully as the whole thing is a little big.
    3. Finish the damn Java plug-in for browsers. No one wants to include Java in their browser anymore, so just finish that Java runtime as a plug-in deal and get it out there.

    Then we could have some serious open source Java projects for Linux and I could finally start contributing...

    Hotnutz.com - Funny

    --

  60. not free/not open/big evil corp. by n0stram · · Score: 1

    I think it's a "good thing"(tm) that they ported it. But I don't think we should accept Java as it is. We should develop a better or even worser language as long as it's free, open and doesn't contain any evil licenses. Sun isn't any better than Ms and they should _not_ own something that might become language no.1 in the world. If somebody owned C/C++ ? How would the world look like today?

    ::Optimization is the root of all evil

  61. Please avoid Executable Content for best security by Anonymous Coward · · Score: 1

    Before you go too far into JAVA, JITs etc, please read this warning about using executable content languages via html

  62. Should I be Excited? by Maul · · Score: 2
    Normally, I'm pretty happy when something new comes to Linux, however in this case I'm not sure if I should be.

    It is about time Sun got decent Java support to Linux. I know that they'd rather spend effort on working on their own OS, but if they truly want a language that is portable to all systems, they need to make sure it actually works on all systems.

    Now for the negative side. My experience with Java screams that the language is in need of much work. It runs slowly. It requires you to look up the APIs constantly anytime you want to do something useful, and it just doesn't get the job done as well as C/C++. It has a place, but I'm not sure that it is really the greatest tool for Linux programmers when compared to C/C++/Perl/Whatever. Still, the idea of "crossplatform" is nice.

    --

    "You spoony bard!" -Tellah

    1. Re:Should I be Excited? by lgas · · Score: 1

      I assume you are kidding when you say that you have to look things up in the Java API if you want to do anything useful. How is this any different than any other programming language? You have to use man pages or API specs for anything in C if you do not already know how say the socket libraries work or whatever. If you can memorize it for C, you can memorize it for Java, and probably more easily since Java is better planned, more well thought out and intuitive. Not only that but the use of javadoc on all of the actual java class libraries means there is pretty damn good documentation for the whole language all organized conviently and easily in one place, and a lot easier to use than man pages. Also you compare it to C/C++/Perl/etc. Hasn't the software engineering profession been around long enough that people should realize that different tools are better for different jobs? Don't use a hammer to dig a hole when a shovel is available and all that.

    2. Re:Should I be Excited? by mikera · · Score: 1

      Java runs slowly if you don't know how to use it. Certain operations in Java have a lot more overhead because of the requirements for security, portability and garbage collection.

      But like any language, if you know it well enough to avoid the performance pitfalls then you can write some pretty fast code. I've written plenty of graphics and AI stuff in java that runs at a pretty acceptable speed.

      Java isn't perfect, but it really is worth checking out for certain kinds of applications. Performance really isn't as bad as some people make out, and the langauge has a lot of advantages in terms of development speed that easily make up for it. I'm certainly extremely pleased to see it being better supported on Linux nowadays.

  63. Re:Fuuuuuck. by Anonymous Coward · · Score: 0

    Moderation on Slashdot is such a bloody mess.

    Congratulations! You win a lolipop! Only certain people get to moderate - people that the existing Slapdash.org establishment want.


    Wingnut

  64. Off-topic by Wesley+Felter · · Score: 0

    What does this have to do with the article?

    Java can be used for a lot more than applets.

  65. The moderator acted reasonably by divec · · Score: 1

    >> a dual p3 with MySQL outperforms a 30 cpu sun E6500
    >> with oracle by over 500 times, with more features
    >> and better reliability

    This statement is completely and wholly untrue. It's like saying a skateboard can go faster than a train, there's no matter of opinion. The poster wasn't saying MySQL is a better choice for some situations, he was saying that it is several thousand times faster than Oracle. The rest of the comments were equally crazy. Perhaps the original poster was being sarcastic, or perhaps he was just trolling. But he sure as heck wasn't being sincere.

    --

    perl -e 'fork||print for split//,"hahahaha"'

  66. The Java Icon by Mahy · · Score: 1
    What is that stuff floating in the coffee? For the longest time I thought the icon was a dead potted plant... You know, dirt, something in the middle, and smoke rising up?

    I hope to goodness they aren't supposed to be marshmallows. Marshmallows go in cocoa...

    1. Re:The Java Icon by Vandermar · · Score: 1
      Perhaps a dollup of whipped cream on a fresh cafe mocha.

      /matt

      this is my third day off the juice (quad espresso) why is the world suddenly going so fast?

  67. Answer: security by Anonymous Coward · · Score: 0

    The html delivery model for executable content which includes JAVA/JavaScript/etc has serious security flaws that need to be addressed, and this issue was discussed at length in the CERT's advisory. Java applets are one of the major application areas for Java. Today's Slashdot article is about JAVA, a member of the group of executable content languages impacted by the security problems.

    1. Re:Answer: security by MassacrE · · Score: 1

      oooh.. but the article is also in HTML, the delivery method of said security problem. Post this on every article!

    2. Re:Answer: security by Anonymous Coward · · Score: 0

      The comment said html delivery model for executable content. Which bit didn't you understand?

  68. SUN JDK 1.2.2 supports Green Threads Only by rhedin · · Score: 1

    According to the README, SUN says otherwise...

    Note for Linux users:

    We do not support or recommend running the Java 2 SDK on SMP kernels. Also the only thread model supported is green threads.

    Of course, it is possible that they have native threads, but it hasn't been tested well enough to use in a production environment.

  69. What are the most scalable JVM's? by Anonymous Coward · · Score: 0

    Check out the Volano Report. Sun/Solaris and Blackdown/Linux rock....

  70. Is this X86 only? by lordpixel · · Score: 1

    Is this release only for Intel x86 or do they support Linux on any other architecture?


    Lord Pixel - The cat who walks through walls
    --

    Lord Pixel - The cat who walks through walls
    A little bigger on the inside than out

  71. moderate this up! by Anonymous Coward · · Score: 0

    C'mon!

  72. Re:How Sun Lost Us As a Java Customer (Not a troll by Zurk · · Score: 1

    you dumped Java because of Sun ? Why ? So far sun has managed to produce a fairly decent language as of java 2 with very few bugs (at least not as many as the horrible java 1.0.x). with kaffe other GPLed java implementations and class libraries Sun could be dumped almost completely. yes, its slow (as yet..) but its probably the only language out there which *can* be compiled once and run anywhere you can get a compatible VM. i can understand if youre coding in C and using the GNU tools - thats a FAR superior environment ..but for stuff such as server side programming - Java far outclasses anything else if you have the hardware to pull it off.

  73. GNU Classpath by Frac · · Score: 2
    If you're not satisfied with the proprietary nature of Java on Linux, you should contribute to GNU Classpath, a set of clean room classfiles that attempts to support Java 1.1, and possibly 1.2.

    It's in a early stage right now (version 0.0), but should more people hack on it, we can say bye-bye to Sun.

  74. Re:Please avoid Executable Content for best securi by Anonymous Coward · · Score: 1

    A good feature for Mozilla: userdefined acl for sites where Java is enabled; default is no Java at all.

  75. Re:interesting? by daemonc · · Score: 1

    well i had no idea anyone would find my ramblings of any interest... but the issue that i was hinting at is what anyone who has been testing Mozilla on Linux has known for quite a while: support for Java applets in Mozilla is implemented by a Java runtime engine plugin, which is included in the Java 2 release, which until now has been unavailable on Linux.

    --
    All that we see or seem is but a dream within a dream.
  76. Mozilla's good features staying in products? by Anonymous Coward · · Score: 0

    This is indeed one of the great features of Mozilla, but let's hope it isn't reversed when Mozilla is finally released and incorporated into set-top boxes, mail-order PCs etc. The released Mozilla will need to be an order of magnitude easier-to-use and more bug free than the competition to stand a chance of displacing IE5 from its dominant position. Even if Mozilla takes over from IE5, until IPv6/HTML 5/secure DNS are universally deployed, the availability of Java and JavaScript in common browsers is going to continue being of more risk than benefit to most users. There will probably always, however, be the odd user who actually likes and expects client-side excitement like flashy mouseOver.goWild animations, open.Window.Uncloseable popups etc.

  77. Like DOH! Butthead by Anonymous Coward · · Score: 0

    I posted this damn message at 5:00 AM EST this morning. What's the deal, no one awake that early?
    www.linuxticker.com posted the news 14 hours before that and Sun did the whole thing on Monday. Happy Valentines Day!!!
    I didn't realize that you have to be somebody to post something...

  78. My, aren't we snooty by Anonymous Coward · · Score: 0

    I guess opinions counter to yours are forbidden. The original poster about Java making crappy games was correct.

  79. No JIT? by Logical · · Score: 1
    There appears to be no JIT in this release. This means there is no reason to use this release over, say RC1. RC1 w/JIT was twice as fast as the final version w/o JIT. Sorry, but I'll stick with the twice as fast version. Co here to see some benchmark results. JW
    1. Re:No JIT? by Logical · · Score: 1

      Ok, I installed the RC1 jit and ran some benchmarks.

      http://coil.tempusmud.com/~jwatson/jdk/

      next step, see if the newest inprise jit is
      any different or better.

      JW

    2. Re:No JIT? by lgas · · Score: 1

      It's a matter of choosing stability over performance. If your application is not mission critical, by all means, use RC1 with the JIT. If it is, using RC1 instead of the actual release would be ill advised at best. For example, try creating more than 600,000 objects at one time in RC4.

  80. VA and Andover, PARTNERS IN CRIME! by Anonymous Coward · · Score: 0

    One of the most cynical deals recently involves the merger of two software companies trying to cash in on the Linux operating system craze: Andover.net Inc. of Acton, Mass., and VA Linux Systems Inc. of Sunnyvale, Calif.--which went public within 24 hours of each other back in early December. Less than eight weeks later, on Feb. 3, the two companies announced a stock-for-stock merger in which the California company has agreed to acquire the Massachusetts crowd for about 6 million shares of VA Linux and $60 million in cash. The cynicism in the transaction is not simply that the deal took place so shockingly soon after the two companies wrapped up their I.P.O.'s, but that the transaction included what amounted to a legalized bribe on the part of the VA Linux bunch to get the Andover.net crowd to accept the offer. The deal means that the $60 million in cash from VA Linux will go directly to Andover.net's shareholders, at $3.81 per share, in effect handing over the same amount of money Andover.net raised in the I.P.O. only weeks earlier. Prior to the I.P.O., the company's insiders had only paid a grand total of $15.7 million in cash into the company. Now they are being handed back $60 million as compensation. What a deal. As for investors in VA Linux, they are getting hosed. The company's stock was priced in the I.P.O. at $30 per share, but opened for trading at $299 and instantly shot to $320, then collapsed like many of the others and eight weeks later is now selling for $110. Faced with 39.7 million total shares outstanding already--of which only 4.4 million are held by the general public--investors in the stock can now look forward to the imminent registration of 4 million more shares by the company, which will doubtless come pouring into the market soon thereafter, thanks to the Andover.net deal. In other words, the only really valuable asset Andover.net ever had--its cash from the I.P.O.--was creamed off by the company's insiders almost the very instant they got their hands on it, leaving VA Linux's shareholders to face a 100 percent increase in the float of their own stock for the privilege of winding up with the worthless trash that the Andover.net bunch dumped at the very first opportunity.

  81. Re: Threading Semantics by hebcal · · Score: 1

    ... or doubles.

  82. Is it X86 Only ? by Tsk · · Score: 1
    Is this port only for the x86 architecture ?
    too many compagnies consider linux a x86 only platform and it's not .....
    Blackdown used to run on other processors what abouts the official release ?

    --
    none Yet.
  83. Re:I agree: avoid JAVA/JavaScript, stay server-sid by Anonymous Coward · · Score: 0


    Look, its Java, not JAVA.

    Learn to spell dammit

  84. Uhmm have you *tried* the new version? by Anonymous Coward · · Score: 0

    There has been alot of improvement.

    In fact blackdowns's jdk-1.2.2 JVM is one of very few JVMs (2) that didn't error out on Volano's network tests. It also is now 4 times faster than jdk-1.1.7 in the same tests (IBM's jdk-1.1.8 on NT is twice as fast as the new blackdown on linux but it used to 10 times faster).

  85. Codig a game in Java. by Kingpin · · Score: 1

    The major problem with Java is the speed of the graphics routines. Swing still suffers from this, compared to natively compiled GUI's like eg. GTK+ stuff. Recently, however, I've become aware of 2 important facts, that will allow those of us who want to, code games in Java at good speed.

    1 Magician, an OpenGL implementation for Java which yields Java code that seamlessly uses existing native OpenGL libraries to provide high-performance rendering over a variety of platforms - how's that for starters?

    2 Crusoe, a processor which can emulate x86 instructions - and I'm pretty certain that it'll be able to handle bytecode as well as x86 instructions sometime in the near future. IBM has backed the chip for the past years as has their interest in Java increased a lot in the same time span.

    Hooray.

    --
    Unable to read configuration file '/bigassraid/htdig//conf/14229.conf'
    Geocrawler error message.
  86. Java Linux Jollies by Anonymous Coward · · Score: 0

    It was interesting how a month ago, you could find JDK1.2 for Linux, but not on the Sun site. You had to go to Inprise's site and link over to Sun's download page. My 30 KSLOC (Thousand Source Lines of Code) app ported over to the Linux VM nicely (modified 1 file a lot changing "\" to File.separator. backslashes.) JFC, servlets, RMI, beans, etc... no anomalies. No problems with Sun's VM. Got to go get Blackdown's... Check out the GPLed BeanBrowser at http://www.inforaction.com. Server runs best on Linux (because it doesn't crash).

  87. Quake in telnet? by fingal · · Score: 1
    Slightly off-topic, but none the less also deeply disturbing (but for sanity rather than humanitarian reasons) is Quake in telnet!! Now I've seen everything and I'm scared...

    :-)

    --

    The only Good System is a Sound System

  88. Off-topic! by greenrd · · Score: 0
    Look, you clueless person, next time read and digest the security advisory first before posting about something you don't understand.

    Not hosting Java applets on a server will not prevent this problem, because the whole point is that hackers can introduce arbitrary APPLETs and SCRIPTs onto web pages. This is not a flaw in Java, it is a flaw in web servers. Turning off executable code on the client is a bad quick fix - the best solution is fixing the servers.

    I thought it had been established that Java was secure enough for applets. Please get a clue.

  89. Re:I agree: avoid JAVA/JavaScript, stay server-sid by greenrd · · Score: 1
    ...unsigned JAVA applets

    Um, unsigned Java applets can't cause any damage (apart from spoofing password dialogs etc. but that can even be done in non-dynamic HTML). Or do you know something that Sun doesn't?

  90. Threads in the JVM, bozos! by Kludge · · Score: 1

    My program contains no threading language, bozos. The threading is done by the JVMs. A different thread is run for the sounds, the graphics, etc. I have no control over how the JVMs on different platforms run my program. And, it seems entirely nondeterministic.

    1. Re:Threads in the JVM, bozos! by jonabbey · · Score: 1

      Yup, exactly. On many platforms you get decent time slicing behavior, but the precise scheduling algorithms were left unspecified in the standard to allow compliant implementations of Java on platforms with varying thread support.

      You can't depend on threads in a Java program executing in any sort of order, unless you use the synchronized keyword and the java.lang.Object.wait() and java.lang.Thread.join() methods to expressly indicate your inter-thread relationships.

      On many JVM's you will get reasonable behavior if you throw a bunch of threads up in the air with the same priority level and the expectation that they'll all get a reasonable amount of time relative to each other, but that's not guaranteed in the spec.

      There are many good books on Java threading, including especially Doug Lea's Concurrent Programming Java, which talks not only about Java threading, but also about all of the issues that you have to face when designing for a multithreading/multiprocessing environment. That includes deadlocks, thread starvation, resource allocation, locks, semaphores, and a whole lot more. Highly recommended.

  91. Another newbie on Slashdot... by Anonymous Coward · · Score: 0

    Do the world a huge favor -- stay away from Slashdot until you've become qualified, finished your undergraduate studies at Lancaster University, improved your interpersonal skills, and done a remedial course in English comprehension and effective communication.

    The original comment was "Before you go too far into JAVA, JITs etc, please read this warning about using executable content languages via html". The clue, especially for you Robin Dizzard Green, is in "via html" which explicitly identifies the html delivery model as part of a security problem relating to executable languages. Did the comment say there was a flaw in Java? No. Did it say anything about the consequences of hosting or not hosting JAVA applets on a server? No. What did it say? It said here is a warning about using executables languages via html. That's all, bud.

  92. OT: Re:The Java Icon (Off the juice) by Mahy · · Score: 1
    Doesn't your head hurt terribly? I can make it about 18 hours without coffee, but any longer than that... Ugh.

    I don't drink quads, because I like the added sugar and milk-fat from Mochas and Raspberry Lattes. :)

  93. More performance stats by Anonymous Coward · · Score: 0
    I just downloaded Sun's JDK 1.2.2 for Linux and ran one of my test programs on their JVM. This note summarizes the results:

    Running a numerically intensive program, which has no disk access and static memory requirements, execution time varied considerably:

    Sun's JDK 1.2.2 under Windows NT ... 40 sec
    Sun's JDK 1.2.2 under Linux ... 7.5 min
    Kaffe 1.0b4 under Linux ... 1.5 min

    Identical hardware, all default compiler/JVM options, nothing else running, etc.

    I'd generally rather use Sun's product but not with that kind of lack-luster performance. (And I'm trying to avoid rebooting to NT--hooked on Linux!)