@SuppressWarnings("resource")
	public static JarEntry[] getJarEntriesIn(File jarFile)
	{
		final ArrayList<JarEntry> entries = new ArrayList<JarEntry>();

		if (!jarFile.toString().endsWith(".jar")) throw new IllegalArgumentException("File isn't a Jar! " + jarFile.toString());

		try
		{
			final JarFile jar = new JarFile(jarFile);
			final Enumeration<? extends JarEntry> jes = jar.entries();

			while (jes.hasMoreElements())
			{
				entries.add(jes.nextElement());
			}
		}
		catch (final IOException e)
		{
			System.err.println("Error Loading Jar Entries from " + jarFile.toString());
			e.printStackTrace();
		}

		return entries.toArray(new JarEntry[0]);
	}