Tag Archives: java

Java SE 6 Update 10 is out: it’s the new one

Okay, main news is that Java SE 6 Update 10 is out. I’ve been using Update 10 beta since a month ago. I got it simply to see the Java Swing menu fonts using ClearType and that’s all.

Let’s side track a little to look at how sucky a state Java download page is in.

Sun Microsystem probably has the worst marketing team. Java SE 6 Update 10 is now. Before update 10 was probably update 7. The numbers doesn’t seem to be incremental.

But that’s okay, that’s just Sun’s way of doing thing. The version after Java 1.4.2 is Java 5. Java can’t compute elementary math. Java Standard Edition 6 is also known as Java 1.6.

You go to their Java SE download page and you see:

  • Java SE Runtime Environment (JRE) 6 Update 10
  • Java SE Development Kit (JDK) 6 Update 10
  • JDK 6 Update 10 with Java EE
  • JDK 6 Update 10 with NetBeans 6.1
  • JRE 6 Update 7 for Intel Itanium®
  • JDK 6 Update 7 for Intel Itanium®
  • JDK DST Timezone Update Tool – 1.3.9
  • Java SE 6 Documentation
  • Java SE 6 JDK Source Code
  • and other friends like Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy

Usually you just need whatever’s that’s need at the top. New Java developers would no doubt get intimidated by the choices available. They should have separated the developer page from the rest of the Java site. And on the developer page, there really should just be 3 options:

  • Java Standard Edition 6
  • Java Enterprise Edition 6
  • others…

Continue reading “Java SE 6 Update 10 is out: it’s the new one” »

Sun Microsystems swings to big quarterly loss

Sun Microsystems isn’t going to perform well this season. The first thing that comes to my mind about Sun is Java. (Darn they even rename their stock ticker to JAVA.) While Java as a language is still thriving the JAVA just got its outlook revised to negative by Fitch.

Sun Microsystems swings to big quarterly loss

SAN FRANCISCO (AP) — Battered by competition and slowing demand, Sun Microsystems Inc. swung to a big loss in its fiscal first quarter, dragging the server and software maker’s results below Wall Street’s forecast.

Sun also plans to write down the value of its business, a sign of the company’s deteriorating competitive position and vulnerability to the economic meltdown. Shares fell more than 8 percent in after-hours trading.

The Santa Clara, Calif.-based company is scheduled to release its earnings Oct. 30, but it offered an early peek Monday. Sun said its loss will be between 25 cents and 35 cents per share for the three months ended Sept. 28. Excluding one-time charges, the falls between 2 cents and 12 cents per share. (Source: Associated Press)

And just hours ago, Forbes reported that Sun Microsystems’ co-founder Andy Bechtolsheim is leaving the company to concentrate on his startup, Arista Networks. But it’s not the first time Bechtolsheim left Sun. Back in 1995, Bechtolsheim left Sun for networking startup Granite Systems. Granite was acquired the following year by Cisco System and Bechtolsheim went with the group. Bechtolsheim then left Cisco for startup Kealia in 2003, which was acquired the following year by Sun, where Bechtolsheim was named chief architect and senior vice president for Sun’s systems group. (Source: Forbes)

But worry not on the programming language Java, Java is simply too big to fail. It always feels good to be too big to fail.

Writing silly introductions in books

I was browsing through some Java books at the Choa Chu Kang library yesterday. Yes it’s boring I know. One of the top I was intending to read up on was Java Swing. I have to implement some Java Swing stuff at school and I, for the 217067th time, do not like Java.

My complaints aside. I chance upon this really thick book – you know what they all say about thick books – The Definitive Guide to Java Swing.

The Definitive Guide to Java Swing book cover

And I flipped to the first few pages, probably the introduction. And yes, I always read prefaces and introduction. I felt that understanding the author’s background and intent for writing a book is important. It helps you deciding on book purchases too.

Here’s what The Definitive Guide to Java Swing has to say about Java:

About Java

Java is one of 13,000 islands that makes up Indonesia, whose capital is Jakarta. It is home to about 120 million people with an area about 50,000 square miles (132,000 square kilometers). While on the island, you can hear traditional music such as gamelan or angklung and enjoy Java’s main export, a coffee that is considered spicy and full-bodied, with a strong, slightly acidic flavor. The island also has a dangerous volcano named Merapi, which makes up part of the Pacific “Ring of Fire.” In 1891, on the island, Eugene Dubois discovered fossils from Pithecanthropus erectus, better known as Java man (homo javanensis).

The Definitive Guide to Java Swing about java

(The Definitive Guide to Java Swing about java.)

Pretty funny way of writing an introduction. Since most people who is going to read a non-beginner Java book, there’s no need to include an introduction on Java anyway.

Unfortunately the book’s learning curve is too steep – I am a beginner.

Tip: Renaming variables names using NetBeans

One of the things I always do is to rename my variables in the current Java class. I always use Find & Replace but it can be rather destructive at times. I just realized you could hit Ctrl + R to do just that!

That saved me lots of click. It’s a simple feature but it always makes me happy when I use it.

Changing all variable names in NetBeans easily

Press Ctrl + R when your cursor is on the variable name you want to change. It changes all the variables for you. In the above screenshot, I changed the variable from ‘testing’ to ‘changeToSomethingNew’ and it recognizes that it should only change property ‘testing’ in the class scope. Pretty smart I say.

How many Javas in just one screenshot?

Count how many Java are there in the Java homepage!

Java all over

Not few as you can see. You see that girl on the left? She’s probably from Java too. Sun Microsystem’s NASDAQ ticker is JAVA too. There’re 16 Javas in the picture.

Java + KahWee = Unhappy

Sorry Java fans.

How many Javas in just one screenshot? (To be sung in the tune of How much is the doggie in the windows?)

Yawn… Java is finally fully open

Okay, on less exciting new – Java is finally fully open and free and without any proprietary code.

This week the IcedTea Project reached an important milestone – The latest OpenJDK binary included in Fedora 9 (x86 and x86_64) passes the rigorous Java Test Compatibility Kit (TCK). This means that it provides all the required Java APIs and behaves like any other Java SE 6 implementation – in keeping with the portability goal of the Java platform. As of writing, Fedora 9 is the only operating system to include a free and open Java SE 6 implementation that has passed the Java TCK.

More at SoftWhere

Wow that took them really long, since 2006 they’ve been talking about this.