Hello Guest

osx and Eclipse

  • 5 Replies
  • 4723 Views
osx and Eclipse
« on: August 05, 2007, 13:24:04 »
I am incredibly new to Java but not to coding but for the life of me I can't get eclipse past the:

xception in thread "main" java.lang.UnsatisfiedLinkError: no lwjgl in java.library.path

error. I think I understand what it means but no matter what I set '-Djava.library.path=' to I don't seem able to resolve the issue.

Can anyone supply a step-by-step setup for lwjgl and the latest version of Eclipse on Mac OSX? I have been trying for 4 hours now and are about to give up on what seems like a nice system.


*

Offline Matzon

  • *****
  • 2242
Re: osx and Eclipse
« Reply #1 on: August 05, 2007, 16:58:31 »
have you been able to launch the lwjgl demos from the terminal?

Re: osx and Eclipse
« Reply #2 on: August 05, 2007, 17:33:43 »
have you been able to launch the lwjgl demos from the terminal?

Well - I was able to run the test app.

I found that if I bind the link elements within Eclipse without using the java library path I can get it to work but I really have no idea what it is doing...

*

Offline Matzon

  • *****
  • 2242
Re: osx and Eclipse
« Reply #3 on: August 05, 2007, 17:58:16 »
I have no experience with eclipse on osx, but the -Djava.library.path=/path/to/lwjgl/native/files/osx must be passed as an VM argument.
Try using absolute paths to remove any relative path issues

Re: osx and Eclipse
« Reply #4 on: August 05, 2007, 18:22:52 »
I have no experience with eclipse on osx, but the -Djava.library.path=/path/to/lwjgl/native/files/osx must be passed as an VM argument.
Try using absolute paths to remove any relative path issues

I have tried relative paths and absolute paths. I have tried placing the files in other locations and then changing the path to all combinations and no joy

Any osx developers here?
« Last Edit: August 05, 2007, 21:25:07 by xiotex »

Re: osx and Eclipse
« Reply #5 on: August 05, 2007, 23:29:55 »
finally managed it - pulling teeth would have been less painfull