Java Properties User.dir get current working directory

Source: Internet
Author: User

public class Test { public staticvoid main(String[] args) { Properties props = System.getProperties(); props.list(System.out); }}

Java.version Java: Runtime Environment version
Java.vendor Java: Runtime Environment Vendor
URL of the Java.vendor.url:Java vendor
Java.home:Java installation directory
Java.vm.specification.version:Java Virtual Machine Specification version
Java.vm.specification.vendor:Java Virtual Machine Specification Provider
Java.vm.specification.name:Java Virtual Machine Specification Name
Java.vm.version:Java Virtual Machine Implementation version
Java.vm.vendor:Java Virtual Machine Implementation Provider
Java.vm.name:Java Virtual Machine Implementation name
Java.specification.version:Java Runtime Environment Specification version
Java.specification.vendor:Java Runtime Environment Specification supplier
Java.specification.name:Java Runtime Environment Specification name
Java.class.version:Java Class Format version number
Java.class.path:Java class Path
Java.library.path: List of paths to search when loading libraries
Java.io.tmpdir: Default Temporary file path
Java.compiler: The name of the JIT compiler to use
Java.ext.dirs: Path to one or more extended directories
Os.name: Name of the operating system
Os.arch: Architecture of the operating system
Os.version: Version of the operating system
File.separator: File delimiter
Path.separator: Path delimiter
Line.separator: Line delimiter
User.Name: User's account name
User.home: User's home directory
User.dir: User's current working directory

Java Properties User.dir get current working directory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.