Vanilla Java

Archived

This page has been archived and will receive no further updates.

basics

compiling java source files (.java)

javac FILE.java

running compiled java source files (.class)

java FILE

including jar files

use -cp

Ex:

javac -cp ".:unboundid-ldapsdk-se.jar" ldap.java
java -cp ".:unboundid-ldapsdk-se.jar" ldap

misc

System.out.println("Weighted random is " + result);