Skip to main content

Posts

Showing posts with the label jdk

How to change JVM for Eclipse

I have following JDKs installed 1) JDK7 64 bit 2) JDK6 64 bit 3) JDK6 32 bit Also I have multiple Eclipse installed. They run on different JVM. For example Eclipse for Blackberry runs on 32 bit JDK and Eclipse for Android runs on 64 bit JDK. You can put only one JDK to PATH in Environment variable or JAVA_HOME environment variable. To configure Eclipse to use specific JVM you have to modify configuration file for your eclipse (usually eclipse.ini). Add following lines just before the line which says “-vmargs”. -vm D:\TOOLS\Java\JDK6-32bit\bin\javaw.exe {this should be the path to your desired JDK bin\javaw.exe }

Cannot find RIMIDEWin32Util.dll in Eclipse for Blackberry development

I switched to Windows 7 64 bit few months back and I upgraded all my tools/SDKs to 64 bit versions including JDK. Suddenly after I updated JDK to 64bit my Eclipse plugin that I use to develop Blackberry applications started giving this error on every start Cannot find RIMIDEWin32Util.dll. This is a required component of the IDE.  Solution to this problem is that install both JDK and Eclipse 32bit versions. And set the following environment variables in Windows JAVAHOME=path to the folder where JDK(32bit) is installed PATH=add path to bin folder of your JDK(32bit)

Java SDK not found under Android's SDK Locations settings in Xamarin

To work with Android under Xamarin you have to set up Android SDK and JDK path under Tools->Options->Projects->SDK Locations->Android I faced a problem after setting all SDK locations it says "SDK not found" for JDK despite giving the correct path for JDK installed on my system. After few hit and trials I figured out that the problem is 64-bit version of JDK installed . Xamarin works with 32 bit JDK. So I downloaded the 32-bit version of JDK from http://download.xamarin.com/Installer/MonoForAndroid/jdk-6u39-windows-i586.exe After installing this JDK I set up the options for SDK locations and now Xamarin works fine.