It is currently Fri Jun 22, 2018 4:49 pm Advanced search

Netbeans and a MacBook

Code won't compile? Found a bug? Post here!

Netbeans and a MacBook

Postby DaveAndRoger » Fri Oct 01, 2010 10:13 am

hello,

i'm trying to run the java version using netbeans on a macbook.

im not having a lot of luck, is there a way of making netbeans call the playgame and showgame jars?

also i cant run it from terminal, i keep getting a null pointer for Main which i guess means i havent managed to compile it?
java -jar planetwars/tools/playgame.jar planetwars/maps/map10.txt 1000 200 log.txt planetwars/example_bots/dualbot.jar planetwars/example_bots/dualbot.jar
WARNING: player 1 crashed.
Exception in thread "main" java.lang.NullPointerException
at Engine.main(Engine.java:152)


anyone fancy handholding a programming retard through this?

thanks
DaveAndRoger
Cadet
 
Posts: 1
Joined: Fri Oct 01, 2010 10:06 am

Return to Technical Issues

Who is online

Users browsing this forum: No registered users and 0 guests

cron