It is currently Sat Jan 19, 2019 5:19 am 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


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(

anyone fancy handholding a programming retard through this?

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 2 guests