Is there a way to set up the Java compiler on a server to compile uploaded scripts? My use case is where users can upload custom java scripts/plugins for a program. Then the server would compile those scripts, and place the .jar in a folder. Then the application (the one users are developing for) would query the server for available scripts/plugins to download and use. Is this possible? If so, how?
*EDIT: I cannot install the JDK on my server, since it is a shared server. Is there any way to compile java without installing anything (a stupid question i know, but doesn't hurt to ask..)? I have php....not that that would help any.