Win a copy of Micro Frontends in Action this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Threads won't start when starting jar file

Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey, I've been programming on a little game in java a bit and everything worked when I started it in Eclipse but when I exported it into a jar file my thread that is testing for controller inputs (with LWJGL) didn't start.  Every other things worked (Graphics, Enemy Movement, random locations for coins, etc.). As I said when I start it in Eclipse evrything works. Thanks in advance
Ranch Hand
Posts: 261
Android Angular Framework Spring AngularJS Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, Tom:
This sounds like an awesome little project.  I have done a bit of 3D programming myself, though never with that library.  I've used some OpenGL, Java3D and JavaFX for graphics.

I have not done much with graphics in Eclipse, but how do you know this is specifically about the threads and not about some other problem?

Without access to your source (or minimized version of same displaying the same problem), I would not be able to help.  A suggestion would be to post something like that or move this to a graphics or LWJGL forum.

Good luck.
Master Rancher
Posts: 3922
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are there any hidden error messages?
Open a command prompt window and enter a command to execute the jar file so you can see any messages.
java -jar TheJarFilename.jar
We noticed he had no friends. So we gave him this tiny ad:
the value of filler advertising in 2020
    Bookmark Topic Watch Topic
  • New Topic