Tag: Java

Java 4 Ever

Posted by – 27/06/2010

Very funny video about Java against .NET. It would be great, if It’s becoming a real film.

Erawat.

Installing Java on Ubuntu 10.04

Posted by – 20/05/2010

I wanted to install Java Development Kit (JDK) on Ubuntu. After installing Ubuntu on my laptop. Sun JDK/JRE didn’t come along with it so I typed “java” to see which package that I could use to install JDK in the system.

erawat@erawat-laptop:~$ java
The program 'java' can be found in the following packages:
 * gcj-4.4-jre-headless
 * openjdk-6-jre-headless
 * cacao
 * gij-4.3
 * jamvm
Try: sudo apt-get install

As the result above, the sun-java6 has been removed from the default repository and openjdk-6 is not stable. So, I have been searching how to install the sun-java6 on Lucid then I found out from Ubuntu 10.04 LTS Release Notes that

For Ubuntu 10.04 LTS, the sun-java6 packages have been dropped from the Multiverse section of the Ubuntu archive. It is recommended that you use openjdk-6 instead.

If you can not switch from the proprietary Sun JDK/JRE to OpenJDK, you can install sun-java6 packages from the Canonical Partner Repository. You can configure your system to use this repository via command-line:

It is simple to add third-party repository into the system.

sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"

Afterward, use a normal installation of sun-java6 to install the jdk on the system as following.

sudo apt-get install sun-java6-jdk sun-java6-jre

Finally, the JDK/JRE has already been installed and now I got Java on my system as the result below.

erawat@erawat-laptop:~$ java -version
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) 64-Bit Server VM (build 16.3-b01, mixed mode)

Erawat.

James Gosling leaves Oracle

Posted by – 10/04/2010

James Gosling ผู้ที่ได้ขึ้นชื่อว่าเป็นผู้ให้กำเนิด Java ได้ประกาศผ่านบล็อกส่วนตัวว่าได้ลาออกจาก Oracle เมื่อ 2 สัปดาห์ที่ผ่านมา เขายังได้ขอโทษผู้ที่มาเข้าร่วมงาน TechDays ที่ St Petersburg เมื่อวันพฤหัสที่ผ่านมาที่ไม่ได้เห็นเขาขึ้นพูด
ภายในบล็อกของเค้ายังกล่าวถึงเหตุผลและความยากลำบากที่ต้องทิ้งผู้ร่วมงานที่เคยทำงานด้วยกัน และ James ยังบอกว่าคงขอพักผ่อนสักพักก่อนที่จะกลับมาหาทำอีกครั้ง

ที่มา James Gosling’s blog