Menu

#230 Autopsy fails to start on Ubuntu 22.04.03LTS

1.65
open
nobody
3
2023-09-20
2023-08-29
Catherine
No

Hello Mr. Carrier

Thank you for providing us with free software.

I am trying to use Autopsy to try to solve DFRWS-2018.

My machine runs Ubuntu 22.04.3 LTS

I followed all the installation instructions at
https://www.autopsy.com/download/
and it gives me this error on my terminal when I try to run Autopsy:

Aug 30, 2023 8:07:46 AM org.netbeans.ProxyURLStreamHandlerFactory register
SEVERE: No way to find original stream handler for jar protocol
java.lang.reflect.InaccessibleObjectException: Unable to make field transient java.net.URLStreamHandler java.net.URL.handler accessible: module java.base does not "opens java.net" to unnamed module @228575c0
at java.base/java.lang.reflect.AccessibleObject.throwInaccessibleObjectException(AccessibleObject.java:387)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:363)
at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:311)
at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:180)
at java.base/java.lang.reflect.Field.setAccessible(Field.java:174)
at org.netbeans.ProxyURLStreamHandlerFactory.register(ProxyURLStreamHandlerFactory.java:59)
at org.netbeans.JarClassLoader.<clinit>(JarClassLoader.java:117)
at org.netbeans.MainImpl.execute(MainImpl.java:153)
at org.netbeans.MainImpl.main(MainImpl.java:60)
at org.netbeans.Main.main(Main.java:58)</clinit>

and this message in Autopsy popup window:

org.netbeans.InvalidException: StandardModule:org.sleuthkit.autopsy.core jarFile: /home/superuser/autopsy/autopsy-4.20.0/autopsy/modules/org-sleuthkit-autopsy-core.jar: java.lang.IllegalArgumentException: java.lang.reflect.InvocationTargetException

I installed the latest version of Java 19.0.2 and removed the earlier versions' directories and the environment variable is correct.

printenv | grep JAVA

JAVA_HOME=/usr/lib/jvm/java-19-openjdk-amd64/

Thank you for any help you can provide.
Best wishes
Cathy

Discussion

  • Catherine

    Catherine - 2023-08-30

    I investigated some more. Does this mean the current Autopsy release will not work on Ubuntu 22.04 LTS ? Because Oracle has not released the required JRE we need ?

    java --version
    openjdk 19.0.2 2023-01-17
    OpenJDK Runtime Environment (build 19.0.2+7-Ubuntu-0ubuntu322.04)
    OpenJDK 64-Bit Server VM (build 19.0.2+7-Ubuntu-0ubuntu322.04, mixed mode, sharing)


    https://ubuntu.com/tutorials/install-jre#2-installing-openjdk-jre

    sudo apt install default-jre
    Reading package lists... Done
    Building dependency tree... Done
    Reading state information... Done
    default-jre is already the newest version (2:1.11-72build2).
    0 to upgrade, 0 to newly install, 0 to remove and 13 not to upgrade.


    Autopsy install instructions say

    Confirm that the file $JAVA_HOME/jre/lib/ext/jfxrt.jar exists. If it does not exist, return to the Java setup steps above.

    ls -lrt /usr/lib/jvm/java-19-openjdk-amd64/
    total 32
    -rw-r--r-- 1 root root 1189 Feb 20 2023 release
    lrwxrwxrwx 1 root root 42 Feb 20 2023 docs -> ../../../share/doc/openjdk-19-jre-headless
    drwxr-xr-x 72 root root 4096 Jul 11 09:16 legal
    drwxr-xr-x 3 root root 4096 Jul 11 09:16 man
    drwxr-xr-x 4 root root 4096 Jul 11 09:16 conf
    drwxr-xr-x 2 root root 4096 Aug 29 08:21 jmods
    drwxr-xr-x 5 root root 4096 Aug 29 08:21 lib
    drwxr-xr-x 3 root root 4096 Aug 29 08:31 include
    drwxr-xr-x 2 root root 4096 Aug 29 08:31 bin

    On checking, there is no jre subdirectory

    https://ubuntu.com/tutorials/install-jre#3-installing-oracle-hotspot-jre
    says
    Oracle does not currently offer JRE packages for Java 11 or above from their website

     
  • Catherine

    Catherine - 2023-09-20

    I reinstalled the operating system. Then installed Autopsy and got it to at least open. But it fails to recognize the .IMG file attached. Which is an image of memory of an IoT device (busybox version of Unix). It contains the entire file system and binwalk -ev extracted it so I did obtain the entire file system that way. It was disappointing that Autopsy could not.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.