KishanV / javahidapi

Automatically exported from code.google.com/p/javahidapi
Other
0 stars 0 forks source link

Error when trying to use the library #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Compile .sln in javahidapi/windows, creates hidapi-jni.dll correct.
2. Put PenTest.java in folder with javahidapi folder.
3. Trying to compile it, as shown under "additional information".
4. Getting the error 

What is the expected output? What do you see instead?
- Correct run of the program. I see there following: 
"Error: Could not find or load main class PenTest"

What version of the product are you using? On what operating system?
- javahidapi-20111221
- Windows 7 64-bit
- Java version 1.7.0_03
- Java is already added to PATH

Please provide any additional information below.
Output from cmd:
C:\>javac -cp .\javahidapi\bin PenTest.java

C:\>java -cp .\javahidapi\bin PenTest
Error: Could not find or load main class PenTest

Original issue reported on code.google.com by MartinDi...@gmail.com on 19 Apr 2012 at 11:33

GoogleCodeExporter commented 8 years ago
Wrong file attached, this one is the correct.

Original comment by MartinDi...@gmail.com on 19 Apr 2012 at 11:50

Attachments: