Posts Tagged ‘java’
How to set CLASSPATH in Linux
Wednesday, March 24th, 2010
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 "c… Continue reading
java.lang.ClassNotFoundException: com.microsoft.sqlserver.jdbc.SQLServerDriver
Tuesday, March 23rd, 2010
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 - you'll need to add the CLASSPATH into the… Continue reading
I/O Error: Cannot run program “javac”: CreateProcess error=2
Wednesday, February 24th, 2010
Ever got this error while building a BB JDE (BlackBerry Java Development Environment) Project?
Building
C:\Program Files\Research In Motion\BlackBerry JDE 4.3.0\bin\rapc.exe -quiet import="..\..\..\..\..\Program Files\Research In Motion\BlackBerry JDE 4.3.0\lib\net_rim_api.jar" codename= .rapc warnkey=0x52424200;0x52525400;0x52435200 C:\\.java
I/O Error: Cannot run program "javac": CreateProcess error=2, The system cannot find the file specified
Error while building project
First check that you have JDK properly installed on your computer. Go to Control Panel -> Add/Remove Programs.
If all that's sweet -… Continue reading
Creating a Blackberry Launcher
Saturday, February 20th, 2010XAMPP running very slow on localhost…
Sunday, July 26th, 2009
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 the problem was:
Most cases… Continue reading
Visual Basic Cheat Sheets?
Friday, May 22nd, 2009
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/…
Replacement for CFExecute
Monday, May 4th, 2009
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