fix for java issues

This commit is contained in:
bryan
2020-01-01 19:22:19 -06:00
parent 32488ddd28
commit e14e763698
2 changed files with 37 additions and 5 deletions

View File

@@ -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\<version\>.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).

8
script.sh Normal file
View File

@@ -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