Java

5 Ways to Boost Your Efficiency with Eclipse

Dec 11
11

This article describes five ways to help the Eclipse IDE's users boost their working efficiency.

By Abdullah Chougle Read More

Setting up the DB2 database on Ubuntu and testing JDBC connectivity

Nov 11
22

I got my DB2 database installation running on a Ubuntu 11.10 machine recently, and have documented the steps I performed to get it up and running in this article.

By Abdullah Chougle Read More

List of Shortcuts for the Eclipse Java IDE

Nov 11
17

This tutorial is for users of Eclipse to help them get familiar with useful shortcuts for their IDE. There are two sections: Easy Shortcuts and Lesser Known Shortcuts

By Abdullah Chougle Read More

Reflection Proofing the Java Singleton Pattern when using Lazy Loading

Nov 11
08

The singleton design pattern in Java is one that I found over the years to be both tricky and interesting. There are many ways in which this pattern can be broken – this article talks about reflection based attacks.

Preventing this line of attack is easy when your singleton is initialized at class-load time – but what if there's a need for lazy initialization? This write-up explains how to reflection-proof your Java singleton in such situations.

By Vishal Chougule Read More

How to enable Java in Chrome and Firefox on Ubuntu

Oct 11
15

Here's a short tutorial I wrote on getting Java enabled on Ubuntu browsers. I'd faced this issue a few days ago, and hope that this article serves as a quick and helpful guide.

By Abdullah Chougle Read More

Attacking a Weird Java Error: java.lang.ClassFormatError: Invalid pc in line number table

Oct 11
12

While working on the Oracle Application Framework, my Application module's class file was behaving in a strange manner, throwing a java.lang.ClassFormatError. Read on to find out what I did to fix it.

By Vishal Chougule Read More

How to Install an Older Version of Java in Ubuntu 11.04

Sep 11
18

Steps to help you install any version of Java in Ubuntu.

By Abdullah Chougle Read More
Subscribe to RSS - Java