[Eclipse] java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM

Double click on your eclipse, and you receive error log as following (logged at: configuration/xxxxx.log) !ENTRY org.eclipse.osgi 4 0 2016-07-12 00:22:11.260 !MESSAGE Application error !STACK 1 java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM at org.eclipse.swt.internal.Library.loadLibrary(Library.java:263) at org.eclipse.swt.internal.Library.loadLibrary(Library.java:240) at org.eclipse.swt.internal.C.<clinit>(C.java:21) at org.eclipse.swt.widgets.Display.<clinit>(Display.java:138) at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:679) at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162) at com.aptana.rcp.IDEApplication.createDisplay(IDEApplication.java:162) at com.aptana.rcp.IDEApplication.start(IDEApplication.java:94) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) […]

ENOGIT git is not installed or not in the PATH

You are running bower install and face this error, either on Windows or Unix like… The issue because you need to have git installed and run the project on the command prompt with git command support, without that you will face error on screen: ENOGIT git is not installed or not in the PATH Solution […]

Easy Way to Migrate CSS Bootstrap 2.x to 3.x, Font Awesome v3 to v4

The old web app uses CSS Bootstrap 2 and the new CSS Bootstrap 3 have a lot of things different, we need to aware: Get into the issue/concept: http://stackoverflow.com/questions/17974998/updating-bootstrap-to-version-3-what-do-i-have-to-do http://getbootstrap.com/migration/ My Working Tool There is already an existing tool written in Python (b2tob3) but for me, it’s working only for HTML (extension .html) files and […]

Update Eclipse failed – Can not remove : eclipse.exe

Use Eclipse Update and got fail An error occurred while uninstalling session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Uninstall, operand=[R]org.eclipse.rcp.configuration_root.win32.win32.x86_64 1.0.0.v20130521-1847 –> null, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.CleanupzipAction). Backup of file D:\Apps\eclipse\eclipse.exe failed. Can not remove : D:\Apps\eclipse\eclipse.exe The issue links to permission on file system. According to the post here, two solutions raised but for me, only following solution, the best to […]

Add log4j to your Java project

Log4j is a logging mechanism that is in Apache foundation project. Log4j is for Java project. Here, to add logging feature to your Java project, you can use one as following ways: Manually Visit http://logging.apache.org/log4j/ Download the Log4j jar library Manually include it into your project dependency All manage by yourself, you need to do […]

Install Maven 2 build tool on Windows

If you just start to develop some application, you need some built tools to help to package, compile or make your development structure look right. Maven is a right tool for that. It’s simple and easy to use, it works with many of programming languages, especially with Java. Here is simple steps to install maven […]