Old 12-01-2007, 08:07 PM   #1 (permalink)
Marios's Mustache Wax
 
Join Date: Oct 2007
Posts: 8
Reputation: 10
Default Checking .jar

I am programming my game in java and just wanted to see if people could get it to run.


staff.washington.edu/anth420

There is a link to a .zip file on my University website

extract all the files in the .zip somewhere
on windows you should be able to double click the .jar to run
on linux I think you have to run it from the terminal with Java -jar Game.jar

Please let me know if you can get it to run, and if you do let me know what you think.

Also on a side note if anyone wants to help on the project I need people to draw tiles for the game. I dont have any budget as I am a poor college student, but I will put your name in the credits.
Anth420 is offline  
Old 12-08-2007, 03:12 AM   #2 (permalink)
Orc's Breathmint
 
Join Date: May 2006
Posts: 113
Reputation: 10
Default

Tried to run it with Ubuntu.

The correct code is:
Quote:
java -jar path_to_file.jar
Where "path_to_file.jar" is the directory where it is located.

Tried to run in terminal, but I got this:
Quote:
Reading File: images/map0.img
Error reading file: images/map0.img
Exception in thread "main" java.lang.NullPointerException
at Data.loadTiles(Data.java0)
at Data.<init>(Data.java:17)
at Game.<init>(Game.java:9)
at Main.main(Main.java:4)
I'm not sure where to go from there.
__________________
RideBMX is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 10:57 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.6.0
OnRPG, Copyright ©2003-2011, Game Entertainment Enterprises