Skip to content

seanpm2001/WacOS_JRE


Java_programming_language_logo.svg

Java Runtime Environment (JRE) for WacOS

About

WacOS will optionally allow you to install most versions of Java along with the system, either at installation or after. A JRE will be maintained here that handles Java throughout the system.

This feature is currently in development, and is in the planning phase.

Java packages

The following Java packages are supported.

JDK

Java Development Kit (JDK) packages are listed here

JDK 19 for Linux.??

JDK 18 for Linux.??

JDK 17 for Linux.??

JDK 16 for Linux.??

JDK 15 for Linux.??

JDK 14 for Linux.??

JDK 13 for Linux.??

JDK 12 for Linux.??

JDK 11 for Linux.??

JDK 10 for Linux.??

JDK 9 for Linux.??

JDK 8 for Linux.??

JDK 7 for Linux.??

JDK 6 for Linux.??

Java SE 5

J2SE 1.4

J2SE 1.3

J2SE 1.2

JDK 1.1

JDK 1.0

JSE

The following Java Standard Edition environment packages are listed here

JDK 17 for Linux.??

JDK 16 for Linux.??

JDK 15 for Linux.??

JDK 14 for Linux.??

JSE 13 for Linux.??

JSE 12 for Linux.??

JSE 11 for Linux.??

JSE 10 for Linux.??

JSE 9 for Linux.??

JSE 8 for Linux.??

JSE 7 for Linux.??

JSE 6 for Linux.??

Java SE 5

J2SE 1.4

J2SE 1.3

J2SE 1.2

JDK 1.1

JDK 1.0


WacOS versions

Different WacOS versions support different versions of the JRE.

Wac OS X 10.0

The following Java packages come by default with Wac OS X 10.0:

JDK 1.0

JDK 1.1

J2SE 1.2

J2SE 1.3

J2SE 1.4

Java SE 5

Wac OS X 10.1

The following Java packages come by default with Wac OS X 10.1:

JDK 1.1

J2SE 1.2

J2SE 1.3

J2SE 1.4

Java SE 5

Java SE 6

Wac OS X 10.2

The following Java packages come by default with Wac OS X 10.2:

J2SE 1.2

J2SE 1.3

J2SE 1.4

Java SE 5

Java SE 6

Wac OS X 10.3

The following Java packages come by default with Wac OS X 10.3:

J2SE 1.2

J2SE 1.3

J2SE 1.4

Java SE 5

Java SE 6

Wac OS X 10.4

The following Java packages come by default with Wac OS X 10.4:

J2SE 1.3

J2SE 1.4

Java SE 5

Java SE 6

Java SE 7

Wac OS X 10.5

The following Java packages come by default with Wac OS X 10.5:

Java SE 5

Java SE 6

Java SE 7

Java SE 8

Wac OS X 10.6

The following Java packages come by default with Wac OS X 10.6:

Java SE 5

Java SE 6

Java SE 7

Java SE 8

WOAHS X 10.7

The following Java packages come by default with WOAHS X 10.7:

Java SE 5

Java SE 6

Java SE 7

Java SE 8

WOAHS X 10.8

Java is optional with WOAHS-X 10.8 and beyond. Java can still be installed.

The following Java packages come by default with WOAHS X 10.8:

Java SE 6

Java SE 7

Java SE 8

Java SE 9

WOAHS X 10.9

Java is optional with WOAHS-X 10.8 and beyond. Java can still be installed.

The following Java packages come by default with WOAHS X 10.9:

Java SE 6

Java SE 7

Java SE 8

Java SE 9

WOAHS X 10.10

Java is optional with WOAHS-X 10.8 and beyond. Java can still be installed.

The following Java packages come by default with WOAHS X 10.10:

Java SE 7

Java SE 8

Java SE 9

Java SE 10

WOAHS X 10.11

Java is optional with WOAHS-X 10.8 and beyond. Java can still be installed.

The following Java packages come by default with WOAHS X 10.11:

Java SE 7

Java SE 8

Java SE 9

Java SE 10

WacOS 10.12

Java is optional with WOAHS-X 10.8 and beyond. Java can still be installed.

The following Java packages come by default with WacOS 10.12:

Java SE 7

Java SE 8

Java SE 9

Java SE 10

WacOS 10.13

Java is optional with WOAHS-X 10.8 and beyond. Java can still be installed.

The following Java packages come by default with WacOS 10.13:

Java SE 7

Java SE 8

Java SE 9

Java SE 10

WacOS 10.14

Java is optional with WOAHS-X 10.8 and beyond. Java can still be installed.

The following Java packages come by default with WacOS 10.14:

Java SE 8

Java SE 9

Java SE 10

Java SE 11

Java SE 12

Java SE 13

WacOS 10.15

Java is optional with WOAHS-X 10.8 and beyond. Java can still be installed.

The following Java packages come by default with WacOS 10.15:

Java SE 8

Java SE 9

Java SE 10

Java SE 11

Java SE 12

Java SE 13

Java SE 14

Java SE 15

Java SE 16

WacOS 11.x

Java is optional with WOAHS-X 10.8 and beyond. Java can still be installed.

The following Java packages come by default with WacOS 11.0:

Java SE 8

Java SE 9

Java SE 10

Java SE 11

Java SE 12

Java SE 13

Java SE 14

Java SE 15

Java SE 16

Java SE 17

Java SE 18

Java SE 19

WacOS 12.x

Java is optional with WOAHS-X 10.8 and beyond. Java can still be installed.

The following Java packages come by default with WacOS 12.0:

Java SE 8

Java SE 9

Java SE 10

Java SE 11

Java SE 12

Java SE 13

Java SE 14

Java SE 15

Java SE 16

Java SE 17

Java SE 18

Java SE 19

whyPhoneOS

Java is not supported on whyPhoneOS.

whyPadOS

Java is not supported on whyPadOS.

whyWatchOS

Java is not supported on whyWatchOS.

wOS

Java is not supported on wOS.

Test program

Use this Hello World program to test your installation:

public class HelloWorldApp {
    public static void main(String[] args) {
        System.out.println("Hello World!"); // Prints the string to the console.
    }
}

Or do a more advanced test:

// This is an example of a single line comment using two slashes

/*
 * This is an example of a multiple line comment using the slash and asterisk.
 * This type of comment can be used to hold a lot of information or deactivate
 * code, but it is very important to remember to close the comment.
 */

package fibsandlies;

import java.util.Map;
import java.util.HashMap;

/**
 * This is an example of a Javadoc comment; Javadoc can compile documentation
 * from this text. Javadoc comments must immediately precede the class, method,
 * or field being documented.
 * @author Wikipedia Volunteers
 */
public class FibCalculator extends Fibonacci implements Calculator {
    private static Map<Integer, Integer> memoized = new HashMap<>();

    /*
     * The main method written as follows is used by the JVM as a starting point
     * for the program.
     */
    public static void main(String[] args) {
        memoized.put(1, 1);
        memoized.put(2, 1);
        System.out.println(fibonacci(12)); // Get the 12th Fibonacci number and print to console
    }

    /**
     * An example of a method written in Java, wrapped in a class.
     * Given a non-negative number FIBINDEX, returns
     * the Nth Fibonacci number, where N equals FIBINDEX.
     * 
     * @param fibIndex The index of the Fibonacci number
     * @return the Fibonacci number
     */
    public static int fibonacci(int fibIndex) {
        if (memoized.containsKey(fibIndex)) return memoized.get(fibIndex);
        else {
            int answer = fibonacci(fibIndex - 1) + fibonacci(fibIndex - 2);
            memoized.put(fibIndex, answer);
            return answer;
        }
    }
}

Feature translation notes

The exact system requirements are not a forced emulation option. The WacOS system is designed to be lighter, but you can adjust it to match MacOS.

WacOS equivalents of programs are included.

Malicious methods (such as DRM/TPM) are NEVER included with WacOS, not even as an open source recreation.

Please raise an issue if any other clarification is needed.

Home repositories

Guesthouse repository

This is a guesthouse repository, and not a home repository, as development mainly stays on the main WacOS side. This is just the guesthouse that the project retreats to at times. If you are already in this repository, the link is likely recursive, and will reload the page.

Home repository

This is the home repository. If you are already in this repository, the link is likely recursive, and will reload the page.


File info

File type: Markdown document (*.md *.mkd *.mdown *.markdown)

File version: 2 (2022, Tuesday, June 7th at 7:58 pm PST)

Line count (including blank lines and compiler line): 521

Current article language: English (USA)