Hi !
Featured games (84)
games approved by the League of Dukes
Games in Showcase (604)
Games in Android Showcase (171)
games submitted by our members
Games in WIP (653)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Getting the test suite to run  (Read 1582 times)
0 Members and 1 Guest are viewing this topic.
Offline mrdale

Junior Newbie

Java games rock!

« Posted 2004-07-26 00:45:46 »

I think I've done all the acrobatics to get things compiled and placed where they belong yet still I get

    [java] Controller Env =
    [java] Scanning jar: dxinput.jar
    [java] Examining file : META-INF/
    [java] Examining file : META-INF/MANIFEST.MF
    [java] Examining file : net/
    [java] Examining file : net/java/
    [java] Examining file : net/java/games/
    [java] Examining file : net/java/games/input/
    [java] Examining file : net/java/games/input/DirectInputAxis.class
    [java] Examining file : net/java/games/input/DirectInputDevice.class
    [java] Examining file : net/java/games/input/DirectInputEnvironmentPlugin.class
    [java] Found candidate class: net/java/games/input/DirectInputEnvironmentPlugin.class
    [java] Adding class to
    [java] Examining file : net/java/games/input/DirectInputKeyboard.class
    [java] Examining file : net/java/games/input/DirectInputMouse$BallAxis.class
    [java] Examining file : net/java/games/input/DirectInputMouse$BallImpl.class
    [java] Examining file : net/java/games/input/DirectInputMouse$ButtonImpl.class
    [java] Examining file : net/java/games/input/DirectInputMouse$ButtonsImpl.class
    [java] Examining file : net/java/games/input/DirectInputMouse.class
    [java] Examining file : net/java/games/input/DirectInputRumbler.class
    [java] java.lang.UnsatisfiedLinkError: getNumButtons
    [java]     at Method)
    [java]     at$200(
    [java]     at$ButtonsImpl.<init>(
    [java]     at<init>(
    [java]     at
    [java]     at
    [java]     at Method)
    [java]     at
    [java]     at<init>(
    [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    [java]     at sun.reflect.NativeConstructorAccessorImpl.newInstance(
    [java]     at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(
    [java]     at java.lang.reflect.Constructor.newInstance(
    [java]     at java.lang.Class.newInstance0(
    [java]     at java.lang.Class.newInstance(
    [java]     at
    [java]     at
    [java]     at$000(
    [java]     at$
    [java]     at Method)
    [java]     at
    [java]     at<init>(
    [java]     at
    [java] Exception in thread "main"
when I try to use ant to run any of the tests.  Any clue which wrong turn I made?

Offline TheBohemian

Junior Devvie

Java will rule them all!

« Reply #1 - Posted 2004-07-26 09:53:49 »


java.lang.UnsatisfiedLinkError: getNumButtons

This looks like an error on the JInput side of things ...



my favorite OS:
Java 1.5 -> 1.4 converter:
Offline endolf

JGO Coder

Medals: 7
Exp: 15 years

Current project release date: sometime in 3003

« Reply #2 - Posted 2004-07-27 06:40:07 »

 Unsatisfied link errors should happen before that point if the dxjinput dll is missing, which makes me think the dll you have compiled is broken some how (the getNumButtons method is not there). The CVS version of the C code has it (just checked), so I can't see why it's not finding it.
 The only thing I can think of is that you have a really old version of the dll somewhere else on your system that java is finding, either in your jdk, your windows folders (I think it checks windows windows/system and windows/system32) so  search your whole machine for the dll. If there are no others then somehow you must have really old source for the c code, but newer java.

Hope that helps


Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline mrdale

Junior Newbie

Java games rock!

« Reply #3 - Posted 2004-07-29 01:38:21 »

I am using the precompiled dll as I've been unable to untangle the #include spaghetti using either dx8 or 9.

All (and I've tried a bunch) of the -I's I've tried to get dinput.h to lead to a valid bunch of includes has failed.

Any clues on that front?

Offline endolf

JGO Coder

Medals: 7
Exp: 15 years

Current project release date: sometime in 3003

« Reply #4 - Posted 2004-07-29 03:51:53 »

 The first time I built Jinput I just followed this instructions, got mingw, the dx bindings etc, and it worked. Are you using VC, or trying to use some other compiler?

It sounds like the binary dll you have is really old, i'd get a new one from and try again if I were you.



Pages: [1]
  ignore  |  Print  
You cannot reply to this message, because it is very, very old.

SHC (25 views)
2015-08-01 03:58:20

Jesse (19 views)
2015-07-29 04:35:27

Riven (40 views)
2015-07-27 16:38:00

Riven (21 views)
2015-07-27 15:35:20

Riven (24 views)
2015-07-27 12:26:13

Riven (14 views)
2015-07-27 12:23:39

BurntPizza (36 views)
2015-07-25 00:14:37

BurntPizza (46 views)
2015-07-24 22:06:39

BurntPizza (30 views)
2015-07-24 06:06:53

NoxInc (36 views)
2015-07-22 22:16:53
List of Learning Resources
by gouessej
2015-07-09 11:29:36

How Do I Expand My Game?
by bashfrog
2015-06-14 11:34:43

List of Learning Resources
by PocketCrafter7
2015-05-31 05:37:30

Intersection Methods
by Roquen
2015-05-29 08:19:33

List of Learning Resources
by SilverTiger
2015-05-05 10:20:32

How to: JGO Wiki
by Mac70
2015-02-17 20:56:16

2D Dynamic Lighting
by ThePixelPony
2015-01-01 20:25:42

How do I start Java Game Development?
by gouessej
2014-12-27 19:41:21 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!