swing client not running

This commit is contained in:
Carlos Ruiz 2016-11-25 11:37:11 +01:00
parent c93e10ff2e
commit a35e66141a
1 changed files with 2 additions and 6 deletions

View File

@ -121,17 +121,13 @@ public class Login
{
// Java System version check
String jVersion = System.getProperty("java.version");
//vpj-cd e-evolution support to java 6
if (jVersion.startsWith("1.6.0"))
return true;
//end
if (jVersion.startsWith("1.7.0"))
if (jVersion.startsWith("1.8.0"))
return true;
// Error Message
StringBuilder msg = new StringBuilder();
msg.append(System.getProperty("java.vm.name")).append(" - ").append(jVersion);
msg.append(" <> 1.6.0 | 1.7.0");
msg.append(" <> 1.8.0");
//
if (isClient)
JOptionPane.showMessageDialog(null, msg.toString(),