I work for a School who would like us to force someone to sign an AUP (acceptable use policy) or the computer shuts down. They want this done after log in so they can track who signed it. Is using Java a viable option for something like this?
This sounds like a poor option for any programming language to be honest. Why wouldn't they require the users to sign an "AUP" before they're given the login credentials in the first place?
That way they still get their agreement, but don't need to install or run additional software.
Anything is possible so anything is viable. But its not a good idea, no. What you want is highly operating specific, Java does not do operating system specific. If this is Windows you're better off with .NET in my opinion.
Unfortunately they don't want to do it a normal easy way. They insist on something running after log in that will force the user to accept. This was in an effort to force someone who refuses to sign it to be forced to.