Properties properties=new Properties(); InputStream is = properties.getClass().getResourceAsStream("/project.properties"); try { properties.load(is); System.out.println(properties.getProperty("threadTrigger")); } catch (IOException e) { throw new RuntimeException(e); }finally{ } }