5 min Kotlin and AdopOpenJDK and make jar (Extended import java.util.*)

Files after download Download AdoptOpenJDK AdoptOpenJDK – Open source, prebuilt OpenJDK binaries OpenJDK11U-jdk_x64_windows_hotspot_11.0.13_8.msi On install:Add to PATH, Set JAVA_HOME on local HD. C:\Users\username>java -versionopenjdk version “11.0.13” 2021-10-19OpenJDK Runtime Environment Temurin-11.0.13+8 (build 11.0.13+8)OpenJDK 64-Bit Server VM Temurin-11.0.13+8 (build 11.0.13+8, mixed mode Download Kotlin zip Release Kotlin 1.6.10 · JetBrains/kotlin (github.com) kotlin-compiler-1.6.10.zip unzip it somewhere C:\giti2021\Kotlins\kotlin-compiler-1.6.10\kotlinc Add […]

Kotlin and AdoptOpenJDK with compile for jar. (Extended with Eclipse and AdoptOpenJDK)

AdoptOpenJDK – Open source, prebuilt OpenJDK binaries OpenJDK11U-jdk_x64_windows_hotspot_11.0.13_8.msi Add to PATH, Set JAVA_HOME on local HD. Release Kotlin 1.6.10 · JetBrains/kotlin (github.com) Download Kotlin Download and unzip it C:\giti2021\Kotlins\kotlin-compiler-1.6.10\kotlinc Click on the Edit environment variables for your account shortcut. Enter “KOTLIN_HOME” as variable name. Enter the [KOTLIN_INSTALL_DIR] as variable value. Next, we need to configure the PATH […]

Passing JVM arguments to Tomcat when running as a service

java – Passing JVM arguments to Tomcat when running as a service? – Stack Overflow In your Tomcat /bin folder, you should have a tomcat5w.exe admin app (or in later versions tomcat6w.ex, tomcat8w.exe, etc). Go to the Java tab and add the args in the “Java Options:” box.

OpenJDK and Oracle JDK

What now with Kotlin and JVM: “Oracle has announced that, effective January 2019, Java SE 8 public updates will no longer be available for “Business, Commercial or Production use” without a commercial license.” https://www.oracle.com/technetwork/java/java-se-support-roadmap.html From jetbrains: “We are happy to announce the first Technology Preview of Kotlin/Native that compiles Kotlin directly to machine code. The […]

A loganalyzer with Kotlin-native basic

https://kotlinlang.org/docs/reference/ If you have a basic Kotlin/Native Application good, if not look at the tutorial here: Basic Kotlin/Native Application Getting started Basics Classes and objects Functions and lambdas Etc

Basic Kotlin/Native Application

https://kotlinlang.org/docs/tutorials/native/basic-kotlin-native-app.html Obtaining the compiler Kotlin/Native is available for macOS, Linux and Windows. Depending on the operating system we’re working on, we’ll need to download the correct compiler. While cross-platform compilation is possible (i.e. using one platform to compile for another), in this first tutorial we’re going to compile for the same operating system we’re running […]

Compile Kotlin and run jar from command line

Compile Kotlin and run jar Kotlin: Kotlin is a statically typed programming language that runs on the Java virtual machine and also can be compiled to JavaScript source code or use the LLVM compiler infrastructure. It is sponsored and developed by JetBrains. While the syntax is not compatible with Java, the JVM implementation of the […]