Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MacOS launcher should let the user know if Java is not available #279

Closed
jackjansen opened this issue Feb 16, 2021 · 3 comments
Closed

MacOS launcher should let the user know if Java is not available #279

jackjansen opened this issue Feb 16, 2021 · 3 comments
Milestone

Comments

@jackjansen
Copy link

I was going to write a bug report "doesn't work on MacOS 11", but it turns out the problem was that Java is no longer installed by default.

There is indeed a small notice on the download page that you should "install java 8", but I overlooked that.

It would be sort of nice if the app would pop up a dialog if Java is missing on your machine, few people will have it installed nowadays... And right now the app does absolutely nothing if you double-click it without Java installed.

@angryziber
Copy link
Collaborator

Do you know how to popup a GUI dialog on macOS from command-line?

@angryziber angryziber changed the title Java dependency should be made clearer MacOS launcher should let the user know if Java is not available Feb 27, 2021
@llamafilm
Copy link

@angryziber there are several ways but one easy option is Apple Script: osascript -e 'display dialog "You must install Java first" with icon stop with title "Angry IP Scanner"'

@angryziber
Copy link
Collaborator

It's interesting that if you type java in the terminal, macOS would open a dialog prompting to install Java. Doesn't it happen if you try to run ipscan for the first time?

@angryziber angryziber added this to the 3.8.2 milestone Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants