Java is crap

Well.. I do COMP2801 and we have to modify a large piece of software. Our group chose Columba cause it looked cool.

SOO.. We downloaded it and compiled it on the Sun machines. COOL! It’s an awesome piece of software. SOO.. Then I think to myself “Well, Java is cross platform so I’ll compile it with ANT on Linux”. Right? No friggin way.

One of the key requirements for Columba is a bunch of Swing/JFC classes. For those that don’t know JFC is the Java Foundation Classes. It’s basically Sun’s idea of a common set of additional classes for use in apps. It’s supposedly standardized. APPARENTLY they come with the J2RE/J2SDK packages Sun releases. Yeah friggin right! Sun fails to release ANY swing classes (specifically javax.swing.*) in their binaries. WTF SUN?!

SOO.. I’m like “Ok, well they have a seperate webpage for JFC/Swing”. So I figured I’d grab it from there. So I click “Downloads” and am sent to some Accesibility download page. I’m like WTF?! So I goto download the files and the page says:

Note: You don’t need to download the accessibility utilities to make your JFC programs support accessibility. If you do download the utilities, be sure to pick the version corresponding to the JFC or J2SDK release you’re using. See How to Download the Accessibility Utilities for more information.

Well that’s friggin stupid Sun. YOU DON’T SUPPLY THE JFC CLASSES!

That’s not all, my rant on IRC explains my next major bitch as bluntly as possible:

here’s fscking stupidity
[stuart@piglet stuart]$ java -version
java version “1.4.2_05”
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_05-b04)
Java HotSpot(TM) Client VM (build 1.4.2_05-b04, mixed mode)
[stuart@piglet stuart]$ ant -version
Apache Ant version 1.5.2-26 compiled on May 5 2004
[stuart@piglet stuart]$
that’s on my local machine
ok I think
all good
login to friggin moss/lichen
s4027706@moss:~$ java -version
java version “1.4.2”
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2-b28)
Java HotSpot(TM) Client VM (build 1.4.2-b28, mixed mode)
s4027706@moss:~$ ant -version
Apache Ant version 1.5.3 compiled on April 16 2003
Ant is one point version ahead but was compiled a year prior
java is some build 28 or something
but wtf is my version?
that’s like build 4
of what?
friggin 2_05?
versioning systems are made for a reason Sun
screw you Sun

Yes.. I’m angry… Java is stupid and Sun is dumb. How on EARTH do they expect Java to become mainstream when a reasonably competent developer like myself can’t figure out how to get an application compiling when he KNOWS it works FINE on a Sun machine and uses STANDARD classes.