question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't launch Ghidra on Windows

See original GitHub issue

Java JRE and JDK are both installed and PATH environment variable is configured properly.

When I run the ghidraRun.bat file a terminal windows opens and immediately closes afterwards. In task manager I can see a OpenJDK Platform binary process being created each time I run the ghidraRun.bat file but Ghidra doesn’t launch.

when I run support/ghidraDebug.bat I get the following output and then the terminal just stalls and does nothing:

INFO  Using log config file: jar:file:/C:/Users/Stefan/Ghidra/Ghidra/Framework/Generic/lib/Generic.jar!/generic.log4j.xml (LoggingInitialization)
INFO  Using log file: C:\Users\Stefan\.ghidra\.ghidra-9.0\application.log (LoggingInitialization)
INFO  Loading user preferences: C:\Users\Stefan\.ghidra\.ghidra-9.0\preferences (Preferences)

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
choketcommented, Mar 8, 2019

Looks like my third monitors was the problem. I’m running a triple monitor setup, and my third monitor is actually a TV screen. I’ve had some issues previously where apps would launch on that monitor but not be displayed initially. I could see that they had been launched because of the icon in the taskbar and could then move them to another monitor, and back to the TV which would make them display properly.

The issue with Ghidra is that the initial EULA doesn’t create an icon in the taskbar so I didn’t know that it had been launched but just not displayed properly. Disconnecting my third monitor made the EULA show up on one of my regular monitors and everything works as expected from there 😃

0reactions
ryanmkurtzcommented, Mar 8, 2019

Since pythonRun seems to be working, it’s probably GUI related. Are you remote desktopped in to your Windows machine? Is there anything weird about your graphic setup?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ghidra Installation Guide
Extract the JDK: Right-click on the zip file and click Extract All... · Open Environment Variables window: Windows 10: Right-click on Windows start...
Read more >
How to Install Ghidra on Windows | All About Testing
To run, we need to download and install Java JDK. Right-click on the zip file and click Extract All. Then, add its bin...
Read more >
Install on Windows10 · Issue #2382 - GitHub
I downloaded ghidra-Ghidra_9.1.2_build.zip and JKD 11.0.8. When I run ghidraRun.bat, it shows following errors. Error: java.lang.
Read more >
How to Install and Run Ghidra on Linux - MakeUseOf
Step 2: Installing Ghidra ... Ghidra SRE isn't typically installed into a system, and there isn't a traditional installer included with the Ghidra...
Read more >
trouble installing on windows 11, any advice appreciated
I keep getting errors saying "Ghidra cannot launch in development mode because Eclipse has not compiled its class files.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found