Synopsis
Netbeans have invalid values set for nbplatform.default.netbeans.dest.dir
and nbplatform.default.harness.dir
. You can change these values either globally or locally.
Global way
The default location for these nbplatform.default.netbeans.dest.dir
and nbplatform.default.harness.dir
are usually located in the file ~/.netbeans/8.2/build.properties
You can edit it with your favorite editor:
gedit ~/.netbeans/8.2/build.properties
Scroll down to the last line and you should see nbplatform.default.netbeans.dest.dir
and nbplatform.default.harness.dir
keys. Change their values to this:
nbplatform.default.harness.dir=${nbplatform.default.netbeans.dest.dir}/harness
nbplatform.default.netbeans.dest.dir=/path/to/your/Netbeans/Folder/netbeans-8.2
Note: Write actual folder where your Netbeans is installed.
Save and exit.
Verify if the problem is solved.
Local way (Making own default declarations):
1) Go to your project file default declarations (I suppose project name is cantact-app-master
):
cd /path/to/Project/Folder/cantact-app-master/nbproject/private/
Note: Write actual folder where your Project is located.
Save and exit.
2) There should be some file called platform-private.properties
, edit it with your favorite editor, otherwise create it:
gedit platform-private.properties
3) If in previous step, in case you edited it, you might encounter a line starting with a key user.properties.file
. Anyways, comment it or if it is blank, write this:
user.properties.file=cd /path/to/**Project/Folder**/cantact-app-master/nbproject/private/build.properties
Note 1: Write actual folder where your Project is located.
Note 2: You can indicate build.properties
wherever you want, but I assume that this is destination of this file.
Save and exit.
4) Create build.properties
where you pointed user.properties.file
key:
gedit build.properties
5) Add these lines:
nbplatform.default.harness.dir=${nbplatform.default.netbeans.dest.dir}/harness
nbplatform.default.netbeans.dest.dir=/path/to/your/Netbeans/Folder/netbeans-8.2
Note: Write actual folder where your Netbeans is installed.
Save and exit.
Hope this helps...