Modern Windows 10 environments typically run newer versions of Java (like Java 11 or higher), which are often incompatible with the obfuscated code used in version 2.5.1. Common symptoms include:
for Java: Create a ubnt-discovery.ini file alongside the .exe with: ubnt discovery tool v2.5.1 and java on windows 10
To run the Ubiquiti (UBNT) Discovery Tool v2.5.1 Windows 10 , you must use an older version of Java, as modern Java Runtime Environments (JRE) often trigger "A Java Exception has occurred" errors due to code obfuscation issues in the legacy tool. Ubiquiti Community Quick Solution: Use an Older Java Version The most common fix is to use Java 8 Update 271 or older . Updates from Java 8 Update 281 and later are known to break the tool. Ubiquiti Community Recommended Version : Java 7 or an early build of Java 8. Workaround UBNT Discovery Tool v2
For many network engineers and IT professionals, the remains a staple in the toolkit. While modern Ubiquiti ecosystems have largely moved to the UISP application or mobile apps, the standalone desktop discovery tool is still widely used for quickly locating AirOS, EdgeMAX, and legacy UBNT devices on a local network without logging into a router interface. Updates from Java 8 Update 281 and later
Note : If it opens and immediately closes, ensure your Windows Firewall is not blocking the broadcast discovery frames.