Validus … talkin bout <code> n sh!t

28Mar/100

Templates for Netbeans

Posted by Joey

To change templates in netbeans simply click on Tools > Templates. Then click on Java from the left hand side to expand more items. Click on Java class and hit ‘open in editor’ button to edit the template… Continue reading

Filed under: Java, Stuff No Comments
24Mar/100

How to set CLASSPATH in Linux

Posted by Joey

Below are two types of commands to set CLASSPATH in linux. There’s a few different types of shells to execute this command below explains how to work out the difference.
The syntax for setting your classpath is slightly dependent on which shell you are using. The default shell for RedHat 5.x and 6.x is the bash shell. Two other popular shells are tcsh and and csh called “t shell” and… Continue reading

Filed under: Java, Stuff No Comments
23Mar/101

java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver

Posted by Joey

Had this error come up while building a java app. Common problem when trying to connect to mssql database.

Install the Microsoft SQL Server JDBC Driver and extract it to somewhere useful like C:\Program Files\…

Add the following path to the System variables in your Environment Variables for Windows (My Computer > Properties)
C:\Program Files\Microsoft SQL Server 2005 JDBC Driver\sqljdbc_1.2\enu\sqljdbc.jar

This should work…

If you’re using an IDE… Continue reading

Filed under: Java, Stuff 1 Comment
24Feb/1020

I/O Error: Cannot run program “javac”: CreateProcess error=2

Posted by Joey

Ever got this error while building a BB JDE (BlackBerry Java Development Environment) Project?

1

First check that you have JDK properly installed on your computer. Go to Control Panel… Continue reading

Filed under: Stuff 20 Comments
20Feb/100

Creating a Blackberry Launcher

Posted by Joey

I found this great article on how to create your own blackberry launcher to open a web page. Check out this article: http://crackberry.com/how-create-blackberry-launcher… Continue reading

Filed under: Stuff No Comments
26Jul/091

XAMPP running very slow on localhost…

Posted by Joey

I had this problem yesterday when trying to work on a project at home using XAMPP (Incase you don’t know what XAMPP is, it’s a portable web server… I’ll write another entry about it soon)

Anyway to my problem… so basically you start up XAMPP and load http://localhost/ and it takes foreeverr to load… eventually it will load.

I googled around for solutions and eventually found out what… Continue reading

Filed under: CF, Stuff 1 Comment
22May/090

Visual Basic Cheat Sheets?

Posted by Joey

I found this great little website that displays cheat sheets for different languages. Recently I’ve been working on a VB project and it’s come very handy. If your a developer like me know knows the basic concepts of programming all you need is the syntax of a different language then this is the reference guide you need: http://www.cheat-sheets.org/… Continue reading

Filed under: CF, CSS, Stuff No Comments
4May/090

Replacement for CFExecute

Posted by Joey

Recently while working on a project that requires shell scripting (running a program that returns a log) I had a problem with cfexecute not returning correct output information that I was expecting. Doing the same command in prompt I got the correct output, but cfexecute was giving me only the first line of my log. Continue reading

Filed under: Stuff No Comments