Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (108)
games submitted by our members
Games in WIP (536)
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  
  Launching the Odejava examples  (Read 4042 times)
0 Members and 1 Guest are viewing this topic.
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Posted 2008-10-31 01:40:39 »

hi

Can anyone tell me, what to do to launch the Odejava testcases from Eclipse? I always get some UnsatisfiedLinkErrors about missing dSomething methods. Which native library do I have to add to the classpath? The folder odejava/odejava-jni/bin is already in the classpath.

Marvin

EDIT: I am using the current CVS head of Odejava and have the project setup just as it is in the repository.
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 749
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #1 - Posted 2008-10-31 01:52:48 »

Just put an (absolute!) path in your -Djava.library.path=... and see if it works.

If it doesn't, you have the wrong libraries/classes combo.

If it does, you had the wrong (relative?) library path.



The classpath has nothing to do with libraries.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #2 - Posted 2008-10-31 16:16:01 »


Err. Yeah. I was talking about the java library path Smiley. I will chekc it when I come home tonight.

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

Senior Member




May the 4th, be with you...


« Reply #3 - Posted 2008-11-01 14:19:51 »

I have checked, if it works with an absolute path. And it unfortunately doesn't. Could you please check, if it works for you with the current SVN trunk head?

Marvin
Offline Riven
« League of Dukes »

JGO Overlord


Medals: 749
Projects: 4
Exp: 16 years


Hand over your head.


« Reply #4 - Posted 2008-11-01 15:01:28 »

Maybe somebody else could jump in here? I rarely work with SVN and the last time I used (the ever stackoverflowing) odejava was a few years ago.

Hi, appreciate more people! Σ ♥ = ¾
Learn how to award medals... and work your way up the social rankings
Offline DzzD
« Reply #5 - Posted 2008-11-01 16:07:14 »

unsatisfied usually happend for me when using wrong native (dll for window), it can happend when
you have an old DLL that you forgot somewhere in you system path ex :c:\window\ c:\window\system\ etc..  or even on your desktop (window use desktop as a system path)

or your libraries are not found in your system path, you can try to put them (all possible requiered dll) on your desktop to see what happen.

Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #6 - Posted 2008-11-03 23:42:59 »

I am not using Windows, but Linux and I never have any native libraries floating around in my system, that actually belong to a certain Java application. I always import them into the application through the java.library.path. Is Odejava still supported and developed btw.? If it is not, I should possibly abandon the xith integration and should directly rush over to JBullet, which would anyway have been the next step.

Marvin
Offline DzzD
« Reply #7 - Posted 2008-11-04 03:51:18 »

ok so you use the wrong libraries with the good jar or the wrong jar with the good libraries Smiley, ok sry I know it dont help....

Offline irrisor

Junior Member





« Reply #8 - Posted 2008-11-04 17:00:22 »

I think the binaries in CVS are not up to date. harsens did not commit/remove them when changing the sources. You'll need to compile them yourself, I'm afraid. (and you could commit them if it works)
Offline Marvin Fröhlich

Senior Member




May the 4th, be with you...


« Reply #9 - Posted 2008-11-04 19:09:29 »

I think the binaries in CVS are not up to date. harsens did not commit/remove them when changing the sources. You'll need to compile them yourself, I'm afraid. (and you could commit them if it works)

I don't know, how to do that. If it is just a matter of executing a compile script (on linux), I can certainly do that. But if it means to integrate it into some kind of C++ IDE, then I don't know, if it is a good idea, if I did it.

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

Junior Member





« Reply #10 - Posted 2008-11-05 09:56:57 »

there's a script named like "build-odejava-linux.sh" or similar
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CogWheelz (17 views)
2014-07-30 21:08:39

Riven (23 views)
2014-07-29 18:09:19

Riven (15 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (33 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (43 views)
2014-07-24 01:59:36

Riven (42 views)
2014-07-23 21:16:32

Riven (30 views)
2014-07-23 21:07:15

Riven (31 views)
2014-07-23 20:56:16
List of Learning Resources
by SilverTiger
2014-07-31 13:54:12

HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43
java-gaming.org 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‑gaming.org
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!