Templates for Netbeans
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
How to set CLASSPATH in Linux
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
java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
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
I/O Error: Cannot run program “javac”: CreateProcess error=2
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
Creating a Blackberry Launcher
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
XAMPP running very slow on localhost…
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
Visual Basic Cheat Sheets?
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
Replacement for CFExecute
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
