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 8377849
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:46:41+00:00 2026-06-09T15:46:41+00:00

How to export to runnable java file with eclipse using slick and lwjgl (Light

  • 0

How to export to runnable java file with eclipse using slick and lwjgl (Light Weight Java Graphics Library)?

So, I have done some research into this and believe I have found the root of the problem and what needs fixing, now I need to figure out how to fix it.

I have a fairly large project that use slick and lwjgl. These are both provided as .jar files that I have added to the java build path in my IDE (Eclipse INDIGO, in case you where wondering).

My goal is to export the piece into a single runnable jar file. Eclipse gives me three options for this:

  • Extract required libraries into generated JAR
  • Package required libraries into generated JAR
  • Copy required into a sub-folder next to the generated JAR

I have been gunning for the second options and it seems the easiest to deal with logically. Anyway when I select this option I press the FINISH option (the only one available to me other than BACK and CANCEL) I get the generation progress popping up for a sec and all seem well. However, if I run the resulting file I get an Unresolved Linker Error as it cannot find lwjgl.

Seeing as both slick.jar and lwgjl.jar are inside the generated JAR when viewed with winRar, I assume that some information is being lost about the java build path when everything goes from the IDE to the runnable JAR.

My research so far seems to suggest I can point the generated JAR to the enclosed files it needs through something in the manifest.txt file but this is were I have been unable to find anything more concrete.

Can anyone please advise me where to go from here?

P.S: I have tried almost every permutation of the export option and environmental options for the build path but when I run the generated JAR it get various differing errors that still all mean “I cannot find this here external”.

P.P.S: I forgot to add, eclipse itself is mentioned in the manifest file as follows:

Manifest-Version: 1.0
Rsrc-Class-Path: ./ lwjgl.jar slick.jar
Class-Path: . lwjgl.jar slick.jar
Rsrc-Main-Class: Game.Game 
Main-Class: org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoader

Every bit of common sense tells me that needs to be changed as it refers to the .jars’ location but again, not sure what to or where to begin.

  • 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-09T15:46:42+00:00Added an answer on June 9, 2026 at 3:46 pm

    You could use JarSplice, just export the jar from Eclipse, with your classes and resources (don’t include any libraries at this point), then use JarSplice to add any libraries and natives (like lwjgl and slick) and make the jar runnable.

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

Sidebar

Related Questions

I generated a very simple runnable jar file using Eclipse's Export-->Java-->Runnable Jar File function.
I'm trying out the Eclipse Java 'Export Runnable JAR file. It creates a single
i'm trying to export my Java Project into a runnable JAR file with eclipse
I made this small Java program using eclipse IDE. I have set the workspace
I have Java application and I export it to runnable .jar application. Can I
Running Apache/PHP on this PC. I am using Eclipse >> Export Java > JAR
I'm trying to build a runnable JAR using Eclipse's Export function. everything works fine
I'm trying to export my java application to a Runnable Jar file. This worked
I export try.jar file using 32 bit java libraries. On the client site, I
An export of the Eclipse preferences looks a lot like a Properties file. Is

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.