@Test public void testGetJvmLocation() { System.out.printf("%s", API.getJvmLocation()); }
static String getJvmLocation() { String java = System.getProperties().getProperty("java.home") + File.separator + "bin" + File.separator + "java"; if (PlatformUtils.isWindows()) { java += ".exe"; java = java.replace("\\", "/"); } File result = new File(java); require(result.isFile(), "Expected to find java at %s but didn't", result); return java; }
API { static String getJvmLocation() { String java = System.getProperties().getProperty("java.home") + File.separator + "bin" + File.separator + "java"; if (PlatformUtils.isWindows()) { java += ".exe"; java = java.replace("\\", "/"); } File result = new File(java); require(result.isFile(), "Expected to find java at %s but didn't", result); return java; } }
API { static String getJvmLocation() { String java = System.getProperties().getProperty("java.home") + File.separator + "bin" + File.separator + "java"; if (PlatformUtils.isWindows()) { java += ".exe"; java = java.replace("\\", "/"); } File result = new File(java); require(result.isFile(), "Expected to find java at %s but didn't", result); return java; }  }
API { static String getJvmLocation() { String java = System.getProperties().getProperty("java.home") + File.separator + "bin" + File.separator + "java"; if (PlatformUtils.isWindows()) { java += ".exe"; java = java.replace("\\", "/"); } File result = new File(java); require(result.isFile(), "Expected to find java at %s but didn't", result); return java; }  @NotNull static List<String> generateCDepCall(
      @NotNull GeneratorEnvironment environment,
      String ... args); }
API { static String getJvmLocation() { String java = System.getProperties().getProperty("java.home") + File.separator + "bin" + File.separator + "java"; if (PlatformUtils.isWindows()) { java += ".exe"; java = java.replace("\\", "/"); } File result = new File(java); require(result.isFile(), "Expected to find java at %s but didn't", result); return java; }  @NotNull static List<String> generateCDepCall(
      @NotNull GeneratorEnvironment environment,
      String ... args);  }