mirror of
https://github.com/moonlight-stream/moonlight-embedded.git
synced 2026-10-20 23:36:55 +00:00
Warn for unsupported VM's
This commit is contained in:
1 parent
a1a81c6954
commit
b610f9ce44
1 file changed
+6
@@ -44,6 +44,12 @@ public class Limelight implements NvConnectionListener {
|
||||
* Creates a connection to the host and starts up the stream.
|
||||
*/
|
||||
private void startUp(StreamConfiguration streamConfig, List<String> inputs, String mappingFile) {
|
||||
String vm = System.getProperties().getProperty("java.vm.name");
|
||||
if (!vm.contains("HotSpot")) {
|
||||
System.err.println("You are using a unsupported VM: " + vm);
|
||||
System.err.println("Please update to Oracle Java (Embedded) for better performances");
|
||||
}
|
||||
|
||||
conn = new NvConnection(host, this, streamConfig);
|
||||
|
||||
if (inputs.isEmpty()) {
|
||||
|
||||
Reference in new issue
Block a user