Java. Library. Path settings before Java main function running

Source: Internet
Author: User

Java. Library. Path settings before Java main function running

 

 

Add in VM arguments

-Djava. Library. Path = "C:/progra ~ 1/shared /"

 

Use System. getproperty ("Java. Library. Path"); To View

  1. System. getproperty () Parameters
  2. Java. Version Java Runtime Environment version
  3. Java. Vendor Java Runtime Environment vendor
  4. Java. Vendor. url Java vendor URL
  5. Java. Home Java installation directory
  6. Java. VM. Specification. Version Java Virtual Machine Specification Version
  7. Java. VM. Specification. Vendor Java virtual machine specification vendor
  8. Java. VM. Specification. Name Java virtual machine specification name
  9. Java. VM. Version Java Virtual Machine implementation version
  10. Java. VM. Vendor Java Virtual Machine implementation vendor
  11. Java. VM. Name Java Virtual Machine implementation name
  12. Java. Specification. Version Java Runtime Environment Specification Version
  13. Java. Specification. Vendor Java Runtime Environment specification vendor
  14. Java. Specification. Name Java Runtime Environment specification name
  15. Java.Class. Version JavaClassFormat version number
  16. Java.Class. Path JavaClassPath
  17. Java. Library. Path list of paths to search when loading Libraries
  18. Java. Io. tmpdir default temp file path
  19. Java. compiler name of JIT compiler to use
  20. Java. Ext. dirs path of extension directory or directories
  21. OS. Name operating system name
  22. OS. Arch Operating System Architecture
  23. OS. Version operating system version
  24. File. Separator file separator ("/" on UNIX)
  25. Path. Separator path separator (":" On UNIX)
  26. Line. Separator line separator ("/N" on UNIX)
  27. User. Name User's account name
  28. User. Home user's home directory
  29. User. dir user's 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.