Description: Online basically for this value of the settings are divided into two sides, Windows and Linux pie, Windows does not say, Linux will only say set Ld_library_path can, but this way in Java 8 is a wrong setting, especially cross-platform settings, Will almost be ineffective. So now the new version set this value to pay attention to a few points:
1. Operating system
2. Version of Java
First, the previous version of Java 8 (Java 7)
- Windows:path
- Linux:ld_library_path
- Mac:dyld_library_path
Ii. version for Java 8
- Windows:path
- Linux:ld_library_path
- Mac:java_library_path
Summary: It can be seen in the above settings, there is a noticeable change in the setting is the Mac, from Dyld_library_path to Java_library_path, which is a silent setting.
Other:
1, if you set the environment variable, the idea or command line run invalid situation, restart the idea test, many times it is not effective.
2. Examples of setting environment variables in Unix-like systems:
Export Ld_library_path= $LD _library_path:~/library/java/extensions:/library/java/extensions:/network/library/ Java/extensions
Reference:
Https://stackoverflow.com/questions/20038789/default-java-library-path
Set the value of the Java.library.path (mac/linux/windows)