From e14e763698dced9917fba7c84deb091520efd7ef Mon Sep 17 00:00:00 2001 From: bryan Date: Wed, 1 Jan 2020 19:22:19 -0600 Subject: [PATCH] fix for java issues --- README.md | 34 +++++++++++++++++++++++++++++----- script.sh | 8 ++++++++ 2 files changed, 37 insertions(+), 5 deletions(-) create mode 100644 script.sh diff --git a/README.md b/README.md index 8eab41a..d0e2b52 100644 --- a/README.md +++ b/README.md @@ -7,14 +7,38 @@ Download the latest IPMIView software from SuperMicro: ``` git clone https://github.com/TheCase/IPMIView.app cd IPMIView.app -mkdir -p Resources/IPMIView -tar -zxvf ~/Downloads/IPMIView*.tar.gz --strip=1 -C ./Resources/IPMIView/. -cd .. -cp -R IPMIView.app ~/Applications +sh script.sh ``` +You should now have an application icon in your Applications folder. -### Troublueshooting +#### Using the KVM Console + +You need to add an `Input Monitoring` exception for `java` in the `Security & Privacy` `Privacy` Tab in `System Preferences`: + +Open `System Preferences` +Click on `Security & Privacy` +Click the `Privacy` button/tab +Scroll down to `Input Monitoring` +(you may need to click the lock in the lower left and enter your password to add a new item) +Click the plus `+` symbol +In the top of the new window, select MacintoshHD in the pulldown +Library -> Java -> JavaVirtualMachines -> jdk\.jdk -> bin -> Contents -> Home -> bin +Double click on `java` +Make sure the box next to `java` is now checked and close the window + +When you attempt to launch the console, you will be presented with a message that says the developer is not verified. DO NOT click "Move to Trash" - this will delete the files necessary to run the graphical console. Once you get this message: + +Open System Preferences -> Security & Privacy -> General Tab and click Allow Anyway next to the message about the jnlilib that was blocked. + +At this point you can try the "Launch KVM Console" button. You should be presented with another dialog about developer verification. Click the 'Open' button. + +This will trigger another denial window for the sharedLibs jnlilib. Repeat the approval process for this next jnlilib in the Security Preference Pane. + +After performing these two approvals, the console should open. + + +### Troubleshooting If you have Java issues loading the app, please verify that you can run the app from the command line (and outside the jursdiction of this supplied wrapper). diff --git a/script.sh b/script.sh new file mode 100644 index 0000000..b38fb66 --- /dev/null +++ b/script.sh @@ -0,0 +1,8 @@ +#!/bin/sh +set - +mkdir -p Resource/IPMIView/Contents/Home/bin +tar -zxvf ~/Downloads/IPMIView*.tar.gz --strip=1 -C ./Resources/IPMIView/. +cd Resource/IPMIView/Contents/Home/bin +ln -s /usr/bin/java +cd ../../../../../.. +cp -R IPMIView.app ~/Applications