I found an old thread titled "The Java Virtual Machine has exited with a code of -1, the service is being stopped." but it was closed and locked. So I'm posting this new info.
Using SEP 12.1.2015.2015 on XP and 7 clients; SEPM server is running 2008 R2 standard x64; and logging to an external SQL 2012 server.
This morning I found that my SEP clients and server had no green dot, and that I could not launch my local Java SEPM console. The SEPM console would error with "The application failed to launch" or "Failed to connect to server". Checked the server services and found the Symantec Endpoint Protection Manager service was stopped. I started it, but about a minute later it would stop and the Application Event Log said "The Java Virtual Machine has exited with a code of -1, the service is being stopped" with a source of "semsrv", Event ID "4096". Starting the service again and reboots of the server did not help.
The issue was: the SQL log files were full.
The resolution: I had my SQL Administrator truncate the SQL logs for SEP and expand them. After that, the service started and kept running OK.
Regards, Tom.