05

Jan/15

Install Latest Maven On Ubuntu 14.04

Overview It’s well known that Ubuntu ships and keeps the same main branch of software that was shipped with the version on Ubuntu at the time. A good example is Ubuntu 14.04 has HAProxy 1.4 even though 1.5 came out … Continue reading

02

Dec/13

Install Sonar 3.5.1 With MySQL On Tomcat 7 Running Ubuntu 13.04

Overview This post assumes MySQL is already installed. Create an empty schema for Sonar and a user with create, update, index, and delete like privileges. Tomcat 7 sudo apt-get install tomcat7 Java sudo apt-get install default-jdk Sonar Download and extract … Continue reading

20

May/13

Use log4j As Tomcat 7 Logger

Log4j is a common logging framework used within applications. The logging library can also replace the default logging in the following steps: Stop Tomcat server (if running) Download log4j library from their website Extract and copy the jar file to … Continue reading

06

May/13

Enable Remote Debugging From Tomcat 7 In Windows

Overview Tomcat Configuration Ensure Tomcat is not running before making any changes. Add the following in the first free line that’s not commented out to the file tomcat\bin\startup.bat: set JPDA_ADDRESS=8000 set JPDA_TRANSPORT=dt_socket For example from: rem $Id: startup.bat 895392 2010-01-03 … Continue reading

04

Mar/13

Install Sun JDK On Ubuntu 12.04

Overview Ubuntu had removed the latest version of Java from the repository and uses the OpenJDK instead. Whilst this is fine for personal use but for development purposes the development should be done against the runtime environment which is usually … Continue reading

09

Jul/12

Tomcat 7 Server Error 404 From Eclipse

Although the server states it has started (albeit with errors in the console) when you browser to localhost:8080 to get to the Tomcat welcome page it shows an “HTTP Status 404 – /” with the description “The requested resource (/) … Continue reading

07

Mar/11

JavaME With Bluetooth GPS

Introduction I have been getting my hands dirty with the Java Mobile Edition (JavaME) platform and I have had my ups and downs with it. It is the first time I have made a mobile Java application but I have … Continue reading

04

Jul/10

Java 4-Ever

This was such a funny video I had to post it.