Posts Tagged ‘Programming’

Using Java in Windows Command Prompt

Tuesday, July 22nd, 2008

It seems that the Java Runtime Environment installer doesn’t automatically add the binary path of java and javac to the system environment variables, so the ‘java’ and ‘javac’ commands can’t be used without a path. For example, when you type “javac test.java” while in your test project directory, you might get the following message:

javac’ is not recognized as an internal or external command, operable program or batch file.

The solution to this problem is pretty simple and should take less than two minutes to solve, so let’s solve it… (more…)

More ProjectPier Troubles - Email Alerts

Saturday, March 15th, 2008

I personally think that the latest release of ProjectPier may have been released prematurely. Just by looking at my last day of posts, you might see that there were two pretty serious issues straight after installation. Well, I found another one!

After finally getting ProjectPier to send emails through the Mass Mail tool, I thought that all systems were go. However, that’s not true. Today, I didn’t get any email alerts, even there was activity in a project - something was wrong. Again, I found my way back to the ProjectPier website where Tim (not me had come up with a solution.

The problem is in the following files:

  • language/en_us/errors.php
  • language/en_us/site_interface.php
  • application/models/notifier/Notifier.class.php

You need to replace all occurrences of ‘recepient‘ with ‘recipient‘.  This includes plurals so recepients needs to be changed to recipients, too.

Looks like somebody didn’t check their code ;) It’s cool though, I know it’s easy to do. Somebody that’s part of the project should recompile it with these fixes. Not me though, I’m not part of it (yet).

Why didn’t the bath trust the toilet? Because the toilet was full of shit! (I actually made that one up - I’m a joke master)

Programming 1, Tutorial 1

Saturday, March 8th, 2008

For our first tutorial, we had to go through and answer some questions about programming and Java, here are my answers:

(more…)