+1 (980) 272-1787

Firewall is blocking etsviewer.jar from downloading

If your firewall is not letting you download etsviewer.jar, here is an easy way to get it:

1. Download etsviewer.txt file and save it as etsviewer.txt on your machine. This text file is produced by base 64 encoding the etsviewer.jar file. If it opens up in the browser, do a right click on the text and select "Save As".

2. Run the following Java code to convert the text file into a jar file:
import java.io.*;
import java.nio.file.*;
public class ETSViewerTxtToJar {
    public static void main(String[] args) throws IOException {
        byte[] data = Files.readAllBytes(Paths.get("etsviewer.txt"));
        data = java.util.Base64.getDecoder().decode(data);
        Files.write(Paths.get("etsviewer.jar"), data, new OpenOption[]{StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING});
The above code simply decodes the base 64 encoded text file and saves it as a jar file. You can copy the above code into a java file (or download it ETSViewerTxtToJar.java), compile it, and run it from the same directory where you saved the etsviewer.txt file.