This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

MSP430F5529 HidDemo.jar not working on Windows 7 64 bit

Other Parts Discussed in Thread: MSP430F5529

I am working on a design using the MSP430F5529. I am attempting to run the demo, but the current release MSP430USBDevleopersPackage_3_20_02 uses Java for the demo.

I attempted the double click on the file, but nothing happened. I did download JRE from Oracle without it helping. Anyone know how to get this to work?

Are the Visual Studio files available?

  • I know this is over a year old, but does anyone have an answer here?  

    I am having troubles getting this HidDemo.jar to run on my Windows 8.1 laptop.  I do have success on my Windows 8.1 desktop so I know it is not a Windows 8 problem.  I have installed the same version of Java on both machines but I cannot get the jar to run on my laptop.  When I run the command java -jar HidDemo.jar in cmd, it gets to loaded JNI library and then nothing.  It never opens. 

    I have tried TI support and they gave several suggestion but nothing worked.

    Anyone have any ideas????

    Thanks,

    Mike

  • Hello Mike,

    What kind of error message are you seeing?  Can you paste it here?   There are a couple of reasons why double clicking on the .jar file might not be working:

    1) Make sure that the Java Virtual Machine (JVM) is listed in your PC's path

    2) Default file association should be set correctly.  Right click on the .jar file and do an 'open with' and select the Java Platform SE binary icon that is displayed there. 

    Needless to say, the command line instruction should work.   Did you install 32-bit version java or 64 bit version on your Windows 7?  On you Windows 8.1 machine which Java version did you install (32 or 64 bit)?

    Regards,

    Arthi Bhat

  • Arthi Bhat,

    I get no errors.  The last line in command states "loaded JNI Library" (which is the result on a working machine as well). But the UI never opens.

    I do have JAVA in my path, I have tried 32 bit and 64 bit.  I even went as far as reinstalling Windows 8 on my laptop to see if that would fix it.  Still nothing.

    All machines that I have, have the same version of Java 1.8 64bit and Windows 8.1.  The only machine that the HidDemo.jar does not work on is my laptop.   It has worked on every other machine that I have tried.  

    I was going to try and rebuild the application but I have no idea how to use Cygwin and MinGW.  I am a firmware/hardware engineer so I do not know much about Java.

    Screenshot of the command window.

    Mike

  • Well, after you see that message you should get the following message:

    Sometimes, it is hidden behind other opened windows.  If that is not the case then bring up task manager and let me know if a java.exe *32 bit process is running.

    Regards,

    Arthi Bhat

  • It's definitely not hidden behind other windows and when I start it via command line, the Java(TM) Platform SE Binary starts.

  • I want you to explicitly pick the java.exe file from the 64 bit java package.  So I am guessing that you have both 32 bit and 64 bit installed on you laptop (is that Windows 7 or Windows 8 - I am kind of confused here based on the title of this post and the images you have posted).

    So if you have both versions of java installed here is what I would like you to try:

    1) C:\<path to your 32 bit java directory>\bin\java.exe -jar HidDemo.jar

    2) C:\<path to your 64 bit java directory>\bin\java.exe -jar HidDemo.jar

    Arthi

     

  • Sorry for the confusion.  I guess I should have started a new thread.  All of my machines have Windows 8.  Currently all machines have the latest 64 bit version of Java.

    The HidDemo has worked on 3 different machines (all with Windows 8 and 64 bit java) but does not work on my laptop.  

    This is what I have tried so far...

    1) 64 bit java 1.8 and 1.7

    2) 32 bit java 1.8 and 1.7

    3) Updated PATH

    4) Ran your suggested command line from above post.

    All give the same results.

    Mike

  • Mike, have you tried un-installing all the jdks you have on your laptop?  Once everything is removed, re-boot you computer and then install only one version from the oracle website.

    Regards,

    Arthi

  • I tried that too.  Last night I actually formatted the hard drive and re-installed Windows and the JDK to see if that would fix the problem.  

  • Hi,

    I have the same problem on my laptop, have you find any solution ?
  • My solution was I bought a new laptop.  It works fine on the new one.  I had several people try to help me with the problem and no one could figure it out.

  • Hey I'm having the exact same problem with windows 8.1 running version 4_20_00 of the Usb Developers package HIdDemo.jar. Has there been a solution to this problem?

  • Here's how far I've managed to get.

    If you download the Hid Demo package, you should be able to get a version of Eclipse. You can use the import package function and get the source into Eclipse.

    After that, try to "Run" in Eclipse. If it is still stuck at Loaded JNI Adaptor, then do the following:

    1. Find all references of hMan and comment it out. If it is in a try/catch block, comment the entire try/catch out.

    For some reason the Java program is getting stuck at hMan. Once you comment out the hMan declarations and references, the GUI should load, but you still won't be able to connect to the HID device.

    This is as far as I have gotten. I think it is related to the JNI adaptor rather than the Java environment.

**Attention** This is a public forum