Hi there, I'm an aspiring Java programmer, and for the last few days I've been trying to build the new version of Shoddy Battle. However, I can't seem to get the thing to build, Even without editing the code at all. I've tried it in Eclipse on Windows and Ubuntu, and I've tried it in NetBeans on both OS's. Netbeans was the closest I've come, but I still get the error message below.
I've tried reinstalling NetBeans, Java and re-downloading the code. When I went into the properties file and changed the platform from "default_platform" to "platforms.default_platform.home." I then got the same error message but it said the corresponding property was now "platforms.platforms.default_platform.home.home"
Also the ant commands did nothing either.
I hope this is the correct form for this kind of thing. I also hope no one posted about this already. Thanks for anything you can do!
NetBeans said:/home/******/NetBeansProjects/ShoddyBattleClient2/nbproject/build-impl.xml:87: The J2SE Platform is not correctly set up.
Your active platform is: default_platform, but the corresponding property "platforms.default_platform.home" is not found in the project's properties files.
Either open the project in the IDE and setup the Platform with the same name or add it manually.
For example like this:
ant -Duser.properties.file=<path_to_property_file> jar (where you put the property "platforms.default_platform.home" in a .properties file)
or ant -Dplatforms.default_platform.home=<path_to_JDK_home> jar (where no properties file is used)
BUILD FAILED (total time: 0 seconds)
I've tried reinstalling NetBeans, Java and re-downloading the code. When I went into the properties file and changed the platform from "default_platform" to "platforms.default_platform.home." I then got the same error message but it said the corresponding property was now "platforms.platforms.default_platform.home.home"
Also the ant commands did nothing either.
I hope this is the correct form for this kind of thing. I also hope no one posted about this already. Thanks for anything you can do!