/* * Copyright (c) 2024 Christian Stein * Licensed under the Universal Permissive License v 1.0 -> https://opensource.org/license/upl */ System.out.printf( """ ___ ___ ___ ___ /\\ \\ /\\ \\ /\\ \\ /\\__\\ /::\\ \\ /::\\ \\ /::\\ \\ /:/__/_ /::\\:\\__\\/::\\:\\__\\/:/\\:\\__\\/::\\/\\__\\ \\:\\::/ /\\/\\::/ /\\:\\ \\/__/\\/\\::/ / Java %s \\::/ / /:/ / \\:\\__\\ /:/ / %s \\/__/ \\/__/ \\/__/ \\/__/ %s """, Runtime.version(), System.getProperty("os.name"), Path.of("").toUri() ) System.out.println("| Source Bach.java from https://src.bach.run/Bach.java ...") /open https://src.bach.run/Bach.java int code = 0 try { Bach.init(); } catch(Throwable throwable) { System.err.println(throwable); code = 1; } System.out.println("| Installation of Bach finished with exit code " + code) /exit code