Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Failed to load JNI(Tech/install help)
Failed to load JNI [message #996409] Tue, 01 January 2013 21:02 Go to next message
don savage is currently offline don savage
Messages: 2
Registered: January 2013
Junior Member
I have looked around and tried various things including reinstalling java and messing with the config to change the java use. I am using a 64 bit windows 7 PC and I downloaded the 64 bit adt bundle. I also have both 32 and 64 bit java.
Any suggestions? More info below!

The location my java jvm.dll file (for 64 bit) is in:

C:\Program Files (x86)\Java\jre7\bin\client

My current eclipse.ini file is as follows:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813
-product
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256M
-showsplash
com.android.ide.eclipse.adt.package.product
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll
-vmargs
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx768m
-Declipse.buildId=v21.0.1-543035
Re: Failed to load JNI [message #996426 is a reply to message #996409] Tue, 01 January 2013 22:23 Go to previous messageGo to next message
don savage is currently offline don savage
Messages: 2
Registered: January 2013
Junior Member
Note. I tried changing the eclipse.ini to:
-vm
C:\Program Files\Java\jre7\bin\client\jvm.dll

and now I get the error "Failed to load the JNI shared library "C:\Program Files\Java\jre7\bin\client\jvm.dll"."
Re: Failed to load JNI [message #996597 is a reply to message #996409] Wed, 02 January 2013 08:41 Go to previous messageGo to next message
Russell Bateman is currently offline Russell Bateman
Messages: 2701
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 01/01/2013 08:05 PM, don savage wrote:
> I have looked around and tried various things including reinstalling
> java and messing with the config to change the java use. I am using a 64
> bit windows 7 PC and I downloaded the 64 bit adt bundle. I also have
> both 32 and 64 bit java. Any suggestions? More info below!
>
> The location my java jvm.dll file (for 64 bit) is in:
> C:\Program Files (x86)\Java\jre7\bin\client
>
> My current eclipse.ini file is as follows:
>
> -startup
> plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
> --launcher.library
> plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813
>
> -product
> com.android.ide.eclipse.adt.package.product
> --launcher.XXMaxPermSize
> 256M
> -showsplash
> com.android.ide.eclipse.adt.package.product
> --launcher.XXMaxPermSize
> 256m
> --launcher.defaultAction
> openFile
> -vm
> C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll
> -vmargs
> -Dosgi.requiredJavaVersion=1.6
> -Xms40m
> -Xmx768m
> -Declipse.buildId=v21.0.1-543035
>

Of course, this eclipse.ini is clearly saying to use a 32-bit Java, no?
Re: Failed to load JNI [message #996600 is a reply to message #996597] Wed, 02 January 2013 08:45 Go to previous messageGo to next message
Russell Bateman is currently offline Russell Bateman
Messages: 2701
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 01/02/2013 06:43 AM, Russell Bateman wrote:
> On 01/01/2013 08:05 PM, don savage wrote:
>> I have looked around and tried various things including reinstalling
>> java and messing with the config to change the java use. I am using a 64
>> bit windows 7 PC and I downloaded the 64 bit adt bundle. I also have
>> both 32 and 64 bit java. Any suggestions? More info below!
>>
>> The location my java jvm.dll file (for 64 bit) is in:
>> C:\Program Files (x86)\Java\jre7\bin\client
>>
>> My current eclipse.ini file is as follows:
>>
>> -startup
>> plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
>> --launcher.library
>> plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813
>>
>>
>> -product
>> com.android.ide.eclipse.adt.package.product
>> --launcher.XXMaxPermSize
>> 256M
>> -showsplash
>> com.android.ide.eclipse.adt.package.product
>> --launcher.XXMaxPermSize
>> 256m
>> --launcher.defaultAction
>> openFile
>> -vm
>> C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll
>> -vmargs
>> -Dosgi.requiredJavaVersion=1.6
>> -Xms40m
>> -Xmx768m
>> -Declipse.buildId=v21.0.1-543035
>>
>
> Of course, this eclipse.ini is clearly saying to use a 32-bit Java, no?
(Oops, didn't read all messages before asking this; disregard please.)
icon14.gif  Re: Failed to load JNI [message #998853 is a reply to message #996597] Thu, 10 January 2013 15:38 Go to previous message
harshavardhan madasu is currently offline harshavardhan madasu
Messages: 1
Registered: January 2013
Junior Member
hey thanks man...this worked for me..all others please try this
Previous Topic:Wacked Juno interface on Ubuntu 12.10
Next Topic:Error in running Hudson
Goto Forum:
  


Current Time: Tue May 21 03:00:38 EDT 2013

Powered by FUDForum. Page generated in 0.01701 seconds