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 ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Threads won't start when starting jar file

 
Greenhorn
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
15
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
36
  • 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.
Enter:
java -jar TheJarFilename.jar
 
We noticed he had no friends. So we gave him this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic