Ok, I only read to page 4, so I hope no one posted this. Anyway, here is printing 1-10 using JavaScript from Java.

public class Main
{
public static void main(String[] args)
{...