UnoJoy icon indicating copy to clipboard operation
UnoJoy copied to clipboard

Can't load jvm.dll

Open WORMSS opened this issue 9 years ago • 9 comments

Windows 7: When running "TurnIntoAJoystick.bat" I get "Can't load jvm.dll"

Did I install Atmel Flip Program? Yes Is the arduino plugged in? Yes Is it in 'Arduino Uno DFU' mode? Yes

I tried symlinking the jvm.dll in from several location TO several locations. First it was in the same folder as TurnIntoAJoystick.bat , but nothing I then found where batchisp was installed and put it there, nothing. I then placed it in ATmega8u2Code\HexFiles nothing Placed C:\Program Files\Java\jdk1.7.0_45\jre\bin\server on %PATH%, nothing

So now I am afraid I am at an end to the tricks I can think of.. If anyone else can help?

  • Colin

WORMSS avatar Jan 14 '16 21:01 WORMSS

Hey, You need to install Java JDK

rewindtm avatar Jan 07 '17 12:01 rewindtm

I also have the "Can't load jvm.dll" error message. I installed both the 64 and 32 bit versions of the Java 8u111 SDK on my Win10 64Bit OS. I did note that my path variable has: C:\ProgramData\Oracle\Java\javapath and the items in javapath are symlinks to the 64Bit version C:\Program Files\Java\jre1.8.0_111\bin Do I need to be pointing to the 32bit version ?

JamesSanii avatar Jan 08 '17 15:01 JamesSanii

I have the same error. I am getting really frustrated with this. Now I can't even get back the arduino working properly.

rodrirochad avatar Apr 17 '17 16:04 rodrirochad

Same error here. I would appreciate some help here!

Martinnygaard avatar May 01 '17 21:05 Martinnygaard

For thos who has this problem, I just solved it following the steps in this link https://www.java.com/en/download/help/error_mainclass.xml

cvillegaslobos avatar Jan 27 '18 21:01 cvillegaslobos

Having this same problem too.

Currently installed jre1.8.0_301, also tried jdk-17. jvm.dll does exist in C:\Program Files\Java\jre1.8.0_301\bin\server, but the utility can't find it.

Confirmed Java is in the Path environment variable. Reinstalled Java and the FLIP utilities and rebooted. No Joy.

I'm guessing the maintainer is no longer involved in this project, given the lack of responses in any of the issues I've looked at here.

https://github.com/JRomainG/Driving-Force-Shifter-USB-Adapter depends on this, so I think they need to be aware of this.

Edition Windows 10 Pro Version 21H1 Installed on ‎02/‎04/‎2021 OS build 19043.1266 Experience Windows Feature Experience Pack 120.2212.3920.0

cgten-uk avatar Oct 12 '21 18:10 cgten-uk

@IonicOwl my advice is to ditch this lib and just try something else... anything else..

WORMSS avatar Oct 12 '21 18:10 WORMSS

Thinking you might be right. I've wasted a decent amount of time on this and I'm getting nowhere.

cgten-uk avatar Oct 12 '21 18:10 cgten-uk

@IonicOwl @WORMSS

The problem is that batchisp.exe requires Java 5. You can fix this by installing the version of Atmel Flip that comes with the JRE included.

redddcyclone avatar Sep 01 '23 16:09 redddcyclone