Documentation/admin-guide/java.rst

Source file repositories/reference/linux-study-clean/Documentation/admin-guide/java.rst

File Facts

System
Linux kernel
Corpus path
Documentation/admin-guide/java.rst
Extension
.rst
Size
11185 bytes
Lines
424
Domain
Support Tooling And Documentation
Bucket
Documentation
Inferred role
Support Tooling And Documentation: documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

public static void main(String args[]) {
			System.out.println("Hello World!");
		}
	}

Now compile the application with::

	javac HelloWorld.java

Set the executable permissions of the binary file, with::

	chmod 755 HelloWorld.class

And then execute it::

	./HelloWorld.class


To execute Java Jar files, simple chmod the ``*.jar`` files to include
the execution bit, then just do::

       ./Application.jar


To execute Java Applets, simple chmod the ``*.html`` files to include
the execution bit, then just do::

	./Applet.html


originally by Brian A. Lantz, brian@lantz.com
heavily edited for binfmt_misc by Richard Günther
new scripts by Colin J. Watson <cjw44@cam.ac.uk>
added executable Jar file support by Kurt Huwig <kurt@iku-netz.de>

Annotation

Implementation Notes