Paste Snippet
Try this in Eclipse Ganymede (one of the variants that includes the Java development tools): Copy this text: System.out.println(new Date()); Bring the Package Explorer into focus (make sure that none of the existing projects is highlighted) and select “Paste” from the context menu. JDT will build the project, package, class...