@Aero Summers Thanks for posting in our Q&A. From your description, did you want to uninstall Java via intune? If there is anything misunderstanding, please correct me.
For this issue, please make sure that this device group is only added in uninstall assignment and is not added in required assignment. And then it is suggested to check if Java is successfully uninstalled on the target device.
If there is anything update, feel free to let us know.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.