Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (527)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (593)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  Eclipse not exporting  (Read 1508 times)
0 Members and 1 Guest are viewing this topic.
Offline kingroka123

JGO Ninja


Medals: 41
Projects: 6
Exp: 1 year


Gamer's Helmet


« Posted 2013-06-27 17:04:27 »

Hey, my eclipse has stopped  exporting my project correctly meaning that the jar stops working at least on my computer. I have exported this project numerous times before but one day after not changing anything, it just stopped. (this is especially ironic because it was such a large update Emo) i then tried to export another project and the jar ran fine. any ideas?

all i do id:
select the project (.classpath and .project too)
select the main class
and hit export

here is the jar (if it works for you consider it an early update  WinkHere

Offline wessles

JGO Wizard


Medals: 74
Projects: 4
Exp: 4 years


Radirius Software


« Reply #1 - Posted 2013-06-27 17:12:23 »

It could be a resource problem. Like the resources are not in the right place?

Offline kingroka123

JGO Ninja


Medals: 41
Projects: 6
Exp: 1 year


Gamer's Helmet


« Reply #2 - Posted 2013-06-27 17:19:22 »

i've opened up the jar with winrar and all the resources and class files are in the correct place its just not running at all for seemingly no reason

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline BurntPizza

« JGO Bitwise Duke »


Medals: 273
Exp: 5 years



« Reply #3 - Posted 2013-06-27 19:12:09 »

Open a command line and navigate to the directory (folder) where the jar is, and run it with:
1  
java -jar myjarname.jar


It will show any errors you are getting, like manifest issues, etc, which commonly appear as the jar simply not running.
Offline actual

JGO Coder


Medals: 24



« Reply #4 - Posted 2013-06-27 19:25:38 »

Quote
I have exported this project numerous times before but one day after not changing anything, it just stopped. (this is especially ironic because it was such a large update ).

Both of these things can't be true. Did you keep your jar settings the same but make a lot of code changes? If so, did you add any jars to your library or do you have a new entry point for the game?
Offline wessles

JGO Wizard


Medals: 74
Projects: 4
Exp: 4 years


Radirius Software


« Reply #5 - Posted 2013-06-27 20:22:59 »

Quote
I have exported this project numerous times before but one day after not changing anything, it just stopped. (this is especially ironic because it was such a large update ).

Both of these things can't be true. Did you keep your jar settings the same but make a lot of code changes? If so, did you add any jars to your library or do you have a new entry point for the game?
He meant he did not change eclipse!
[TEXT TO FILL IN SPACE TO QUALIFY FOR AT LEAST 10% OF TEXT THAT IS NOT QUOTE]

Offline kingroka123

JGO Ninja


Medals: 41
Projects: 6
Exp: 1 year


Gamer's Helmet


« Reply #6 - Posted 2013-06-27 20:35:29 »

exactly it just stopped working for this specific project

Offline actual

JGO Coder


Medals: 24



« Reply #7 - Posted 2013-06-27 20:42:22 »

Ok, it wasn't clear to me. Are you using version control? If so, you could pull a snapshot of your project that was the last time you remember it working and re-run it. If not, just do what BurntPizza recommended which will give you a better clue as to what the error is.
Offline ra4king

JGO Kernel


Medals: 355
Projects: 3
Exp: 5 years


I'm the King!


« Reply #8 - Posted 2013-07-01 12:52:41 »

No response in 4 days.....yet no one pointed out that it doesn't run because an "input == null" error occurs on an ImageIO.read(...) call?

Offline kingroka123

JGO Ninja


Medals: 41
Projects: 6
Exp: 1 year


Gamer's Helmet


« Reply #9 - Posted 2013-07-01 23:34:27 »

but how would i fix that, does that mean that there is an error in my image finding

Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline ra4king

JGO Kernel


Medals: 355
Projects: 3
Exp: 5 years


I'm the King!


« Reply #10 - Posted 2013-07-01 23:55:26 »

If input == null, then yes the resource is not found. Check if the path is correct. If you don't know how to get URL's properly in JAR files, search JGO for the millions of posts I and others have posted about the subject Smiley

Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

toopeicgaming1999 (73 views)
2014-11-26 15:22:04

toopeicgaming1999 (63 views)
2014-11-26 15:20:36

toopeicgaming1999 (15 views)
2014-11-26 15:20:08

SHC (29 views)
2014-11-25 12:00:59

SHC (27 views)
2014-11-25 11:53:45

Norakomi (32 views)
2014-11-25 11:26:43

Gibbo3771 (27 views)
2014-11-24 19:59:16

trollwarrior1 (40 views)
2014-11-22 12:13:56

xFryIx (78 views)
2014-11-13 12:34:49

digdugdiggy (57 views)
2014-11-12 21:11:50
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!