0

I am very new to Ghidra, I have just installed it in order to try and decompile an ELF file. when trying to assign the file to the new Ghidra project, I get these error messages:

Loading language 'x86:LE:64:default' - Uncaught Exception: ghidra.app.plugin.processors.sleigh.SleighException: File not found - language probably did not compile properly

Can't read language spec C:\Program Files\ghidra_9.1.2_PUBLIC\Ghidra\Processors\x86\data\languages\x86-64.sla
java.io.FileNotFoundException: C:\Program Files\ghidra_9.1.2_PUBLIC\Ghidra\Processors\x86\data\languages\x86-64.sla (Access is denied)

What can I do to fix these?

rubberband
  • 25
  • 1
  • 5
  • Q: Does file `C:\Program Files\ghidra_9.1.2_PUBLIC\Ghidra\Processors\x86\data\languages\x86-64.sla ` exist and does your Java project have permissions to open it? – paulsm4 Jul 27 '20 at 21:58
  • it does exist, But I do not know how to check if the project has the permissions... – rubberband Jul 27 '20 at 22:02

1 Answers1

1

I got the same error today. After trying a few things unsuccessfully (using a different version of JDK (and changing the environment variables to include the other JDK version), installing all the Ghidra extensions, and re-copying the x86-64.sla file, none of those worked. But, I decided to try running Ghidra as Administrator in the hopes it would not run into permission errors and voila!, it worked.

babycakes
  • 26
  • 1