Where is Java. Library. Path?

Source: Internet
Author: User

Compile and run

Code:
    1. Public ClassHelloworld {
    2. Public Static VoidMain (string ARGs []) {
    3. System. Out. println ("Hello! World");
    4. System. Out. println (system. getproperty ("Java. Library. path"));
    5. }
    6. }

Result:

Hello! World
C:/program files/Java/jdk1.6.0 _ 17/bin ;.; c:/Windows/Sun/Java/bin; C:/Windows/system32; C:/windows; C:/Windows/system32; C:/windows; C: /Windows/system32/WBEM; C:/program files/common files/thunder Network/Kankan/codecs; C:/program files/tortoisesvn/bin; C: /program files/Microsoft SQL Server/80/tools/binn
 

 

----------------

Path, which must be called during Java CompilationProgram(Such as Java and javac.

Classpath class path. When compiling and running a Java program, if you call other classes, find the desired class in classpath.

______________________________

Generally, this path is the bin directory of the JRE directory under JDK referenced by your Java project. Java/JDK/JRE/bin.

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.