There are some really good tools to create a launcher for java applications. Both in Eclipse, IntelliJ and NetBeans you can export your app and have a launcher written for you.
What operating system? Especially the version.
Exactly where was Ant installed? Full path, please!
Is the PC in a corporate environment?
Have you checked the anti-virus software to see if it quaranteened the JARs?
The array list in itself are backed by an array of what type you are allocating.
al.add("Lorem ipsum")/alloc(12 x 2 bytes) put the ref to that memory into the array.
It is impossible to know how much memory the Strings (or objects) will take when you create the Array.
If bake a Tau (2 pie) and give them to you, they are still taking up the same space, but you have to hold them in your hands and my reference to them are no more.
will also consume the same amount of memory since we assigned the value( since Java passes by value) which we got from the method getEmployeeDetails() to it ?.empDet