Android – Google Map – com.google.android cannot be resolved

Posted by themamakcorner December - 29 - 2011 0 Comment
android

I was trying to develop a simple Android App to display Google Map but hit some error when trying to run it. As you can see from the screenshot above, it says “com.google.android cannot be resolved” and Eclipse does not allowed me to proceed: SOLUTION: Need to install Google-API SDK. Follow steps below in order to patch that SDK Manager. (1) Open Android SDK Manager Window –> Android SDK Manager  [ Read More ]

How to Install PHP – Windows 7

Posted by themamakcorner December - 27 - 2011 0 Comment
php

Following are steps by steps (with screen shots) on installing PHP on Windows 7 (1) Download from PHP site http://windows.php.net/download/ For this time,  best if you download the zip file (Thread Safe) instead of the .exe installer. It was said that there are some known issues with the .exe installation as some of the libraries or files needed for MySQL are missing (2) unzip to a directory, in my case,  [ Read More ]

Apache ActiveMQ – How to install on Linux Ubuntu

Posted by themamakcorner December - 1 - 2011 0 Comment
ApacheMQ

(1) Download the latest Unix/Linux distribution of Apache MQ from this site: http://activemq.apache.org/download.html The file will be saved as tar.gz (2) Extract the file to a specific directory. One of the thing which I have learnt from my previous job (which uses Ubuntu for development) is to place the installation files under version as well. Thus, I created a ApacheMQ folder under ~/opt Then move the extracted files to the  [ Read More ]

Apache Ivy – Fail to Resolve Dependency (jdmk, jmx)

Posted by themamakcorner December - 1 - 2011 0 Comment
apacheIvy

Just started using Apache Ivy and it’s already giving me some headache. Have been hitting the following error: [antlib:org.apache.ivy.ant:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: [antlib:org.apache.ivy.ant:retrieve] :: FAILED DOWNLOADS :: [antlib:org.apache.ivy.ant:retrieve] :: ^ see resolution messages for details ^ :: [antlib:org.apache.ivy.ant:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: [antlib:org.apache.ivy.ant:retrieve] :: com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar [antlib:org.apache.ivy.ant:retrieve] :: com.sun.jmx#jmxri;1.2.1!jmxri.jar [antlib:org.apache.ivy.ant:retrieve] :::::::::::::::::::::::::::::::::::::::::::::: [antlib:org.apache.ivy.ant:retrieve] [antlib:org.apache.ivy.ant:retrieve] [antlib:org.apache.ivy.ant:retrieve] :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS It says that one of the dependency jar is depending on some  [ Read More ]

ApacheMQ

After installing Apache ActiveMQ on my Windows 7, I encountered problem starting up the service: So, I went to check the log file and found the following: Found a solution from web, is to create 2 more folders (namely temp and work) under <Apache MQ Installation>\bin\win32 Then, start the ApacheMQ, finally able to do so with no problem. Let’s give it a try, hit http://localhost:8161/ at your browser

Apache ActiveMQ – How to install on Windows 7 X64

Posted by themamakcorner December - 1 - 2011 1 Comment
ApacheMQ

(1) Download the latest stable release from Apache Active MQ site http://activemq.apache.org/download.html (2) Extract the zip file to a directory. For example, C:\apache-activemq-5.5.1 (3) Go to your <Apache Installation Path>\bin\win32 Execute the InstallService.bat by “Run as Administrator” (4) After step #3 above, you will see the following error : (5) If you see error like screen shot above, do the following: (a) Edit InstallService.bat change the whole like of “wrapper.exe”  [ Read More ]

Linux Ubuntu – Set static IP

Posted by themamakcorner November - 30 - 2011 0 Comment
linux

(1) netstat -rn to check the kernel IP routing table. You’ll be seeing something like below: Kernel IP routing table Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface (2) sudo vi /etc/network/interfaces to set the following : auto eth3 iface eth3 inet static address xx gateway yy netmask aa network bb broadcast cc (3) restart networking so that it’ll take effect sudo /etc/init.d/networking restart

apache_ant

The following steps highlights the way to install Ant in your Windows 7 (1) Download Ant http://archive.apache.org/dist/ant/binaries/ I will be installing the Ant version 1.7.1 (2) unzip to your directory. I place it in my C. Thus, after unzip my directory becomes C:\apache-ant-1.7.1 (3) Set ANT_HOME as environment variable (4) Set PATH (5) To check, go to your command , type “ant -version” If you encounter the following error :  [ Read More ]

Netbeans – Installing Android Plugin for Netbeans (Windows)

Posted by themamakcorner November - 1 - 2011 0 Comment
android

I’m finally having some long holidays, thus I’ve decided to try on developing some okie, at least one android app. In order to do so, I’ve decided to install Android Plugin from Kenai on top of my current Netbeans 7.0 KENAI’s ANDROID PLUGIN for NETBEANS (1) Open Netbeans’ autoupdate centre Tools –> Plugin –> Setting (2) Add plugin Place the following URL http://kenai.com/downloads/nbandroid/updatecenter/updates.xml Click OK (3) Install Available Plugin Goto  [ Read More ]

Linux Bash Shell Script – Delete files more than x days

Posted by themamakcorner October - 25 - 2011 0 Comment
linux

The following example will be able to delete files, which last modification day was 2 days ago: #!/bin/sh ############################################### ## Shell script to run housekeep logs   ## ## delete aaa.log older than x days ago   ## ############################################### ##declaring variables echo “HOUSEKEEP started…” LOG_PATH=/home/xxx/logs PAST=2 find $LOG_PATH -mtime +$PAST -type f -exec rm -rf {} \; echo “HOUSEKEEP ends…”

Related Posts Plugin for WordPress, Blogger...