Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8161363
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T18:29:00+00:00 2026-06-06T18:29:00+00:00

Update The reason I couldn’t update properly was I didn’t have game’s jar file

  • 0

Update

The reason I couldn’t update properly was I didn’t have game’s jar file properly installed. That was fixed by first running this on the command line:

mvn install:install-file -DgroupId=com.mygame -DartifactId=mygame-core -Dversion=0.9-beta -Dpackaging=jar -Dfile=/home/klenwell/projects/mygame/playn/mygame/java/target/mygame-java-0.9-beta.jar

Then, in Eclipse, I right-clicked java folder > Maven > Test. This updated all my dependencies including lwjgl.

Otherwise, see thomasbroad’s answer.

Original Question

I’ve consulted the following authorities on this topic and applied their various recommendations:

  • http://lwjgl.org/installation.php

  • http://www.lwjgl.org/wiki/index.php?title=Setting_Up_LWJGL_with_Maven

  • http://www.lwjgl.org/wiki/index.php?title=Setting_Up_LWJGL_with_Eclipse

  • https://stackoverflow.com/a/11065814/1093087

  • https://groups.google.com/forum/?fromgroups#!topic/playn/E2t7gNh4ab0

  • https://groups.google.com/d/msg/playn/3D4JZ1Dbm-E/HmPHofS2fqgJ

Part of the problem is I’m not sure whether I should be following the Maven instructions or the Eclipse instructions. I’ve tried both and everything in between.

I’m working in Ubuntu 12.04 64-bit on Eclipse using Maven. Everything was working fine until I changed the PlayN version in my POM file from 1.2 to 1.3.1 and introduced the lwjgl dependency.

What I would have expected to have worked:

1) Download lwjgl (latest version 2.8.4) and test per lwjgl.org instructions (this was successful)

2) Update the appropriate POM files

2A) Add lwjgl.version as a property to mygame/pom.xml

  <properties>
    <playn.version>1.3.1</playn.version>
    <lwjgl.version>2.8.4</lwjgl.version>
  </properties>

2B) Add lwjgl as a dependency to mygame/mygame-java/pom.xml

  <dependency>
    <groupId>org.lwjgl.lwjgl</groupId>
    <artifactId>lwjgl</artifactId>
    <version>${lwjgl.version}</version>
  </dependency>

3) Right-click mygame-java project in Eclipse > Run As > Run Configurations > Arguments and add either -Djava.library.path=target/natives or -Djava.library.path=/absolute/path/to/my/lwjgl/lib to VM arguments. (I’ve tried both variations.)

I can see the dependencies listed under my java project folder in Eclipse. And when I follow the lwjgl.org guide for Eclipse, I can see the jar listed under the java project folder. But I still get the error.

After two hours of hair-wrenching frustration, I hope somebody can either point out my fatal oversight or provide explicit instructions that will help me get back to work. Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T18:29:02+00:00Added an answer on June 6, 2026 at 6:29 pm

    I upgraded my project from 1.2 to 1.3 a while ago. I only updated my pom.xml files to refer to the new version of PlayN . I did not manually install lwjgl and neither did I add the lwjgl dependency as that one is implicitly pulled in by PlayN

    Manually apply the diffs found here to your project, to your poms.

    The key part being the piece in the java pom that tells Maven to unpack native dependencies. This part was actually added in the previous diff, so you may want to look there as well.

    Now your IDE will most likely tell you that your project is not up-to-date with your poms, update your project, this should pull in the lwjgl dependency and set it up correctly.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have payment table fields update reason and amount & total field are change
From the Wikipedia article on Read-Copy-Update : The reason that it is safe to
For some reason, we can't update the SVN in some build machines. Installed svn
I was told that for some reason, you can't update a database schema when
I have some tables for which I have no reason to ever update from
I have a file that has fairly long lines. The longest line has length
I am having problems using the update method of scala.collection.immutable.HashMap.I don't see the reason
Update: I reported this as a bug to Apple and they fixed it! All
As far as I can tell, the only reason we have namespacing in PHP
We have a bunch of quartz jobs configured for running in a clustered environment

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.