class NumericalJDK7
{
	public static void main (String[] args) throws java.lang.Exception
	{
		int x = 10_000_000;
		System.out.println(x);
		double y = 2_3.12_34;
		System.out.println(y);
	}
}

Create NumericalJDK7.java