}
public void testgetJdkInformations()
throws Exception
{
InstallationService installationService = (InstallationService) lookup( InstallationService.ROLE, "default" );
String javaHome = System.getenv( "JAVA_HOME" );
if ( StringUtils.isEmpty( javaHome ) )
{
javaHome = System.getProperty( "java.home" );
}
Installation installation = new Installation();
installation.setName( "test" );
installation.setType( InstallationService.JDK_TYPE );
installation.setVarValue( javaHome );
List<String> infos = installationService.getJdkInformations( installation );
assertNotNull( infos );
}