com. sun. JNA and net java. What is the difference between dev.jna?
•
Java
I'm looking at the central Maven repository and looking at net java. Dev.jna and com sun. jna groupId for JNA. JNA's GitHub, using COM sun. The JNA path as a directory in the source code indicates that 4.1 has been pushed into the repository as part of the comments, but I see net. Net in 4.1 java. Dev.jna and com sun. JNA in 3.0
Obviously, I want to use JNA, but I'm confused What happened to this package?
Solution
The correct version 4.1 to use is net java. dev.jna:
<dependency> <groupId>net.java.dev.jna</groupId> <artifactId>jna</artifactId> <version>4.1.0</version> </dependency>
The package name still seems to be com sun. JNA, but if you view in the POM file, the Maven coordinate has become net java. dev.jna:jna.
Based on MVN outcome results, they seem to have existed for quite a long time
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码