# Autopsy build netbeans error

**URL:** <https://sleuthkit.discourse.group/t/autopsy-build-netbeans-error/502>\
**Category:** Autopsy Development\
**Created:** [February 17, 2020, 1:41pm UTC](https://sleuthkit.discourse.group/t/autopsy-build-netbeans-error/502 "2020-02-17T13:41:51Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Autopsy1](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@Autopsy1](https://sleuthkit.discourse.group/u/Autopsy1)\
**Post date:** [February 17, 2020, 1:41pm UTC](https://sleuthkit.discourse.group/t/autopsy-build-netbeans-error/502/1 "2020-02-17T13:41:51Z")

</div>

First step So I download autopsy msi installer, installed it.  
Second step cloned the code from GitHub into netbeans project [https://github.com/sleuthkit/autopsy](https://github.com/sleuthkit/autopsy)  
Then download PostgreSQL 9.5  
I defined environment variables JAVA\_HOME, LIBEWF\_HOME( to where libewf dll file is from autopsy folder downloaded in first step),LIBVHDI\_HOME,LIBVHDI\_HOME  
POSTGRESQL\_HOME\_64: Path to your 64-bit PostgreSQL directory, e.g., C:\Program Files\PostgreSQL\9.5.  
TSK\_HOME: Path to your local sleuthkit clone, e.g., C:\Users\rcordovano\Work\sleuthkit.  
7. Add the PostgreSQL bin to your PATH environment variable, e.g., C:\Program Files\PostgreSQL\9.5\bin  
8. Add the ant directory in your NetBeans IDE installation to your path, e.g., C:\Program Files\NetBeans 8.2\extide\ant.  
9 build ant Build the TSK JAR file by typing ‘ant dist-PostgreSQL’ in

```
bindings/java in the

TSK source code folder from a command line

```

I am getting this error when running from netbeans

Created dir: C:\Users\kriko\Documents\NetBeansProjects\autopsy\Experimental\build\classes  
Compiling 77 source files to C:\Users\kriko\Documents\NetBeansProjects\autopsy\Experimental\build\classes  
warning: [path] bad path element “C:\Users\kriko\Documents\NetBeansProjects\autopsy\KeywordSearch\release\modules\ext\guava-17.0.jar”: no such file or directory  
warning: [path] bad path element “C:\Users\kriko\Documents\NetBeansProjects\autopsy\build\cluster\modules\ext\guava-17.0.jar”: no such file or directory  
warning: [path] bad path element “C:\Users\kriko\Documents\NetBeansProjects\autopsy\build\cluster\modules\ext\jackson-core-2.7.0.jar”: no such file or directory  
warning: Supported source version ‘RELEASE\_7’ from annotation processor ‘org.netbeans.modules.openide.util.NbBundleProcessor’ less than -source ‘1.8’  
warning: Supported source version ‘RELEASE\_7’ from annotation processor ‘org.netbeans.modules.openide.util.ServiceProviderProcessor’ less than -source ‘1.8’  
warning: Supported source version ‘RELEASE\_7’ from annotation processor ‘org.netbeans.modules.openide.util.NamedServiceProcessor’ less than -source ‘1.8’  
warning: Supported source version ‘RELEASE\_7’ from annotation processor ‘org.netbeans.modules.options.OptionsPanelControllerProcessor’ less than -source ‘1.8’  
warning: Supported source version ‘RELEASE\_7’ from annotation processor ‘org.netbeans.modules.openide.awt.ActionProcessor’ less than -source ‘1.8’  
warning: Supported source version ‘RELEASE\_7’ from annotation processor ‘org.netbeans.api.annotations.common.proc.StaticResourceProcessor’ less than -source ‘1.8’  
warning: Supported source version ‘RELEASE\_7’ from annotation processor ‘org.netbeans.modules.openide.filesystems.declmime.MIMEResolverProcessor’ less than -source ‘1.8’  
warning: Supported source version ‘RELEASE\_7’ from annotation processor ‘org.netbeans.modules.openide.loaders.DataObjectFactoryProcessor’ less than -source ‘1.8’  
warning: Supported source version ‘RELEASE\_7’ from annotation processor ‘org.netbeans.modules.editor.mimelookup.CreateRegistrationProcessor’ less than -source ‘1.8’  
warning: Supported source version ‘RELEASE\_7’ from annotation processor ‘org.netbeans.modules.openide.windows.TopComponentProcessor’ less than -source ‘1.8’  
warning: Supported source version ‘RELEASE\_7’ from annotation processor ‘org.netbeans.modules.openide.nodes.NodesAnnotationProcessor’ less than -source ‘1.8’  
warning: Supported source version ‘RELEASE\_7’ from annotation processor ‘org.netbeans.modules.templates.TemplateProcessor’ less than -source ‘1.8’  
warning: Supported source version ‘RELEASE\_7’ from annotation processor ‘org.netbeans.modules.intent.OpenUriHandlerProcessor’ less than -source ‘1.8’  
warning: Supported source version ‘RELEASE\_7’ from annotation processor ‘org.netbeans.modules.settings.convertors.ConvertorProcessor’ less than -source ‘1.8’  
warning: Supported source version ‘RELEASE\_7’ from annotation processor ‘org.netbeans.modules.sendopts.OptionAnnotationProcessor’ less than -source ‘1.8’  
warning: No processor claimed any of these annotations: javax.annotation.concurrent.ThreadSafe,javax.annotation.concurrent.GuardedBy,com.google.common.eventbus.Subscribe,javax.annotation.concurrent.Immutable  
warning: No processor claimed any of these annotations: javax.annotation.Generated  
C:\Users\kriko\Documents\NetBeansProjects\autopsy\Experimental\src\org\sleuthkit\autopsy\experimental\configuration\SharedConfiguration.java:46: error: package org.sleuthkit.autopsy.keywordsearch does not exist  
import org.sleuthkit.autopsy.keywordsearch.KeywordListsManager;  
C:\Users\kriko\Documents\NetBeansProjects\autopsy\Experimental\src\org\sleuthkit\autopsy\experimental\autoingest\AutoIngestManager.java:104: error: package org.sleuthkit.autopsy.keywordsearch does not exist  
import org.sleuthkit.autopsy.keywordsearch.KeywordSearchModuleException;  
C:\Users\kriko\Documents\NetBeansProjects\autopsy\Experimental\src\org\sleuthkit\autopsy\experimental\autoingest\AutoIngestManager.java:105: error: package org.sleuthkit.autopsy.keywordsearch does not exist  
import org.sleuthkit.autopsy.keywordsearch.Server;  
3 errors  
17 warnings  
C:\Users\kriko\Documents\NetBeansProjects\autopsy\netbeans-plat\8.2\harness\suite.xml:187: The following error occurred while executing this line:  
C:\Users\kriko\Documents\NetBeansProjects\autopsy\netbeans-plat\8.2\harness\common.xml:225: Compile failed; see the compiler error output for details.  
BUILD FAILED (total time: 13 minutes 35 seconds)

---

<div class="post-metadata">

**Author:** ![Richard\_Cordovano](https://yyz2.discourse-cdn.com/free1/user_avatar/sleuthkit.discourse.group/richard_cordovano/32/15_2.png) [@Richard\_Cordovano](https://sleuthkit.discourse.group/u/Richard_Cordovano)\
**Post date:** [February 18, 2020, 4:23pm UTC](https://sleuthkit.discourse.group/t/autopsy-build-netbeans-error/502/2 "2020-02-18T16:23:00Z")

</div>

Are you trying to install Autopsy (you downloaded the Windows installer) or build it from source?

---

<div class="post-metadata">

**Author:** ![Autopsy1](https://avatars.discourse-cdn.com/v4/letter/a/f6c823/32.png) [@Autopsy1](https://sleuthkit.discourse.group/u/Autopsy1)\
**Post date:** [February 18, 2020, 6:24pm UTC](https://sleuthkit.discourse.group/t/autopsy-build-netbeans-error/502/3 "2020-02-18T18:24:12Z")

</div>

All good now, thank you.
