Android draw9patch missing swing libraries
Thanks to this forum post I needed to download swinglabs jar to get the Android draw9patch tool working.
Any links I found to the swinglabs main site weren’t working and the only download location I could find was via the guy in that forum who kindly hosted it via dropbox.
–UPDATE– Looks like they’ve fixed this issue in revision 9 of the sdk tools, http://developer.android.com/sdk/tools-notes.html
Maven Integration Requires that Eclipse be running in a JDK
After adding Maven to Eclipse this error keeps popping up about “maven integration requires that eclipse be running in a jdk”. Basically Maven is using a JRE but needs a JDK.
First ensure that you have a JDK running and Eclipse sees it (via Window > Preferences > Java…”
Then you need to edit eclipse.ini and tell it where the JDK is using the following lines
-vm
C:\Program Files\Java\jdk1.6.0_18\bin\javaw.exe
It seems to need to be spread onto 2 lines i.e. the -vm first and then the path to your jdk.
Import Large Data Files into MySQL
Use the SOURCE command! SOURCE sqlfile.sql
Read http://www.johnon.com/import-large-file-into-mysql/ for more detail.
Eclipse Java Out of Memory error
Was getting a java out of memory error in Eclipse every time I tried to install a new plugin. Something about the java heap which usually resulted in Eclipse needing to be restarted. If you google it you’ll plenty of solutions but, just for reference, in my case it was editing Eclipse.ini to make more memory available. Changed -xmx from 256m to 500m and the same for launcher.XXMaxPermSize.


