On 2024-12-23, Arbol One <arbol...@hotmail.ca> wrote:
>
> Hello.
>
> In my Debian 12, I used snap to install Brave. To select it as browser 
> in Netbeans I need to know the location of the executable.
> Does anyone know the directory for the Brave executable?


When you install Brave using Snap on Debian 12, the executable is typically
located in the directory where Snap applications store their binaries. To find
the exact location of the Brave browser executable, follow these steps:

Run the following command in the terminal:

snap list brave
This will confirm that Brave is installed via Snap and show its installation
details.

Snap applications usually have their executables under /snap/bin. For Brave,
the path is typically:

/snap/bin/brave
You can verify this by running:

ls -l /snap/bin/brave

To ensure the executable is working, run:

/snap/bin/brave

To set Brave as the Browser in NetBeans
In NetBeans, set the path to the Brave executable:

Go to Tools > Options > General.
Under the Web Browser section, click Add or select Custom Browser.
Enter the path /snap/bin/brave.
Test it to confirm it's launching correctly.


Reply via email to