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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T06:11:21+00:00 2026-06-10T06:11:21+00:00

I created a fat jar file using JarSplice, but when I launch it i

  • 0

I created a fat jar file using JarSplice, but when I launch it i get a window (the size is okay) and it closes after half a seccond…

In the “add jars” section I’m adding the jar file that I exported from Eclipse, and all library jars that I’m using. In the natives section I’m adding only Windows natives for lwjgl. I think I wrote the correct main class.

What am i doing wrong? How can I fix this problem?

Note: I’m using the newest version of eclipse and jdk.

  • 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-10T06:11:23+00:00Added an answer on June 10, 2026 at 6:11 am

    The file no longer is really on the “file system” but is instead in the jar, so you will need to load the resource from within the jar. When you run from within eclipse it is still on the file system, but when you create the jar it’s not, that’s why it works in eclipse but not when you package it up. The answer to this question should give you a good start on loading a file within a jar as a resource. That said, I’m not sure if you can do something similar to your listFiles call.

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

Sidebar

Related Questions

I have created a virtual file system(very simular to fat) based on two files.
Set up: New MVC 3 project, using existing database. Created an EF file (edmx),
I created a python server on port 8000 using python -m SimpleHTTPServer . When
It looks like #temptables created using dynamic SQL via the EXECUTE string method have
Avoiding Fat Controller So I'm using Zend Framework and I have a question involving
I've created a Jquery slideshow and it is working without problem, but this thing
We're using a small self-made windows-based tool to write OS, Images and a FAT
I create a executable jar with eclips indigo and use a bat file to
Hi, is there any way to change your image thin size to fat size
I'm using google docs, and some templates we are using were created using MS-Office.

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.