Tag Archives: java

James Gosling resigns from Sun

Perhaps the end of Java as we know it? James posted the following at his new blog:

“…Yes, indeed, the rumors are true: I resigned from Oracle a week ago (April 2nd). I apologize to everyone in St Petersburg who came to TechDays on Thursday expecting to hear from me. I really hated not being there. As to why I left, it’s difficult to answer: Just about anything I could say that would be accurate and honest would do more harm than good. The hardest part is no longer being with all the great people I’ve had the privilege to work with over the years. I don’t know what I’m going to do next, other than take some time off before I start job hunting.”

A great loss for the Java community, but from the sounds of this, it appears he had quite a big fallout at Sun.



VN:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

Android: Snow Leopard breaks DDMS

If you installed Snow Leopard and you are using the Android SDK, you will find that DDMS is broken due to Snow Leopard now including the 64-bit Java version and the Android SDK currently does not support a 64-bit SWT version.

You will most likely get the following error:
MagicDudeAir:tools GNaschenweng$ ./ddms
30:59 E/ddms: shutting down due to uncaught exception
30:59 E/ddms: java.lang.UnsatisfiedLinkError: /Users/GNaschenweng/Downloads/Android/android-sdk-mac_x86-1.5_r3/tools/lib/libswt-pi-carbon-3236.jnilib: no suitable image found. Did find: /Users/GNaschenweng/Downloads/Android/android-sdk-mac_x86-1.5_r3/tools/lib/libswt-pi-carbon-3236.jnilib: no matching architecture in universal wrapper
at java.lang.ClassLoader$NativeLibrary.load(Native Method)

To fix this is quite simple, by adjusting the DDMS script from
if [ `uname` = "Darwin" ]; then
os_opts="-XstartOnFirstThread"

to
if [ `uname` = "Darwin" ]; then
os_opts="-XstartOnFirstThread -d32"

VN:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)

Exceptions in Java

Working with exceptions in Java has become among developers a common task. Most of the time, however, the concept of exceptions is misunderstood.

An exception-condition prevents the continuation of a method or the scope that your are in. In some instances you will have sufficient information in the current context to fix the problem. In most of the instances, however, you will not have enough information and you have to hand the problem out to a higher context where someone is qualified to maker the proper decision.
Continue reading “Exceptions in Java” »

VN:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)
VN:F [1.9.17_1161]
Rating: 0 (from 0 votes)